This project has retired. For details please refer to its Attic page.
Apache Tiles - Framework - Java APIs considerations Fork me on GitHub


In this part of the migration guide we address the differences of the APIs in Struts Tiles and Apache Tiles™.

If you are a Tiles extension developer and you want to convert your existing extension, see Tiles extensions migration guide.

Controllers and View Preparers

In Apache Tiles™, the concept of a Tiles Controller, i.e. an object that it is invoked before rendering a definition, has been replaced with ViewPreparer.

The classes that implement the Controller interface must now implement the new ViewPreparer interface, or extend the ViewPreparerSupport class.

Tiles ComponentContext

The ComponentContext, i.e. the Tiles-specific context in which the current attribute values are stored, has been renamed to AttributeContext.

The method getAttribute returns an Attribute, and not an Attribute Value, i.e. a simple object.