Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

my validwhen validator won't work

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic