on 01-02-2007 10:00 AM
hi all,
i have a check box, on selection of which other check boxes should be checked and unchecked.
The check boxes which are to be checked and unchecked are in the same node.
get the value of the checkbox and set the value to other contextAttribute (i.e)
wdContext.current<NodelElement>().setAttr1( wdContext.current<NodeName>Element().getAttr2())
Regards, ANilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Consider you have valueattribute "selectAll" of type boolean .
You valueNode "CheckBox" with valueattributes for 72 checkboxes.(cardinality 1:1)
ex :Check1
Check2 and so on and bind it to respective checkboxes
then do the following
for(int i=0;i<72;i++)
{
wdContext.currentCheckBoxElement().setAttributeValue("Check"+i,wdContext.currentCotextElement().getSelectAll());
}
Regards, Anilkumar
Instead of taking 72 attributes in one node You could have taken one attribute in a node with cardinality 0..n and binded the node to a table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.