Separate deployment, FilesystemResourceManagerFactory, CSS problem

Posted by stessy on
URL: https://discuss.orbeon.com/Separate-deployment-FilesystemResourceManagerFactory-CSS-problem-tp1560229.html

Hi,

I'm experiencing problem to use my own CSS with Orbeon.

While I was playing with the forms in resources/apps I had no problem using my own CSS.
Then I followed the article: http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications
The form is displayed by using a URL in my application, but the CSS is not found to render the controls correctly.

Folder where my forms are stored: /opt/epss-forms
CSS: /opt/epss-forms/css/epss-forms.css

In the web.xml

<context-param>
        <param-name>oxf.resources.priority.1</param-name>
        <param-value>org.orbeon.oxf.resources.FilesystemResourceManagerFactory</param-value>
    </context-param>
    <context-param>
        <param-name>oxf.resources.priority.1.oxf.resources.filesystem.sandbox-directory</param-name>
        <param-value>/opt/epss-forms</param-value>
    </context-param>

URL to display my application: http://10.1.1.49:7001/epss/faces/login.jspx
URL to display my forms: http://10.1.1.49:7001/epss/orbeon/epss-forms/

Do you have any suggestion on what to put in the tag

<xhtml:link rel="stylesheet" type="text/css" href="?????????????????"/>

Thanks a lot for your help.

Regards,
Stessy