On 2010-01-14 00:30, Sean Radford wrote:
Hi,

I don't think that

NXP-3916 -themes doesn't find its static resources behind a proxy

and consequently

NXP-4214 -Virtual Hosting issue in WebEngine when using NXThemes

are fixed....

For the JSF interface when org.nuxeo.theme.html.ui.Resources#render(...)
we have the following situations:

No Virtual Host
path = "/nuxeo"
basepath = "/nuxeo/site"
==>
resourcesPath = "/nuxeo/nxthemes-lib"
nxthemeBasePath = "/nuxeo/site"

Virtual Host
path = "/nuxeo"
basepath = "/nuxeo/site"
==>
resourcesPath = "/nuxeo/nxthemes-lib"
nxthemeBasePath = "/nuxeo" (ISN'T THIS WRONG?)


For the WebEngine interface when
org.nuxeo.theme.html.ui.Resources#render(...) we have the following
situations:

No Virtual Host
path = "/nuxeo/site/sites"
basepath = "/nuxeo/site"
==>
resourcesPath = "/nuxeo/nxthemes-lib"
nxthemeBasePath = "/nuxeo/site"

Virtual Host
path = "/nuxeo/site/sites"
basepath = "/nuxeo/site"
==>
resourcesPath = "/nuxeo/site/sites/nxthemes-lib" (ISN'T THIS WRONG?)
nxthemeBasePath = "/nuxeo/site/sites" (ISN'T THIS WRONG?)

Thoughts?

Sean


Hi,

To start with,
/nxthemes-css and /nxthemes-lib can be shared between sites, since the theme's name, the site's path and the basepath are now included in the URL.

So they could be placed directly under:
- /nuxeo/nxthemes-css/
- /nuxeo/nxthemes-lib/

without any prefix. That would simplify virtual hosting.

nxthemeBasePath is used by the theme editor and the web widgets, it has to point to the base of webengine (/nuxeo/site/ under JBoss, and / under jetty+webengine).

/JM


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to