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 strut validation help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "strut validation help" Watch "strut validation help" New topic

strut validation help

roy joseph

Joined: Dec 26, 2003
Posts: 25
what's wrong with this code? it wont validate!?

be annoying .. Aku Soku Zan
roy joseph

Joined: Dec 26, 2003
Posts: 25
the validwhen is the one that's where im having issues with. the mask is ok. If i remove validwhen then mask is called and everything works.

What i want is that the studentNo and lastName are dependent on the the string value of searchBy.

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Are you using javascript or server validation?
Also, which version of Struts are you using?

A good workman is known by his tools.
I agree. Here's the link:
subject: strut validation help
jQuery in Action, 3rd edition