Anahide Tchertchian wrote:
> Hi,
>
> 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>.
>

yes, it's possible to add it there. the NXThemesFaceletViewHandler is
basically the default FaceletViewHandler with a cache invalidation logic
added to it (which is done in NXThemesFaceletFactory).

/JM


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

Reply via email to