Re: Problem setting intial value of checkbox to check

2004-07-23 Thread Erik Weber
I tried my advice and it worked. In my reset method, I normally set my checkbox form bean attributes to "false". I changed one to "true" and the checkbox now comes up checked by default. Hope that helps, Erik Erik Weber wrote: I think setting the value to "true" just means that "true" is what

Re: Problem setting intial value of checkbox to check

2004-07-23 Thread Erik Weber
I think setting the value to "true" just means that "true" is what will be sent to the server if the checkbox is checked when the form submits. I *think* you would "turn on" the checkbox in the reset method of your form bean, if I am not mistaken . . . Not 100% sure, Erik Joe Argiro wrote: Hi

Problem setting intial value of checkbox to check

2004-07-23 Thread Joe Argiro
Hi we're migrating our code to 1.1 I've got a problem with the html:checkbox. (which used to work in 1.02 ) I need to set the initial value to "checked" but it no longer seems to work in 1.1 what is the correct way to do this now thanks! --joe --