SelectItem and LinkedHashMap

来源:互联网 发布:网络言论利与弊辩论赛 编辑:程序博客网 时间:2024/06/08 01:44

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.

 

原创粉丝点击