Hi, how can I use the check box group in JSF to select the items of database and generate a list in
Posted
by Alexzzy
on Stack Overflow
See other posts from Stack Overflow
or by Alexzzy
Published on 2009-07-11T05:54:40Z
Indexed on
2010/04/12
15:43 UTC
Read the original article
Hit count: 261
jsf
I am using netbean and JSF to do my project, recently I encountered a problem that confused me.
The question: There is a set of check box groups that identify the artifacts from the nature, creator, period and school. And all the artifacts are stored in a table of database. I would like to select the items by nature or creator or something like that, and generate a list for the items selected in the next page.
There are some tables of database for artifacts, nature, creators and school, and the type_ID(this is the nature), creator_ID, school_ID are the foreign keys in artifacts table.
I have bound the tables with respective check boxes. For example, if I want to select nature is painting, creator is Davinci, school is Italian Renaissance, and then I click Search button. It will go to next page that generate a list of artifacts about all Italian Renaissance paintings created by Davinci.
How can I do that? I was confused by JSF, but I have to use JSF to do my project. Anyone can help me plz??? Thank you very very much !!!!!!!
© Stack Overflow or respective owner