Hello, My new to JSF, I have a following problem On my form have a drop down box with few values. When I post the form I store value of droop down items in DB. While retrieveing I want to display the label of drop down and the actual value. for eg. A drop down have elements Daily and Weekly with corresponding values 1 and 7. I want to display Daily in case of 1 in table and so on..
Please help. Thank you
posted 10 years ago
you basically use selectonemenu it contains attributes like value and label value is used for to store actual value and label is used for to display the actual value. please send your code also thank you bye bye.