[
https://jira.nuxeo.com/browse/NXP-7612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on NXP-7612 started by Thierry Delprat.
> Provide JSON Export of the layout definitions
> ---------------------------------------------
>
> Key: NXP-7612
> URL: https://jira.nuxeo.com/browse/NXP-7612
> Project: Nuxeo Enterprise Platform
> Issue Type: Task
> Components: Layouts / Widgets
> Reporter: Thierry Delprat
> Assignee: Thierry Delprat
> Fix For: 5.4.3
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> For the Android Client, I would like to reuse the Widgets and Layouts
> definitions.
> The idea is to leverage Studio ability to generate custom layouts and have
> Android Client transparently benefit from it.
> h2. JAXRS Resource
> There is current a JAXRS resource ( {{WebLayoutResource}} ) that can be used
> to export JSON definition of the Widgets.
> In order to make this more consistent, I would like to refactor so that :
> - the WebLayoutResource exports {{LayoutDefinitions}}
> - the WidgetResource exports {{WidgetDefinitions}}
> => rename the existing resource and create a new one
> NB : The other solution would be to put everything in the same resource, but
> I would be messy
> h2. LayoutDefinition export scope
> Most of the code is already there in {{JSONLayoutExporter}}.
> But there are some needed changes :
> h3. Also export WidgetDefinition that is not part of the Layout
> Currently for Layout that don't include a Local definition of the Widget, the
> {{WidgetDefinition}} is not exported.
> => I guess we must refetch it from WebLayoutManager instead of throwing an
> exception
> h3. Extend scope of the export
> At least from the Android Client point of view, there are some additional
> informations that would be needed :
> - translate the labels from the server side
> - export flatten vocabularies with translations for directory widgets
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets