cancel
Showing results for 
Search instead for 
Did you mean: 

how to display Dynamic text for a radio button.

Former Member
0 Kudos

Hi to all,

I have a radio button with 4 values. I created a simple type with 4 values and assigned to the radio button. Now I need to display dynamic texts for the four options(text that will be shown to user at run time).

How can i do it??

Thanks in advance.

Pankaj Kumar.

Message was edited by: pankaj kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Pankaj,

Check this link too: dynamic code sample application just import and run it.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/business_packages/a1-8...

Regards, Suresh KB

Former Member
0 Kudos

Hi Pankaj

bellow is the example code you have to write in the WDModifyView to display the text dynamicaly

IWDRadioButton radio = (IWDRadioButton) view.getElement("RadioButton1");
radio.setText("your text");

Ninad