Add "object" attribute type
---------------------------

                 Key: TILES-168
                 URL: https://issues.apache.org/struts/browse/TILES-168
             Project: Tiles
          Issue Type: Improvement
          Components: tiles-api, tiles-core
    Affects Versions: 2.0.3
            Reporter: Antonio Petrelli


Currently, the attribute types can be "string", "definition" and "template". 
The type of an attribute can be null, but if an attribute containing an object 
as a value is inserted (for example, by using the <tiles:insertAttribute> tag), 
the type is evaluated as "string", and its "toString" method is called.
An "object" attribute type should be introduced that, when someone tries to 
insert (or render) it, an exception is thrown, since you cannot insert an 
object. This kind of attribute can only be imported/used (through the use of 
<tiles:importAttribute> or <tiles:useAttribute>) as a bean.

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

Reply via email to