• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

h:selectBooleanCheckbox

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic