You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jason Morawski (JIRA)" <ji...@apache.org> on 2009/10/20 06:44:00 UTC

[jira] Updated: (CXF-2482) Update JSON Provider to support Dojo JsonRestStore

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

Jason Morawski updated CXF-2482:
--------------------------------

    Attachment: marshal-for-dojo.patch

This patch should resolve the issue in combination with this configuration entry in beans.xml:

<bean id="jsonProvider" class="org.apache.cxf.jaxrs.provider.JSONProvider">
    <property name="dropRootElement" value="true"/>
    <property name="dropCollectionWrapperElement" value="true"/>
</bean>


> Update JSON Provider to support Dojo JsonRestStore
> --------------------------------------------------
>
>                 Key: CXF-2482
>                 URL: https://issues.apache.org/jira/browse/CXF-2482
>             Project: CXF
>          Issue Type: Improvement
>          Components: REST
>    Affects Versions: 2.2.4
>         Environment: Debian GNU/Linux
>            Reporter: Jason Morawski
>            Priority: Trivial
>         Attachments: marshal-for-dojo.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> In order for Dojo's JsonRestStore to work with CXF JAX-RS based web services, Dojo expects GET calls to return JSON containing an Array of Objects.  The JSON Provider should support marshaling Collections of POJOs  to JSON that consists of a root Array element with child Objects.

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