[ 
http://jira.nuxeo.org/browse/NXP-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Marc Orliaguet closed NXP-4510.
------------------------------------

    Resolution: Fixed

added the JSF tag in:
http://hg.nuxeo.org/nuxeo/nuxeo-jsf/rev/004b1ccb0ffc

the syntax is: 

<nxthemes:require resource="prototype.js" />
 or
<nxthemes:require resource="some-style.css" /> 

the tag ought to be placed inside a <ui:define> block otherwise it doesn't seem 
to be visible.


> 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
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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