On 4 Oct 2007, at 11:13, Anahide Tchertchian wrote:
Olivier Grisel a écrit :
Florent Guillaume a écrit :
Actually even on non-SNAPSHOT versions I want to be able to easily put
it in debug mode. Developers often use stable versions of Nuxeo, for
good reasons.
Agreed, but then how to make that possible? Would it be possible to have a a
global deployement flag in a configuration file somewhere to select
deployment-fragment-debug.xml instead of the default deployment- fragment.xml files?
Maybe we should have a jira issue to track such a feature request.

Note that we're not using the default facelet view handler but
NXThemesFaceletViewHandler. Adding some logic there should do the trick: if Framework.getProperty("facelets.REFRESH_PERIOD") is not null then let's use it instead of the one set in <context-param>.

I haven't had time to test it but there is some variable replacement going on in deployment-fragment.xml so maybe a simple property could do it.

Florent

--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to