on 06-16-2006 2:35 PM
Hi,
Is it possible to get the value instead of key from the DropDownByKey UI Element.
Any help is appreciated.
Rg/Venkat
Venkatesan,
Yes, it is possible. Assuming you have to get value of attribute MyAttr, node MyNode:
final Object key = wdContext.currentMyNodeElement().getMyAttr();
final ISimpleValueSet svs = wdContext
.nodeMyNode().getNodeInfo().getAttribute("MyAttr")
.getSimpleType().getSVServices().getValues();
final String displayValue = (String)svs.get(key);
VS
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.