on 02-15-2008 11:01 AM
View Context
myNode
attri1
attri2
myNode is a web service model node. How to add a new element to this node?
Regards,
Hui
Edited by: Hui Wang on Feb 15, 2008 12:05 PM
Hi,
myNode node = new myNode();
node.setattri1(<value>);
node.setattri2(<value>);
wdContext.nodeMyNode().bind(node);
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
myNode
attri1
attri2
IMyNodeElement ele=wdContext.myNode().createMyNodeElement();
ele.setAttri1("");
ele.setAttri2("");
wdContext.nodeMyNode().addElement(ele);
Regards,
Sudhir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> myNode
> attri1
> attri2
>
> IMyNodeElement ele=wdContext.myNode().createMyNodeElement();
>
> ele.setAttri1("");
> ele.setAttri2("");
>
> wdContext.nodeMyNode().addElement(ele);
>
> Regards,
> Sudhir
Hi we need a model as an input parameter when creating a element for a model node. How to get the instance of the model?
Regards,
Hui
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.