on 12-14-2005 2:57 PM
Hi,
I need to set the attribute value with an integer in the following code. As it expects an Object, I am not sure how to accomplish it.
wdContext.getChildNode("XYZ_Node",wdContext.getLeadSelection()).getElementAt(0).setAttributeValue("XYZ_Attribute",??????);
Any ideas?
Regards
MK
MK,
Depends on type of XYZ_Attribute.
Either primitive wrapper (Short, Long, Integer...) or String, or java.sql.Date, or java.sql.Time etc.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.