This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes my validwhen validator won't work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "my validwhen validator won Watch "my validwhen validator won New topic
Author

my validwhen validator won't work

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 751
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 ]

SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
 
Have you checked out Aspose?
 
subject: my validwhen validator won't work
 
It's not a secret anymore!