I'd look closer at your expression as it doesn't seem valid:
If it's always returning true, that implies the expression inside the CDATA
section is always false.
First I'd put the ! operand inside the CDATA section and use string quotes as
if you're comparing strings in java (not sure the la
Thanks Jeromy, Sorry, I did not provide enough detail.
Only Header Key value is numeric '-1' so first option can be ruled out for
me.
For rest of the values Key is ISO Code e.g. USA and Value is Country Name
e.g. 'United States'
Below expression is not working for me.
This condition is returni
If your keys are just numbers, perhaps you could use the Int Validator
0
http://struts.apache.org/2.x/docs/int-validator.html
Otherwise I'd try some variations of the expression. It's operating on
the getUser().getCountry() property of your action so the expression
(user.country == '-1
Hi, I need help for mandatory field validation for s:select.
I am trying to do client side xml validation.
jsp code for country list:
I tried with below validation code but it is not working.. Not sure what
will be other approach..
Thanks
4 matches
Mail list logo