on 03-17-2008 11:21 PM
Please send me examples consisting of developing dropdown UI.
Hi,
Populating the Dropdown:
1>Create UI element:Dropdown by Index.
2>Set the texts property to value(key and value pair coming coming from backend)
like:context:DDITable->
->Key
->Value
3>DDI onselect propert:Create a method
Implement the logic.
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute( IPrivatePRG_PaymentView.IContextElement.ALL_YEARS);
ISimpleTypeModifiable simple = attributeInfo.getModifiableSimpleType();
IModifiableSimpleValueSet valueSet = simple.getSVServices().getModifiableSimpleValueSet();
String strValue= "";
for( int i = 0; i < tablesize; i++)
{
valueSet.put( key, value);
}
sample code:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.