This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Concatenate 3 conditions in validation.xml
It's not a secret anymore!