You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/06/14 00:43:13 UTC

[jira] Resolved: (PIVOT-528) Allow Dictionary values to be specified using elements in WTKX

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

Greg Brown resolved PIVOT-528.
------------------------------

    Resolution: Fixed

> Allow Dictionary values to be specified using elements in WTKX
> --------------------------------------------------------------
>
>                 Key: PIVOT-528
>                 URL: https://issues.apache.org/jira/browse/PIVOT-528
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk-wtkx
>            Reporter: Greg Brown
>            Priority: Minor
>             Fix For: 1.5.1
>
>
> Currently, it is possible to populate a dictionary type via attributes but not elements. For example, this is supported:
> <HashMap abc="123"/>
> as is this:
> <MyBeanClass>
>   <abc>
>     <MyOtherBeanClass/>
>   </abc>
> </MyBeanClass>
> but this is not:
> <HashMap>
>   <abc>
>     <MyOtherBeanClass/>
>   </abc>
> </HashMap>
> This prevents callers from populating a dictionary with anything other than primitive values. WTKXSerializer should also allow a caller to populate a dictionary with complex types, as shown above.

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