I want to have a checkbox use the HTML checked attribute. I want to do this
without referring to a bean or a property or a value, separate from the
Struts architecture (except that I still want to have Struts fill in my form
values). Is it possible?

I have tried many things. In the form object, I set the field's default
value to "true", but this meant that the field was always checked - if the
form was submitted with the box unchecked and there was an error, the box
would be checked again when the user returned to the form.

I cannot figure out how to have a box selected the 1st time the page loads
and then use the user's setting after that (without getting tangled up in
the form object).

Any help?

thx
andy



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to