[ 
http://jira.nuxeo.org/browse/NXP-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52720#action_52720
 ] 

Anahide Tchertchian commented on NXP-3449:
------------------------------------------

progress done about rendering the theme as provided by the document blob;

- make it possible to specify the theme negotiation strategy from templates:

http://hg.nuxeo.org/nuxeo/nuxeo-jsf/rev/67e182593203
http://hg.nuxeo.org/nuxeo/nuxeo-theme/rev/00c4a9cbec38

- define adapter plugins on theme-core so that parsing/querying of theme can be 
customized:

http://hg.nuxeo.org/nuxeo/nuxeo-theme/rev/00c4a9cbec38 (on a branch for now)

- implement an adapter that has the given behaviour (take theme on doc attached 
file) +defined XMap descriptors for easier theme parsing/registration.

see several changesets on:
https://hg.nuxeo.org/addons/nuxeo-features-page-layout

Caveats for now:

- not really easy to make themes local to the theme adapter (caching + 
registration issues: the theme info is kept on a large amount of different 
registries, so currently dupplicating great parts of ThemeManager api)

- the theme parsing/registration should be reviewed so that we can apply 
templating to this feature (there's a theme template somewhere, and a new page 
docment is created from this template, making it possible to change only parts 
of the original theme).

- the editor part has not been explored yet

> As a user, i can edit a page layout and save it in a document
> -------------------------------------------------------------
>
>                 Key: NXP-3449
>                 URL: http://jira.nuxeo.org/browse/NXP-3449
>             Project: Nuxeo Enterprise Platform
>          Issue Type: User story
>            Reporter: Anahide Tchertchian
>            Assignee: Anahide Tchertchian
>
> create a new addon (nuxeo-features-page-layout) to get the following 
> behaviour:
> - user can create an document of type "PageLayoutDocument"
> - this document holds an XML structure of the page layout (theme-like) with 
> layout/section/cell/fragments, properties  applying to them. this XML file 
> can be saved into the document metadata (blob in schema file).
> - user can edit this structure in a tab of the document. this tab should 
> present a page that looks like the existing theme editor => user can add 
> fragments, configure them, etc... and save the resulting structure in the 
> document.
> - on webengine (for now), this document can be displayed using this XML 
> structure instead of relying on the global theme configuration
> Later:
> - make it possible to configure/define freemarker fragments with more info in 
> the XML than for existing themes, possibly without any freemarker template at 
> all.
> - see how to implement a logic where page layout applies to another document 
> holding the content

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
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

Reply via email to