This sounds like a bug if that is indeed the case... OGNL handles String->boolean conversion and should be doing it correctly, but it's possible we've got a bug. Please file this!
-Pat ----- Original Message ----- From: "Crofton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 10:28 AM Subject: [OS-webwork] Boolean property set by webwork2 If a parameter is set in ServletRequest, Does the boolean property in webwork2 action always be set with true? I also noticed that there is a good document illustrating this trick in wiki. Webwork2 HTML form buttons Howto Yes, it is really cool. But if my parameter's value is 'true' or 'false', I want the boolean property will be set correctly according the parameter's value. it's confused that the boolean property is always set with true. Crofton ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork