You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/05/08 12:31:42 UTC

[jira] Resolved: (TILES-167) The attribute type should be an enum

     [ https://issues.apache.org/struts/browse/TILES-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli resolved TILES-167.
------------------------------------

    Resolution: Fixed

Now the attribute type is an enum, defined in the Attribute class file.
The string representation is held only in the "toString" method of AttributeType.
All using code has been changed accordingly.

> The attribute type should be an enum
> ------------------------------------
>
>                 Key: TILES-167
>                 URL: https://issues.apache.org/struts/browse/TILES-167
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core, tiles-jsp (jsp support)
>    Affects Versions: 2.0.3
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.4
>
>
> Currently the attribute type is a string, that can be "string", "template" or "definition".
> The attribute type should be an enumeration. Eventually, the "toString" method of the enum can return the above values.
> The code that uses Attribute must change accordingly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.