Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-168

Add "object" attribute type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.0.4
    • tiles-api, tiles-core
    • 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

          Activity

            People

              brenmcguire Antonio Petrelli
              brenmcguire Antonio Petrelli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: