Theme engine: add a directive to register theme resources in Freemaker, JSF 
templates
-------------------------------------------------------------------------------------

                 Key: NXP-4510
                 URL: http://jira.nuxeo.org/browse/NXP-4510
             Project: Nuxeo Enterprise Platform
          Issue Type: New Feature
            Reporter: Jean-Marc Orliaguet
            Assignee: Jean-Marc Orliaguet
             Fix For: 5.3 GA


Add a directive to register theme resources (css, js) directly from page 
templates

Freemarker:
<@nxthemes_require>some-script.js</@nxthemes_require>
<@nxthemes_require>some-style.css</@nxthemes_require>

JSF: 
<nxthemes:require>some-script.js</nxthemes:require>
<nxthemes:require>some-style.css</nxthemes:require>

this is mostly needed for region fragments.

-- 
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