on 10-30-2007 10:12 AM
I have a problem about checkBoxGroup
I have taken context nodesport& contextattr sport under sport node.
In first screen i hve taken 6 items of checkboxes
and i want to display selected checkboxes into 2nd screen of a table.
Hi Hazrath,
You create your node for checkBox Group (nodesport) in Component control and drag that node in two views.
Selected Check box value is stored in corresponding attributes. It is located in Component control so you can get the values for that attributes and bind that value to the corresponding table column.
Regards,
Balaji P.J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurram,
1> In First Page :
NodeFirst
|------firstAttr1
|------firstAttr2
|-----isChecked(type Boolean)[is mapped in the checked property of the table]
2> In SecondPage :
NodeNext
|------nextAttr1
|------nextAttr2
Inside the action of the button try.
int n = wdContext.node NodeFirst().size();
for(int i = 0; i< n; i++)
{
if(wdContext.nodeNodeFirst().get NodeFirstElementAt(i).getIsChecked())
{
IPrivate><Put View Name>.INodeNextElement elm = wdContext.createNodeNextElement();
elm. setNextAttr1(wdContext.nodeNodeFirst().getNodeFirstElementAt(i).getFirstAttr1());
elm.setNextAttr2(wdContext.nodeNodeFirst().getNodeFirstElementAt(i).getFirstAttr2());
wdContext.nodeNodeNext().addElement(elm);
}
}
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.