on 08-17-2007 7:42 AM
hai,
i am using radibuttongroupbykey with four values.
my requirement is set a radio button of the four as default when the screen comes for the first time. how to do this?
urgent.....
Madhu
Hi
in WDDOINIT method set the context attribute value to one of the possible values, the context attribute which you used in selectedKey property of the RadioButtonGroupByKey element.
wd_context->set_attribute( name = <context attribute> value = '<value>' ).
Regards
Abhimanyu L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Pls set the lead selection of the node to which your radioButtonGroup is bound, to the default value u want.
if the radiobuttonGroup is radiobuttonGroupByKey, and the selectedKey is bound to attribute 'attr1' of NodeA and the default Key u want to set as selected in the group is key1
NodeA->SET_ATTRIBUTE(
NAME = 'attr1'
VALUE = ' key1' ).
if the radiobuttonGroup is radiobuttonGroupByIndx, set the Lead Selection Index of NodeA to the correct index
So if key1 is at index 5 in the Node,
NodeA->SET_LEAD_SELECTION_INDEX( 5 ).
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since you would be using a value set to populate the four values, just do a set_attribute tby passing one of the values. That would be selected by default.
Regards,
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.