permaculture playing cards*
The moose likes JSF and the fly likes h:booleanCheckbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "h:booleanCheckbox" Watch "h:booleanCheckbox" New topic
Author

h:booleanCheckbox

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
Hi,

I have a field in my form, which requires one checkbox. Depending on the value returned from the db, the checkbox shd be checked/unchecked.

When the form is loaded for an insert operation, then the checkbox should be checked by default. Any ideas, how this can be done.


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: h:booleanCheckbox
 
Similar Threads
h:selectBooleanCheckbox required validation
how show check box checked?
Remembering the radiobtn/checkbox state between jsp pages
checkbox-once clicked-always sends the value as true
disable checked checkbox