It's not a secret anymore!
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "h:booleanCheckbox" Watch "h:booleanCheckbox" New topic


JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303

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.
I agree. Here's the link:
subject: h:booleanCheckbox
It's not a secret anymore!