on 08-07-2007 10:10 AM
hi experts,
how do i hardcode into dropdown by index
anyhelp on this issue
-
vijay
Hi vijay,
you can create a simple type in local dictionary.
give enumerated values,
i guess this will solve your problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vijay,
you can create a simple type in local dictionary.
give enumerated values,
i guess this will solve your problem
Regards
Senon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
From wherever you get the data, fill in the node to which the dropdownbyindex is attached.
IPrivate<viewname>.IVn_node ele = wdContext.create<node>Element();
ele.set<attr1>("whatever from wherever ");
ele.set<attr2>(" so on");
wdContext.node<ur node>().addElement(ele);
Make sure the node is 0..n or 1..n. Attach to the texts property. Incase of dropdownbykey use simple types.
regards
LNV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is "hardcode into"?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
code to set values for Dropdownby Key
IModifiableSimpleValueSet valueSet = wdContext.nodePersonal().getNodeInfo().getAttribute(IPublicTestComp.IPersonalElement.SPORTS).getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
valueSet.put("CRICKET", "Cricket");
valueSet.put("BASKET", "Basket Ball");
valueSet.put("TT","Table Tennis");
Regards,
Abhimanyu L
Message was edited by:
Abhimanyu Lagishetti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.