Class JuilElementTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class JuilElementTag
    extends AbstractNoBodyTag
    The JuilElementTag interface respresents the html/javascript to register a model block and view block (directly retrieved from BlockFactory instance. It generates the following: RESERVED FOR FUTURE USE.
    Since:
    MicroStrategy Web 9.0.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • 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

      Constructors 
      Constructor Description
      JuilElementTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractNoBodyTagHelper getHelper()
      Method for retrieving the helper related with the tag.
      void setGenScript​(java.lang.String value)
      Specifies whether to render the layout scripts for the view block or not.
      void setModelBlock​(java.lang.String value)
      Sets the name of the model block to be retrieved from BlockFactory.
      void setModelId​(java.lang.String value)
      Sets the id of the model block.
      void setRenderView​(java.lang.String value)
      Specifies whether to call the render() on the view block.
      void setViewBlock​(java.lang.String value)
      Sets the name of the view block to be retrieved from BlockFactory.
      void setViewId​(java.lang.String value)
      Sets the id of the view block.
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JuilElementTag

        public JuilElementTag()
    • Method Detail

      • setViewBlock

        public void setViewBlock​(java.lang.String value)
        Sets the name of the view block to be retrieved from BlockFactory.
        Parameters:
        value - the name of the view block as specified in BlockLibary.xml
      • setModelBlock

        public void setModelBlock​(java.lang.String value)
        Sets the name of the model block to be retrieved from BlockFactory.
        Parameters:
        value - the name of the model block as specified in BlockLibary.xml
      • setModelId

        public void setModelId​(java.lang.String value)
        Sets the id of the model block. If it's not set the tag will pick up modelBlockName postfix by "_model" as the id.
        Parameters:
        value - the id of the model block.
      • setViewId

        public void setViewId​(java.lang.String value)
        Sets the id of the view block. If it's not set the tag will pick up viewBlockName postfix by "_view" as the id.
        Parameters:
        value - the id of the view block.
      • setRenderView

        public void setRenderView​(java.lang.String value)
        Specifies whether to call the render() on the view block.
        Parameters:
        value - "true" to render and "false" to skip.
      • setGenScript

        public void setGenScript​(java.lang.String value)
        Specifies whether to render the layout scripts for the view block or not.
        Parameters:
        value - "true" to render and "false" to skip.