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 jsf checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf checkbox" Watch "jsf checkbox" New topic
Author

jsf checkbox

jayashri hosur
Greenhorn

Joined: Jun 05, 2008
Posts: 8
hi,
in my jsp i have more than one checkbox buttons if user select all those, then only i want to go to next page otherwise i want to display message all are mendatory .i did the application but if i select one or less also it is going
to nextpage
so help me please
Venkat Sadasivam
Ranch Hand

Joined: May 10, 2008
Posts: 139
Hope the below url provide solution to your problem.
http://balusc.blogspot.com/search/label/Validator


“Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ”<br>
-Martin Fowler
Bhaskar GR
Greenhorn

Joined: Jun 13, 2008
Posts: 28
Hi ,
In jsp page every checkbox you have to call one actionListener method.
In backing bean you have to veryfy every actionListener method.If it checked or not.
<h:column>
<h:selectBooleanCheckbox value="#{jobs.marked}">

<a4j:support event="onclick" actionListener="#{tableData.rowSelected}" reRender="navin"/>
</h:selectBooleanCheckbox>
</h:column>

like this every checkBox you have to call method in backing bean
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf checkbox
 
Similar Threads
checkbox question
jsp
how to get values from checkbox
select and unselecting checkboxes based on clicking a check box
how to put images on displaytags column header????