[
https://issues.apache.org/struts/browse/TILES-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Petrelli updated TILES-164:
-----------------------------------
Description:
Currently, some String constants that represent configuration parameters that
allow specifying a class name for a particular interface/base class do not
follow the standard, i.e. the name of the parameter must be the name of the
interface/base class.
All of these constants must be changed to follow this standard.
The configuration parameters that refer to a particular implementation should
be namespaced according to the name of the class that use that parameter.
The constants to refactor are:
org.apache.tiles.CONTAINER_FACTORY =>
org.apache.tiles.factory.TilesContainerFactory
org.apache.tiles.CONTAINER_FACTORY.mutable =>
org.apache.tiles.factory.TilesContainerFactory.MUTABLE
org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
org.apache.tiles.DEFINITIONS_FACTORY =>
org.apache.tiles.definition.DefinitionsFactory
org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
org.apache.tiles.DEFINITIONS_CONFIG =>
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
definitions-parser-validate =>
org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
org.apache.tiles.CONTAINER.keyExtractor =>
org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
org.apache.tiles.CONTAINER.keys =>
org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
[EMAIL PROTECTED] => [EMAIL PROTECTED]
was:
Currently, some String constants that represent configuration parameters that
allow specifying a class name for a particular interface/base class do not
follow the standard, i.e. the name of the parameter must be the name of the
interface/base class.
All of these constants must be changed to follow this standard.
The configuration parameters that refer to a particular implementation should
be namespaced according to the name of the class that use that parameter.
The constants to refactor are:
org.apache.tiles.CONTAINER_FACTORY =>
org.apache.tiles.factory.TilesContainerFactory
org.apache.tiles.CONTAINER_FACTORY.mutable =>
org.apache.tiles.factory.TilesContainerFactory.MUTABLE
org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
org.apache.tiles.DEFINITIONS_FACTORY =>
org.apache.tiles.definition.DefinitionsFactory
org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
org.apache.tiles.DEFINITIONS_CONFIG =>
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
definitions-parser-validate =>
org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
org.apache.tiles.CONTAINER.keyExtractor =>
org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
org.apache.tiles.CONTAINER.keys =>
org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
[EMAIL PROTECTED] => [EMAIL PROTECTED]
> Refactor class name configuration constants
> -------------------------------------------
>
> Key: TILES-164
> URL: https://issues.apache.org/struts/browse/TILES-164
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-core
> Affects Versions: 2.0.3
> Reporter: Antonio Petrelli
> Assigned To: Antonio Petrelli
> Fix For: 2.0.4
>
>
> Currently, some String constants that represent configuration parameters that
> allow specifying a class name for a particular interface/base class do not
> follow the standard, i.e. the name of the parameter must be the name of the
> interface/base class.
> All of these constants must be changed to follow this standard.
> The configuration parameters that refer to a particular implementation should
> be namespaced according to the name of the class that use that parameter.
> The constants to refactor are:
> org.apache.tiles.CONTAINER_FACTORY =>
> org.apache.tiles.factory.TilesContainerFactory
> org.apache.tiles.CONTAINER_FACTORY.mutable =>
> org.apache.tiles.factory.TilesContainerFactory.MUTABLE
> org.apache.tiles.CONTEXT_FACTORY =>
> org.apache.tiles.context.TilesContextFactory
> org.apache.tiles.DEFINITIONS_FACTORY =>
> org.apache.tiles.definition.DefinitionsFactory
> org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
> org.apache.tiles.DEFINITIONS_CONFIG =>
> org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> definitions-parser-validate =>
> org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
> org.apache.tiles.CONTAINER.keyExtractor =>
> org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
> org.apache.tiles.CONTAINER.keys =>
> org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
> [EMAIL PROTECTED] => [EMAIL PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.