cancel
Showing results for 
Search instead for 
Did you mean: 

data retriving from check box group

Former Member
0 Kudos

Hi all,

i got a problem when i am using checkbox group.i have created checkbox group and i have bound a attribute to that group. that attribute is type of symple tye. i got problem when i want to retrive the data from the checkbox group . how i can get the data from the check box group which check box was checked. please reply

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the link below:

[;

Hope your problem will get solved as given by Sumit in this link.

thanks & regards,

Manoj

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use the following

for (int x=0; x< wdContext.nodeTest().size(); x++)

{

if( wdContext.nodeTest().isMultiSelected(x) )

// Selected Element

IWDNodeElement nodeElement = wdContext.nodeTest().getElementAt(x);

nodeElement.setAttributeValue("<Your Attribute> ", <Value>);

//Ex setting value for attribute called Name

nodeElement.setAttributeValue("Name", "Test");

}

Regards

Ayyapparaj

Former Member
0 Kudos

thanks for replying . my problem has solved