站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

RegionTagHandler - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.theme.tag
Class RegionTagHandler

java.lang.Object
  extended byjavax.servlet.jsp.tagext.SimpleTagSupport
      extended byorg.jboss.portal.theme.tag.RegionTagHandler
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class RegionTagHandler
extends javax.servlet.jsp.tagext.SimpleTagSupport

Tag handler for the region tag.

A region represents a subsection of a portal page. A region can host several portlets. The portlets can be arranged horizontally or vertically. The region tag utilizes a render set to create the markup around the individual portlets.

See Also:
PortalRenderSet, RendererFactory

Constructor Summary
RegionTagHandler()
           
 
Method Summary
 void doTag()
          create the markup of this tag
 void setOrientation(java.lang.String orientation)
          Attribute handler for the orientation attribute of this tag
 void setRegionID(java.lang.String regionID)
          Attribute handler for the region id attribute of this tag
 void setRegionName(java.lang.String regionName)
          Attribute handler for the region name attribute of this tag
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionTagHandler

public RegionTagHandler()
Method Detail

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
create the markup of this tag

Throws:
javax.servlet.jsp.JspException
java.io.IOException

setOrientation

public void setOrientation(java.lang.String orientation)
Attribute handler for the orientation attribute of this tag

Parameters:
orientation - the orientation attribute value set in the hosting jsp

setRegionName

public void setRegionName(java.lang.String regionName)
Attribute handler for the region name attribute of this tag

Parameters:
regionName - the name of the region this tag should render the markup for

setRegionID

public void setRegionID(java.lang.String regionID)
Attribute handler for the region id attribute of this tag

Parameters:
regionID - the id attribute value to set for this tag