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 Add value if checkbox selected 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 "Add value if checkbox selected" Watch "Add value if checkbox selected" New topic
Author

Add value if checkbox selected

Tatiana Schineider
Greenhorn

Joined: Aug 06, 2010
Posts: 16
Hi,

I have a checkbox in JSF code.

Implent need a code as follows:

When the checkbox is selected, I have to add u$ 10.00 in total value of
purchase.

JSF code below



JAVA code - Buy.java



Can someone help me with this?

thanks


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add value if checkbox selected
 
Similar Threads
Input row select on data table does not get called
Which Package to Import to Use FacesContext's getRequestMap()?
How to use database row values to generate additional columns in datatable
JSF 1.2 Inner Datatable selectBooleanCheckBox - Selected options wrongly reflected in the Bean
boolean property in dataTable