You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/07/23 04:36:08 UTC

[jira] Updated: (WW-2047) Select to Set type conversion now fails

     [ https://issues.apache.org/struts/browse/WW-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-2047:
---------------------------

    Fix Version/s: Future

Setting Fix Version to "future" for issues without a set fix version. 


> Select to Set type conversion now fails
> ---------------------------------------
>
>                 Key: WW-2047
>                 URL: https://issues.apache.org/struts/browse/WW-2047
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.8
>         Environment: freemarker
>            Reporter: Jasper Rosenberg
>             Fix For: Future
>
>
> In action with setter/getter:
>     private Set<Make> serviced = new HashSet<Make>();
> // In template:
>     <@s.select id="serviced" label="Serviced" size="5" multiple="true" 
>       	name="serviced" value="serviced.{id}"
>         	listValue="name" listKey="id" list="makes"/>        
> In xwork-conversion.properties, I declare a custom type convertor from id (which is a String) to Make.
> In 2.0.6, this works great.
> In 2.0.8 though I end up with a set of id Strings rather than the Set of Makes.  I put a breakpoint in my type convertor, and sure enough in 2.0.8, it is never getting invoked.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.