File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes t:selectBooleancheckbox data from datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "t:selectBooleancheckbox data from datatable" Watch "t:selectBooleancheckbox data from datatable" New topic

t:selectBooleancheckbox data from datatable

Praful Sinha

Joined: Jan 25, 2008
Posts: 18
Hi All,

I have Index page which contains datatable with list of data along with select(column) option using selectboolencheckbox component in each row. How can i get the value of each row selected boolean option of datatable in my Managed bean when ever i select a commondbutton option below datatable index.

Please help me i am in need.

Thanks and Regards,
Praful Sinha
K Thilak

Joined: Oct 06, 2006
Posts: 3
Declare one boolean variable in your managed bean.
Then set that variable in the selectboolencheckbox's value attribute(like setting other column values).
Now, you got the selected row value(boolean variable value set to true)in your managed bean.
I agree. Here's the link:
subject: t:selectBooleancheckbox data from datatable
It's not a secret anymore!