Skip to Content
0
Former Member
Sep 19, 2005 at 08:26 AM

drop default values

17 Views

HI All,

I have problem in dropdownkey if I not select from the list how can get the default value.

I have done the coding below

ISimpleTypeModifiable myType =

wdThis.wdGetAPI().getContext().getModifiableTypeOf("RoleKey");

IModifiableSimpleValueSet values =

myType.getSVServices().getModifiableSimpleValueSet();

values.put("key","values");

and so on.

I am retrieving the values

String rolekey =wdContext.currentContextElement().getRoleKey()

if i am not selecting from the drop down then I setting

if(rolekey.equals(""))

{

rolekey="NONE";

}

But I am not getting the NONE .

please help.