[
https://issues.apache.org/jira/browse/WW-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17583447#comment-17583447
]
Aleksandr Mashchenko commented on WW-5214:
------------------------------------------
I think you need to explicitly set it to long or use strings.
{code:java}
"#{1:'Cat',2147483647L:'Dog'}" {code}
{code:java}
"#{'1':'Cat','2147483647':'Dog'}"
{code}
> When value for SELECT element is greater than 2147483647, the value does not
> pre-select
> ---------------------------------------------------------------------------------------
>
> Key: WW-5214
> URL: https://issues.apache.org/jira/browse/WW-5214
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.5.28, 2.5.30
> Reporter: Mike Livingston
> Priority: Minor
> Fix For: 6.1.0
>
> Attachments: STRUTS_2_5_30.diff
>
>
> If select tag is created with value greater than 2147483647 no option is
> pre-selected. Attached diff was used to show the behavior in the SelectTest
> unit test
--
This message was sent by Atlassian Jira
(v8.20.10#820010)