Skip to Content
0
Former Member
Jan 20, 2009 at 07:38 AM

drop-down list population

28 Views

Dear all,

i have the following codes in my Init

IWDAttributeInfo plantinfo = wdContext.nodeNodeplant().getNodeInfo().getAttribute("plant");

ISimpleTypeModifiable plant = plantinfo.getModifiableSimpleType();

IModifiableSimpleValueSet plantValueSet = plant.getSVServices().getModifiableSimpleValueSet();

plantValueSet.put("IN","India");

plantValueSet.put("CN","China");

the plant is of simple type..then in my adobe form i bind this plant under the nodeNodeplant to my DDL(drop down list)..but when i run it..the list is empty..i can't even click..what did i done wrong? is there anything that need to set? thank you