cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro radio buttons

Former Member
0 Kudos

Hi,

I'm working on an ESS scenario for Australia Absences.

I would like to know if in a radio button group by index ,the individual radio buttons can be made read only.

Regards,

Aditi Naik

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member485701
Active Participant
0 Kudos

Hi,

The RadioButtonGroupByIndex UI element represents a one-from-many selection visualized as a group of radio buttons.

The property texts must be bound to an attribute Text having a simple type like String that is contained in a node(Radio) Items having cardinality 0..n. The selected item is given by the lead selection of Items, the item texts are given by the values of the Text attribute in node Items.

And i f you want to make individual radio button read only then create one more attribute as readonly in the node(Radio) and bind it with the readonly attribute of RadioButtonGroupByIndex UI element.

wdcontext.nodeRadio().getcurrentelement().setattributevalue("readonly", false);

Regards,

Praveen