Class NamespaceTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.gatein.pc.portlet.impl.jsr168.taglib.PortletTag
org.gatein.pc.portlet.impl.jsr168.taglib.NamespaceTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
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.
See Also:
  • Constructor Details

    • NamespaceTag

      public NamespaceTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws jakarta.servlet.jsp.JspException
      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException
    • doEndTag

      public int doEndTag() throws jakarta.servlet.jsp.JspException
      Specified by:
      doEndTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException