on 10-03-2011 7:08 AM
Hello All ,
Please help me out in creating radio button and make it ennable in web dynpro in java application .
If Possible please send the sample code as well.
Thanks
jyothi.
please use search and basic thinking....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes i did it.
In the following way i did
1. Create a simpleType.(DictionariesLocal dictonarysimpleTypes)
2. Go to enumeration , and add the data.
3. Create a context and in the property of the context , choose select and select the local dictionary and select the one which you have created.
4. You can create a RadioButtonKey and map to the context.
but it is not enabled. In properties ennabled-true, readonly -false but it is not enabled.
Hi Venkat,
Is your radio button enabled now? If not, try the following way:
1. Create a context node (say, RadioButtonValues) of cardinality 1:1
2. Create a context attribute (say, RadBtnVal) under the node "RadioButtonValues"
3. Change the data type of context attribute 'RadBtnVal' to the the dictionary simple type you have created
4. Map the context attribute 'RadBtnVal' to "selectedKey" property of RadioButtonGroupByKey UI element
Regards,
Pavithra
Hi Venkat,
The default value needs to be set manually as John has suggested. To be more precise, if the context node is "RadioButtonValues" and the context attribute is 'RadioBtnVal', then in wdDoInit() method, include the following:
wdContext.currentRadioButtonValuesElement.setRadioBtnVal("Male");
Regards,
Pavithra
User | Count |
---|---|
81 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.