i can get length now using title.length(), but my EL tests don't seem to
work.
if i use this:
title.length()
i get a message saying 'Got result of N when trying to get boolean'
where N is the length.
however, if I use a simple OGNL expression:
title.length() == 10
i get nothing. no error, n
Try title.length() > 10
The expression validator is a little confusing at the moment, if the
expression is FALSE, it is invalid.
Cheers,
Mike
On 9/6/03 1:15 PM, "Toby Hede" ([EMAIL PROTECTED]) penned the
words:
> i tried escaping the <, but still get no validation on length - am i
> accessing t
i tried escaping the <, but still get no validation on length - am i
accessing the method correctly?
Mike Cannon-Brookes wrote:
Toby,
Because it's XML, you need to escape the < - ie <
Cheers,
Mike
On 9/6/03 12:03 PM, "Toby Hede" ([EMAIL PROTECTED]) penned the
words:
hi there again, i am attemp
Toby,
Because it's XML, you need to escape the < - ie <
Cheers,
Mike
On 9/6/03 12:03 PM, "Toby Hede" ([EMAIL PROTECTED]) penned the
words:
> hi there again, i am attempting to validate string length using XWork
> validation.
>
> i solved the problem using a custom validator, which i have attac
hi there again, i am attempting to validate string length using XWork
validation.
i solved the problem using a custom validator, which i have attached in
case anyone finds it useful ... feel free to roll it into xwork.
then i suddenly realised that i could possibly use the expression
validator