File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes h:selectBooleanCheckbox Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "h:selectBooleanCheckbox" Watch "h:selectBooleanCheckbox" New topic
Author

h:selectBooleanCheckbox

marius batrinu
Greenhorn

Joined: Sep 16, 2008
Posts: 1
Hi All,

I have the following environment:

EJB-persistence class: Proprietati
EJB-facade: ProrietatiBean

JSF-backingbean: ProprietatiJsfBean

using the DataTable I display a list of Proprietati. The first column in the DataTable is a selectBooleanCheckbox then follows the properties of Proprietati.

<checkbox> <proprietati.id> <proprietati.name> ... etc.

so there is no Boolean property for Proprietati the checkbox takes the value from the backing bean for the JSF page.

I also have a button for select all and select none.

The problem is when I check a couple of rows in the table don't know how to read in the backing bean which object was checked in the interface.

Any help is much appreciated.

Thanks,
Marius
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: h:selectBooleanCheckbox
 
Similar Threads
Custom/ Extended DataTable Design
h:datatable+selctonemenu problem
inserting several rows in DB using h:datatable
Which Package to Import to Use FacesContext's getRequestMap()?
How to get selected records from Data Table in JSF