One of the ways is to create a static VO
These are the steps to achieve radio buttons for an attribute
These are the steps to achieve radio buttons for an attribute
- Create a static VO and define the attributes(For eg. Primary Key,Data Value & Display Value)
- Provide the Static Values for the VO
- Make this VO as View Accessor to a VO where we want to use it for an attribute as an LOV
- Drag the VO attribute on to the jsff or jspx page as radio button. Here you can select what value to display and what value to commit to the data base
- SelectOneRadio could also be achieved with static values, similar to the one described in this blog
No comments:
Post a Comment