well even with what I had originally, my expression should invalidate the
data if the string less than 10, if you see what I mean. 

the problem actually seems to be that the expression does nothing,
regardless of what the actual expression is. I have tried:

string.length() < 10
string.length() > 10
string.length() == 1
string.length() != 1

and all sorts of variations in between, just to get an expression to do
anything. if I simply use:

string.length()

I get a message saying something like: 'returned N when boolean expected'
where N is the string length. so I know that that part of the expression is
fine, just the minute I do anything more complex: nothing. no message, no
error, no validation.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pat
Lightbody
Sent: Tuesday, 10 June 2003 5:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Expression Validation


Have you tried string.length() < 10? The validation expression stuff is a
little funky.. sometime I think opposite of what it is (true validates,
false doesn't -- or vice-versa).

-Pat

----- Original Message -----
From: "Toby Hede" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 9:11 PM
Subject: [OS-webwork] Expression Validation


> I am still having problems with expression valdiation.
>
> basically my 'string.length() > 10' expression doesn't work at all. I 
> can access string.length() ok (which returns a non-boolean error), but 
> the minute I have an actual boolean expression nothing happens.
>
> should I place a bug report?
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The 
> best thread debugger on the planet. Designed with thread debugging 
> features you've never dreamed of, try TotalView 6 free at 
> www.etnus.com. _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to