cancel
Showing results for 
Search instead for 
Did you mean: 

How to Feed CheckBoxGroup

Former Member
0 Kudos

Hello Everyone,

I have a checkBoxGroup that i want to appear on screen allready with some checkboxes selected. How do i do that ?

I allready created a node with two attributes (text and bool), to map the texts of the group. I thought that setting the bool variable with true or false would be sufficient, but the Group still appears clean of selections at initialization. How can i solve this ?

Thank you,

Nuno Santos

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Try This

wdContext.node<Name>().setSelected(int index, boolean selected)

https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/progmodel/api/IWDNode.html

Kind Regards

Mukesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

you can set the selected property of the checkbox by

wdContext.node<checkbox_Node>().setSelected(int,boolean);

int is the integer type variable. this is number of the checkbox in the group which is going to be set selected.

boolean is either true or false.

regards

karthik

Former Member
0 Kudos

Thank you all for your answers. Problem solved.

Former Member
0 Kudos

Hi,

have a look at this thread

Regards,

Saravanan K