You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Tiles 2.1, Tiles has an boolean attribute that, if set to true, will turn on "auto refresh checking" for TIles definitions. This allows changes to Tiles definitions to be picked up in development without a server restart.
The current way of turning on a auto-refresh check is low-level. With Tiles 2.1, you set a custom tilesProperties on your TilesConfigurer with the "org.apache.tiles.definition.dao.LocaleUrlDefinitionDAO.CHECK_REFRESH" property set to true. (Reference: http://tiles.apache.org/2.1/framework/config-reference.html). I believe the mechanism in Tiles 2.2 for enabling this check is different.
As a user, I'd like a simple boolean property on TilesConfigurer to enable auto-refresh checks that works with Tiles 2.1 and > e.g.:
I've added a convenient "checkRefresh" bean property to TilesConfigurer. Works for me against Tiles 2.1 as well as 2.2 in a quick test. Would be great if you could give it a full integration test, ideally against both Tiles versions as well...
Keith Donald opened SPR-7225 and commented
As of Tiles 2.1, Tiles has an boolean attribute that, if set to true, will turn on "auto refresh checking" for TIles definitions. This allows changes to Tiles definitions to be picked up in development without a server restart.
The current way of turning on a auto-refresh check is low-level. With Tiles 2.1, you set a custom tilesProperties on your TilesConfigurer with the "org.apache.tiles.definition.dao.LocaleUrlDefinitionDAO.CHECK_REFRESH" property set to true. (Reference: http://tiles.apache.org/2.1/framework/config-reference.html). I believe the mechanism in Tiles 2.2 for enabling this check is different.
As a user, I'd like a simple boolean property on TilesConfigurer to enable auto-refresh checks that works with Tiles 2.1 and > e.g.:
Affects: 3.0.2
Referenced from: commits 0390c2b
The text was updated successfully, but these errors were encountered: