on 08-10-2005 9:05 AM
have an application in which I need to dynamically rebuild part of the context.
On first entering the application I build the necessary parts by calls to IWDNodeInfo.addChild(), but when I want to rebuild that part of the context there seems that there is no way for me to remove the previous nodes! The only way I have found to do this is to call IWDContext.reset() function which destroys all the non-declarative context data.
Does anyone have another idea for how to achieve this?
Walter
Walter,
There is no other way except IWDContext.reset();
As a hint -- try to split dynamic structures between different controllers (context exists per controller). Then you will be able to reset specific parts.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If your requirement is to modify/add the attributes inside the node during the rebuild then you can try the following
wdContext.getChildNode().getNodeInfo().addAttribute()
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 |
---|---|
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.