You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "hurelhuyag (JIRA)" <ji...@apache.org> on 2017/04/05 04:21:41 UTC
[jira] [Created] (TILES-588) add NoLocaleDefinitionsFactory
hurelhuyag created TILES-588:
--------------------------------
Summary: add NoLocaleDefinitionsFactory
Key: TILES-588
URL: https://issues.apache.org/jira/browse/TILES-588
Project: Tiles
Issue Type: Improvement
Reporter: hurelhuyag
In my case tiles definitions are has no relation with locale. Maybe this class useful for someone.
{code:java}
public class NoLocaleDefinitionsFactory extends UnresolvingLocaleDefinitionsFactory {
@Override
public Definition getDefinition(String name, Request tilesContext) {
return definitionDao.getDefinition(name, null);
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)