Link to home
Start Free TrialLog in
Avatar of Vakils
VakilsFlag for United States of America

asked on

Primefaces: How to display a variable that can take only 'Y' or 'N' or a boolean value.

I need to display a field in an xhtml that can only take 'Y' or 'N'. It could be drop down list or check box, where user selects the value. The original value should be displayed as per corresponding variable value in Managed Bean. That means if value is Y or true, the listbox or checkbox should be in that state.
ASKER CERTIFIED SOLUTION
Avatar of sajjadz
sajjadz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Vakils

ASKER

Thanks! Works.