Class SessionDecoratorMapper

  • All Implemented Interfaces:
    DecoratorMapper

    public class SessionDecoratorMapper
    extends AbstractDecoratorMapper

    Will look at a session attribute to find the name of an appropriate decorator to use. If the session attribute is present, the mapper will not do anything and allow the next mapper in the chain to select a decorator.

    By default, it will look at the 'decorator' session attribute, however this can be overriden by configuring the mapper with a 'decorator.parameter' property.

    Author:
    Ricardo Lecheta