on 01-06-2006 11:30 AM
Hi,
Suppose that I've a simple type for Countries with name "contries".
<ckey> <ctext>
e.g. DE Germany
I've a context element "contry" of type "countries". I've bound this context element to a DropDownByKey in a form.
When I post this form, it returns the ckey of selected element to "country" context element. This is OK.
But when I want to email this form, I want to display ctext instead of ckey as value.
How can I access the ctext value of ckey?
regards
hi
try this
String ctext=wdContext.node<nodename>().current<node name>nodeElement().get<valatr>();
hope this helps,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Get the attribute info (IWDAttributeInfo) for the attribute to which you have bound the "selectedKey" property of the drop-down list.
2. Get the (simple) type (ISimpleType) from the attribute info
3. From the simple type, get the "simple value service" and from this, get the values
And now try this using the API
Armin
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.