Class InsertJSTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class InsertJSTag extends InsertMinifiedContentTag
A JSP tag to insert a JavaScript include file.
Since:
1.0
Version:
10.1
Author:
Luke
See Also:
  • Constructor Details

    • InsertJSTag

      public InsertJSTag()
  • Method Details

    • setAsync

      public void setAsync(boolean isAsync)
      Sets whether the script should be loaded asynchronously.
      Parameters:
      isAsync - TRUE if loaded asynchronously, otherwise FALSE
    • release

      public void release()
      Specified by:
      release in interface Tag
      Overrides:
      release in class TagSupport
    • doEndTag

      public int doEndTag() throws JspException
      Renders the tag.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Returns:
      TagSupport.EVAL_PAGE
      Throws:
      JspException - if an error occurs