[
http://jira.nuxeo.org/browse/NXP-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=66941#action_66941
]
Jean-Marc Orliaguet commented on NXP-4510:
------------------------------------------
flush the resource list at each page rendering otherwise the list gets cached
(it might have been a bug)
http://hg.nuxeo.org/nuxeo/nuxeo-theme/rev/6c473f34c115
> 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