Introduction

This document contains the changes notes for Version 1.1 Beta 2 of the Tiles - Struts integration. It covers changes that have taken place during the move of Tiles from the contrib folder to the main trunk. The following sections cover New Tiles Features, Tiles Changes and Tiles To Do

What's New?

DEPRECATIONS:

Changes and Bug Fixes


  • Change package name for example classes: org.apache.struts.example.tiles.* become org.apache.struts.webapp.tiles.*
  • Move tiles.tld to struts-tiles.tld
  • Documentation is removed from tiles war
  • New definition factory interface org.apache.struts.tiles.DefinitionsFactory. This interface introduce a new life cycle for interface implementation.
  • Deprecate the old definition factory interface org.apache.struts.tiles.ComponentDefinitionsFactory
  • .
  • New TilesPlugin. This plugin takes in charge Tiles initialization and configuration. It creates a single factory for the entire application, regardless if it is declared in each modules. The plugin also configure Struts to use the TilesRequestProcessor. Plugin also takes care to wrap old definition factory to provide appropriate new definition factory interface.
  • Change org.apache.struts.tiles.actions.TilesAction to be compliant with new Struts Action execute() method. This change is backward compatible (old actions still working)
  • Change actions found in org.apache.struts.tiles.actions.* to be compliant with new Struts Action execute() method.
  • Change struts-config.xml and tiles-config*.xml files to use new tld and new examples packages
Tiles To Do

To do list for Tiles before the Struts 1.1b2 release :

  • Change struts-tiles.dtd in favor of struts-tiles_1_1.dtd.
  • Remove deprecated support for the old tiles configuration file in the new struts-tiles_1_1.dtd.
  • Refactor the default factory to use the new definition factory interface, digester rules, ...