Class LegacyDecorateHandler

  • All Implemented Interfaces:
    FaceletHandler, TemplateClient

    public final class LegacyDecorateHandler
    extends TagHandler
    implements TemplateClient
    The decorate tag acts the same as a composition tag, but it will not trim everything outside of it. This is useful in cases where you have a list of items in a document, which you would like to be decorated or framed. The sum of it all is that you can take any element in the document and decorate it with some external logic as provided by the template. NOTE: This implementation is provided for compatibility reasons and it is considered faulty. It is enabled using org.apache.myfaces.STRICT_JSF_2_FACELETS_COMPATIBILITY web config param. Don't use it if EL expression caching is enabled.
    Version:
    $Id: DecorateHandler.java,v 1.16 2008/07/13 19:01:41 rlubke Exp $
    Author:
    Jacob Hookom