I am working on a project where we are storing user selection in cart if the usre wants to delete the selected item. To achieve please assit me
how to achieve this by using an appropriate jsf componenet . I tried using <h:selectmanycheckbox > but couldnt achieve this.
If user see remove image and then user should be able to dlete that respective selected item so how to achieve this any suggestion will be welcome.
My cart uses a dataTable to display the items in the cart. A SelectOneCheckbox control for each item provides a way to indicate what item(s) to delete from the cart. You can also just put a "Delete" commandButton or commandLink in the item display row.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Thanks to all and pradeep , well you have undertsood correctly that is what I want to achieve,. I will implement as in my UI I need to delete services on the basis of their serviveid . User select services and delete selected selected services on the basis of service id so i will implement as you advise me.