SelectItem and LinkedHashMap

I want to populate a select item, but it doesn't work. At last, I found that:

 

in the API, there is the method.

public void setValueMap(java.util.LinkedHashMap valueMap)

 

Notice:

In SmartGwt 1.3, you must set the LinkedHashMap<String, String>. The hash key must be String.  then it works well.

 

你可能感兴趣的:(SelectItem and LinkedHashMap)