Skip to Content
0
Former Member
Jan 06, 2006 at 12:10 AM

Populating drop-down list dynamically

19 Views

Hi,

I am trying to populate the dropdown lists dynamically.

Created Node Attribute and Simple Type with no enumeration. Assigned the Simple Type to Node Attribute. Mapped Node Attribute to UI element. Used following code to input key, value pairs.

IwdAttibuteInfo info=wdcontext.node<nodename>().getNodeInfo().getAttribute(<Attribute name created in the Node>);

ISimpleTypeModifiable stm=info.getModifiableSimpleType();

IModifiableSimpleValueSet svs=stm.getSVServices().getModifiableSimpleValueSet();

svs.put(Key,Value);

as suggested. But dropdown lists are still blank.

Any help is appreciated!!

Thanks

Kiran