The XWorkBasicConverter now uses Boolean.valueOf() to convert Strings to booleans. So only "true" is converted to the boolean true. I make my action properties take a String value and no matter what the parameter is, set the instance variable to true.
public void setCancel(String value) { _cancel = true; } John. ----- Original Message ----- From: "Ben Hall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 14, 2003 1:03 PM Subject: [OS-webwork] Multiple submit buttons from forms > I used to have this working but it doesn't seem to anymore. > I had a look at: > > http://wiki.opensymphony.com/space/Multiple+Submit+Buttons > http://wiki.opensymphony.com/space/Webwork+2+HTML+form+buttons+Howto > > I've followed all their instructions but everytime my boolean setter gets > called, the value is always false. > I noticed my url has submit=Submit in it - is there a problem converting > this value in to a boolean ? > > I'm using a newish version from CVS (taken earlier this week). > > Does anyone else have this working with a current version ? > > Thanks, > Ben. > > > > > > > > > > ___________________________________________________________ > HPD Software Ltd. - Helping Business Finance Business > Email terms and conditions: www.hpdsoftware.com/disclaimer > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork