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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jsf checkbox