*
The moose likes Struts and the fly likes Concatenate 3 conditions in  validation.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Concatenate 3 conditions in  validation.xml" Watch "Concatenate 3 conditions in  validation.xml" New topic
Author

Concatenate 3 conditions in validation.xml

Navin Pillu
Ranch Hand

Joined: Apr 19, 2005
Posts: 103
Hello Everybody
In xml i need to concatenate 3 conditions. I'm doing it in the following way.


But it is throwing following error in the jsp file



ValidWhen Error for field ' groups[0].requiredCount' - line 1:162: expecting RPAREN, found 'or'



Can anybody tell whether we can write 3 conditions like this or not?
I tried removing field property=option but error is in the next field only.

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Concatenate 3 conditions in validation.xml
 
Similar Threads
ValidWhen problem in struts 1.3.10
validwhen returns required error messge
Concatinating 3 conditions
struts validation
Struts: validations using 'validwhen' in validation.xml