File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Concatenate 3 conditions in  validation.xml" Watch "Concatenate 3 conditions in  validation.xml" New topic

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:
subject: Concatenate 3 conditions in validation.xml
It's not a secret anymore!