> Right, so by default the boolean will equal
"false"... So when it sets => the "fieldvalue=test" it evaluates isTest()
and gets false, so false => becomes what you will pass if it is checked.
Change this to => "fieldValue=true" and it should do what you want, I
think.
thanks. it worked
-Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 10, 2004 3:41 PM
> To: [EMAIL PROTECTED]
> Subject: Spam:[OS-webwork] RE: Checkbox
>
>
> I have the get/set in my action, and when I check the
> checkbox
I have the get/set in my action, and when I check the checkbox and submit my
form, the following URL is generated:
http://localhost:8080/WebWork2/checkTest.action?test=false
, the URL should be: /checkTest.action?test=true
if I don´t check the checkbox and submit, the URL is:
http://localhost:8080