This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
Retaining checked value in selectBooleanCheckbox on enabling
posted 5 years ago
Am using the jsf selectBooleanCheckbox in my screen.
When I click on a button say 'Go to Home', a validation message is displayed in the same screen with the checkbox disabled with Cancel, Ok buttons.
When I select Cancel, my page is displayed again with the checkbox enabled.
The issue I am facing is that when I select the checkbox and then click on 'Go to Home' and 'Cancel', the screen is displayed with the checkbox enabled and unchecked.
How do I ensure that the checkbox remains checked.