com.liferay.faces.bridge.taglib.liferay
Class HtmlTopTagCompat

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.taglib.TagSupport
      extended by com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
          extended by com.liferay.taglib.util.PositionTagSupport
              extended by com.liferay.taglib.util.OutputTag
                  extended by com.liferay.taglib.util.HtmlTopTag
                      extended by com.liferay.faces.bridge.taglib.liferay.HtmlTopTagCompat
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
HtmlTopTag

public class HtmlTopTagCompat
extends com.liferay.taglib.util.HtmlTopTag
implements Serializable

This class provides a compatibility layer that isolates differences between different versions of Liferay Portal. Specifically, the HtmlTopTag works fine on Liferay Portal 6.0 (and above) but requires an override of BaseBodyTagSupport.doAfterBody() for Liferay 5.2.

Author:
Neil Griffin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
bodyContent
 
Fields inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
HtmlTopTagCompat()
           
 
Method Summary
 
Methods inherited from class com.liferay.taglib.util.OutputTag
doEndTag, doStartTag, getData, setOutputKey
 
Methods inherited from class com.liferay.taglib.util.PositionTagSupport
cleanUp, getPosition, getPositionValue, isPositionAuto, isPositionInLine, setPosition
 
Methods inherited from class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
doAfterBody, doInitBody, getBodyContent, getBodyContentAsStringBundler, release, setBodyContent, writeBodyContent
 
Methods inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
findAncestorWithClass, getParent, setPageContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, release, setPageContext, setParent
 

Constructor Detail

HtmlTopTagCompat

public HtmlTopTagCompat()


Copyright © 2014 Liferay, Inc.. All Rights Reserved.