on 05-30-2008 6:29 AM
Hi,
i have adropdown with label state,iam able to populate all the values in to dropdown by using array list,but my problem is, as soon as clickon drop down an empty space is appearing that empty space is follwed by all the states(KARNATAKA,GOA,DELHI..)can u please expalin the code to remove that empty space..
Thanks
kishore
Make the selection as 1..n instead of 0..n
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Change the selection cardinality of the node bound to the DropDownByIndex UI element to 1...1.
Best Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Change the selection cardinality of the node from *0..1 to 1..1
*
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishore,
first time if u r populating and not setting the drp context by any value it'll come empty, so plz set the drp context with the value which u want by default.
And after selection empty is coming mean are doing on the action of selection..??
plz use this code.....
StringTokenizer keyArray;
StringTokenizer valueArray;
IWDAttributeInfo info;
ISimpleTypeModifiable mode;
IModifiableSimpleValueSet svs;
keyArray =new StringTokenizer(key collection....);
valueArray =new StringTokenizer(values collection.......);
info = wdContext.nodeEventType().getNodeInfo().getAttribute(<name>);
mode = info.getModifiableSimpleType();
svs = mode.getSVServices().getModifiableSimpleValueSet();
svs.put("All","All");
if (eventTypeTokens != null) {
for (int count = 0; keyArray.hasMoreTokens(); count++) {
svs.put(keyArray.nextToken(";"), valueArray.nextToken(";"));
}
}
May be that will help u...
Regards,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.