struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravanthi Bobba (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4401) <s:select list="xyzlist" name="bean.someArray"></s:select> , if no selections made by user, the array gets injected with empty array instead of null and same is the case with List
Date Thu, 04 Sep 2014 20:09:25 GMT

    [ https://issues.apache.org/jira/browse/WW-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121908#comment-14121908
] 

Sravanthi Bobba commented on WW-4401:
-------------------------------------

Solved problem with creating empty map entries via Ognl, see WW-3603, this was fixed in 2.3.16,
so thought it was a bug, did not realize it is a desired behavior, Thanks for the info, Is
there a way to find if the other object behaviors with this change like different java Objects
and Collections

> <s:select list="xyzlist" name="bean.someArray"></s:select> , if no selections
made by user, the array gets injected with empty array instead of null and same is the case
with List
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-4401
>                 URL: https://issues.apache.org/jira/browse/WW-4401
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.3.16.3
>         Environment: Mac, Tomcat 6/7
>            Reporter: Sravanthi Bobba
>             Fix For: 2.5.x
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message