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] [Comment Edited] (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 Mon, 15 Sep 2014 15:41:33 GMT

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

Sravanthi Bobba edited comment on WW-4401 at 9/15/14 3:41 PM:
--------------------------------------------------------------

I thought that https://issues.apache.org/jira/browse/WW-3603 would fix my issue too, but doesnot
seem to work, I want the value to be set to false causing it to initialize with null instead
of empty values. (and true seems to be the default value). Is there a way we can change the
settings globally? If so does it have any unexpected changes we should expect


was (Author: sbobba):
I thought that https://issues.apache.org/jira/browse/WW-3603 would fix my issue too, but doesnot
seem to work, I want the value to be set to false causing it to initialize with null instead
of empty values. (and false seems to be the default value). Is there a way we can change the
settings globally? If so does it have any unexpected changes we should expect

> <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