javax.faces.view.facelets
Interface TagDecorator


public interface TagDecorator

Provides the ability to completely change the Tag before it's processed for compiling with the associated TagHandler.

You could take <input type="text" /> and convert it to <h:inputText /> before compiling.


Method Summary
 Tag decorate(Tag tag)
          If handled, return a new Tag instance, otherwise return null
 

Method Detail

decorate

Tag decorate(Tag tag)
If handled, return a new Tag instance, otherwise return null

Parameters:
tag - tag to be decorated
Returns:
a decorated tag, otherwise null


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.