Thank you for answer.

Images, JS, css files should be stored in the web/nuxeo.war
folder of the project.
Moreover, and that's what I've been waiting for, you have to
add a few lines in the 'deployment-fragment.xml' :
<fragment version="1">
        <install>
        <unzip from="${bundle.fileName}" to="/" prefix="web">
                        <include>web/nuxeo.war/**</include>
                </unzip>
        </install>
</fragment>

When the bundle is deployed at Nuxeo start-up, the content
of web/nuxeo.war is unzip in the nuxeo/nxserver/nuxeo.war
folder(tomcat).
To access them from FTL templating files, the correct path
is : "/nuxeo/img/logo.png". The '/nuxeo' directlty goes to
'nxserver
uxeo.war' where resources are deployed.

Thank you all.
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to