Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retaining checked value in selectBooleanCheckbox on enabling

Jay Kris
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic