On 7/25/07, Vincent Lin <[EMAIL PROTECTED]> wrote:
I found some people are discussing this problem.
When the data type of the attribute is Integer, the value can't be too
large.
We can use toString() to make pre-selecting work.
So I changed my <s:select/> tag to:
<s:select name="adminGroupMapData.adminRid"
headerKey="" headerValue="------"
list="adminList" listKey="adminRid"
listValue="adminRid"
value="%{adminGroupMapData.adminRid.toString()}" />
And it works now.
Is this a bug of struts 2.0.6???
On 7/25/07, Vincent Lin <[EMAIL PROTECTED]> wrote:
The 'value' property/parameter:
value="%{adminGroupMapData.adminRid.toString()}" />
is what sets what is selected, or what gets 'jumped' to.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]