on 06-06-2012 10:55 AM
The radio button gets selected when the value in the key to select is same as the value in the selected key. Both property Selected key and Key to select are bindable to an attribute of type string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to use radiobutton group by index UI element. Have a node in the context element with cardinality 0..n and have an attribute text type string. In the properties of the node provide the supply function as "fill_the_node". Bind this node to the radiobuttongroupbyindex UI element.
In the fill_the_node method.
data : node type ref to if_wd_context_node,
elem type ref to if_wd_context_element.
data : it type table of if_view=>element_node,
wa like line of it.
wa-text = 'radiobutton1'.
append wa to it.
wa-text = 'radiobutton2'.
append wa to it.
wa-text = 'radiobutton3'.
append wa to it.
wa-text = 'radiobutton4'.
append wa to it.
wa-text = 'radiobutton5'.
append wa to it.
wa-text = 'radiobutton6'.
append wa to it.
node->bind_table( it ).
In this way you can have 6 radiobuttons on the browser.
Or if u have any confusion refer the following step by step process to create Radiobuttongroup By index UI element,
http://www.saptechnical.com/Tutorials/WebDynproABAP/TextRadioButton/page1.htm
Hope its useful to u,
Regards
Jana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
instead, you can use radiobuttongroupbyindex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.