Retaining checked value in selectBooleanCheckbox on enabling
posted 4 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.