Class TestIdTag

java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
de.hybris.platform.b2ctelcoaddon.tags.TestIdTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class TestIdTag extends javax.servlet.jsp.tagext.SimpleTagSupport
Tag that generates a wrapping div with the specified id. The id is suffixed with an incrementing counter for the page request to ensure that it is unique. The wrapper divs can be turned on and off via a configuration property.
  • Field Details

  • Constructor Details

    • TestIdTag

      public TestIdTag()
  • Method Details

    • getCode

      protected String getCode()
    • setCode

      public void setCode(String code)
    • doTag

      public void doTag() throws javax.servlet.jsp.JspException, IOException
      Specified by:
      doTag in interface javax.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      javax.servlet.jsp.JspException
      IOException
    • getNextUniqueId

      protected int getNextUniqueId(javax.servlet.jsp.PageContext pageContext)
    • cleanupHtmlId

      protected String cleanupHtmlId(String text)