Skip to Content
0
Former Member
Sep 27, 2005 at 03:25 PM

How to set Value Attribute (under valu node) at run time

24 Views

Hi,

This is my View context.

wbsElement (Value Attribute of Type String)

This is my Component Controller Context.

Project_info (Value node) ->Wbs_Info (Value Node) -WBS(Value Attribute).

Initially I want to set some dummy values to wbsElement(view attribute),sothat I can show that in drop downby key.

On selecting of wbsElement I want to pass the selected value to component controllers ValueAttribute - WBS (this Value attribute is under 2 nodes-see the structure I've given).

I tried this way which is not working fine.

IWDNodeElement element = wdContext.createWBSElement();

wdContext.nodeWBS().addElement(element);

wdContext.currentWBSElement().setWBS(wbsElement);

Can anyone tell me which is the correct way to do this?

This is very urgent.plz help me in this.Thankx in advance.

Regards,

Karthick