• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

my validwhen validator won't work

 
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
looking at the examples is confusing me more... I'm not sure if I've formed my tags well...



<field depends="validwhen" property="retypedPassword">
<arg0 key="errors.mismatch"/>
<var>
<var-name>test</var-name>
<var-value>(*this* == password) and (*this* != null)</var-value>
</var>
</field>




I'm using struts 1.2. I tried to skip this problem before because I was having a hard time figuring it out. But I have to deal with it again so I'm asking for help. Could anyone answer my prayers? Thanks!

[ January 26, 2006: Message edited by: Timothy Sam ]
[ January 26, 2006: Message edited by: Timothy Sam ]
 
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic