struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Kersten" <Kers...@atacama.de>
Subject set a html:checkbox checked
Date Thu, 21 Nov 2002 16:33:51 GMT
Hi,

how can I set a checkbox checked during creation in the JSP. In HTML I would
do it like this:

  <input type="checkbox" name="mycheck" checked>

But I can't find that for the struts tag:

  <html:checkbox property="mycheck">check it</html:ckeckbox>

And can I use the value "true" to set a checkbox checked. I get only a
"true" from my bean and not a "checked" or something else.

ciao Oliver.



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message