on 02-01-2007 6:27 AM
Hi All
In my application I have to create checkboxes dynamically.
What i have done is -
When i create checkbox dynamically, i also create an attribute dynamically as per the thread
and bind the checked property of checkbox with the newly created attribute.
I have created an attribute under a node during design time .
Is there any way in which i can bind that attribute to the checkboxes?
Regards
Sonal Mangla
U have to bind the checkbox's checked property to attribute info of the attribute.
<CheckboxReferenceVariable>.bindChecked(wdContext.node<node>().getNodeInfo().getAttribute(<attribute>));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use
Checkbox.bindChecked("<<ValueAttributeName>>);
or
Checkbox.bindChecked("<<.ValueNode.ValueAttributeName>>);
if the the attribute is inside a valuenode.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.