Class NamespaceTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.gatein.pc.portlet.impl.jsr168.taglib.PortletTag
-
- org.gatein.pc.portlet.impl.jsr168.taglib.NamespaceTag
-
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
Namespace286Tag
public class NamespaceTag extends PortletTag
The namespace tag for the JSR 168 Portlet specification. This tag produces a unique value for the current portlet. This tag should be used for named elements in the portlet output (such as Javascript functions and variables). The namespacing ensures that the given name is uniquely associated with this portlet and avoids name conflicts with other elements on the portal page or with other portlets on the page.- Version:
- $Revision: 5448 $
- Author:
- Sherman Wood
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamespaceTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()intdoStartTag()-
Methods inherited from class org.gatein.pc.portlet.impl.jsr168.taglib.PortletTag
getActionRequest, getActionResponse, getConfig, getDispatchedRequest, getEventRequest, getEventResponse, getInvocation, getPortletPreferences, getPortletPreferenceValues, getPortletRequest, getPortletResponse, getPortletSessionScope, getRenderRequest, getRenderResponse, getResourceRequest, getResourceResponse, getSession
-
-
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException- Specified by:
doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjavax.servlet.jsp.tagext.TagSupport- Throws:
javax.servlet.jsp.JspException
-
doEndTag
public int doEndTag() throws javax.servlet.jsp.JspException- Specified by:
doEndTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjavax.servlet.jsp.tagext.TagSupport- Throws:
javax.servlet.jsp.JspException
-
-