on 09-19-2008 1:09 PM
Hello,
I have developed an tool which use a DropDownByKey which is bind to the enumeration of an simpleType. Does anybody knows, how to select an element of the enumeration in the coding?
Thanks,
Peter
Hi,
Assign the selected key to the context.
wdContext.currentContextelement().setDDValue("<KEY>");
-Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In DoInit() method of View do the following
if example the DropDownByKey UI is bind with attribute country.
the country is of simple type Country.
then by default you can set country you desired using the below statement,
wdContext.setCountry("IND");
here the "IND" is the value and description is INDIA in simple type.
so in DropDownByKey you can see the INDIA.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.