Class InsertMinifiedContentTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag
Direct Known Subclasses:
InsertCSSTag, InsertJSTag

abstract class InsertMinifiedContentTag extends InsertContentTag
A JSP tag to insert optionally minified content. Content will be minified if the SystemData environment name starts with "prod".
Since:
5.0
Version:
10.2
Author:
Luke
  • Constructor Details

    • InsertMinifiedContentTag

      InsertMinifiedContentTag()
  • Method Details

    • getFileName

      protected String getFileName()
      Returns the actual file name of the requested resource.
      Returns:
      the file name
    • isMinified

      protected boolean isMinified()
      Returns whether this resource is minified.
      Returns:
      TRUE if minified, otherwise FALSE
    • doStartTag

      public int doStartTag()
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class TagSupport