Hi!

I am using struts 2.0.6 and I encountered a problem in <s:select/> tag
today.

In my JSP:

<s:select name="adminGroupMapData.adminGroupRid"
                            headerKey="" headerValue="------"
                            list="adminGroupList" listKey="adminGroupRid"
                            listValue="adminGroupRid"/>

In my Action, I have a method:
   public List<AdminGroupEbo> getAdminGroupList() {
      return this.adminGroupList;
   }

The data bean of the list has a get method:
   public Integer getAdminGroupRid() {
       return this.adminGroupRid;
   }

But in my web page the value of the drop-down list generate by <s:select/>
sometimes can't jump to the value
of adminGroupRid in the data bean (adminGroupMapData.adminGroupRid).
I found a rule of thumb that when the value of
adminGroupMapData.adminGroupRid is less than 1000, it works.
But when the value is greater than 1000, it doesn't work.

Why? Is there any way to solve this problem?

Thanks,
Vincent Lin

Reply via email to