[
https://jira.nuxeo.org/browse/NXP-5773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=83532#action_83532
]
Jean-Marc Orliaguet commented on NXP-5773:
------------------------------------------
A resource registration in theme-contrib.xml could look like this:
<resource name="calendar.css">
<path>jscalendar/css/jscal2.css</path>
<context-path>${org.nuxeo.ecm.contextPath}/jscalendar/css/</context-path>
</resource>
so that
.DynarchCalendar-prevYear div {
background-image: url("img/nav-left-x2.gif");
}
would be resolved to:
.DynarchCalendar-prevYear div {
background-image: url("/nuxeo/jscalendar/css/img/nav-left-x2.gif");
}
> Fix images retrieval when referenced in a css file managed by theme resources
> -----------------------------------------------------------------------------
>
> Key: NXP-5773
> URL: https://jira.nuxeo.org/browse/NXP-5773
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.3.2
> Reporter: Anahide Tchertchian
> Assignee: Jean-Marc Orliaguet
> Fix For: 5.4
>
>
> When declaring jscalendar resources in the theme, some images are not found
> and errors occur in the theme, for instance:
> [Resources] Invalid resource path: /img/nav-left-x2.gif
> Steps to reproduce: remove declarations in includes.xhtml and re-enable the
> resources declaration in theme, as commited in changeset
> http://hg.nuxeo.org/nuxeo/nuxeo-dm/rev/7a9c42de80c0 and then display the
> javascript calendar, for instance in a workspace edit page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://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