I think that's what I'm doing, but it isn't working.
Am I doing this wrong? (from my original post):
In my Action:
if (checkTheBox.equals("yes")) { //config. option, confirmed
working
regForm.setShutoff(true);
}
[Then it immediately forwards to the JSP.]
-----Original Message-----
From: kalpesh modi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 12:52 PM
To: Struts Users Mailing List
Subject: Re: Conditionally checking an html:checkbox field
Try the check condition in your action class and set/not set the
checkbox and then forward it to the JSP.
Hope this helps.
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]