Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.3
-
None
Description
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.
Attachments
Issue Links
- is depended upon by
-
TILES-167 The attribute type should be an enum
- Closed