Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-213 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-213 Summary: Expressions in validation framework Type: Bug Status: Assigned Priority: Minor Project: WebWork Components: Component Management Versions: 2.0 Assignee: Patrick Lightbody Reporter: Toby Hede Created: Wed, 11 Jun 2003 8:58 AM Updated: Wed, 11 Jun 2003 8:58 AM Environment: Windows 2000, JDK 1.4.1, Tomcat 4.1.1 Description: my expressions do not appear to do anything when validating actions. i am attempting to validate string.length() <field-validator type="expression"> <param name="expression">string.length() < 10</param> <message>Title must be less than 10 characters long.</message> </field-validator> i have tried all sorts of expressions: 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. My other 'requiredstring' validations are fine, and I wrote a custom validator to handle this stuff in the interim. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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