Class Script

java.lang.Object
org.beangle.struts2.view.component.Component
org.beangle.struts2.view.component.UIBean
org.beangle.struts2.view.component.ClosingUIBean
org.openurp.web.view.component.Script

public class Script extends org.beangle.struts2.view.component.ClosingUIBean
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected boolean
     
    protected String
     
    protected Set<String>
     
    protected Set<String>
     
    protected String
     
    protected String
     
    protected String
     

    Fields inherited from class org.beangle.struts2.view.component.ClosingUIBean

    body

    Fields inherited from class org.beangle.struts2.view.component.UIBean

    cssClass, id, theme

    Fields inherited from class org.beangle.struts2.view.component.Component

    COMPONENT_STACK, parameters, stack
  • Constructor Summary

    Constructors
    Constructor
    Description
    Script(com.opensymphony.xwork2.util.ValueStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
     
     
     
     
    boolean
     
    boolean
     
    boolean
     
    void
    setCharset(String charset)
     
    void
    setCompressBody(boolean compressBody)
     
    void
    setCompressed(boolean compressed)
     
    void
    setDefer(boolean defer)
     
    void
    setRequire(String require)
     
    void
     
    void
     
    void
     

    Methods inherited from class org.beangle.struts2.view.component.ClosingUIBean

    doEnd, end, getBody, setTheme, start, usesBody

    Methods inherited from class org.beangle.struts2.view.component.UIBean

    generateIdIfEmpty, getContainer, getCssClass, getId, getParameterString, getRequest, getRequestParameter, getRequestURI, getText, getText, getTheme, getValue, mergeTemplate, processLabel, render, setCssClass, setId

    Methods inherited from class org.beangle.struts2.view.component.Component

    addAllParameters, addParameter, altSyntax, altSyntax, completeExpressionIfAltSyntax, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, popComponentStack, stripExpressionIfAltSyntax, stripExpressionIfAltSyntax, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • type

      protected String type
    • defer

      protected boolean defer
    • charset

      protected String charset
    • tmpl

      protected String tmpl
    • src

      protected String src
    • require

      protected String require
    • requireCss

      protected Set<String> requireCss
    • requireJs

      protected Set<String> requireJs
  • Constructor Details

    • Script

      public Script(com.opensymphony.xwork2.util.ValueStack stack)
  • Method Details

    • evaluateParams

      protected void evaluateParams()
      Overrides:
      evaluateParams in class org.beangle.struts2.view.component.UIBean
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • isDefer

      public boolean isDefer()
    • setDefer

      public void setDefer(boolean defer)
    • getCharset

      public String getCharset()
    • setCharset

      public void setCharset(String charset)
    • getTmpl

      public String getTmpl()
    • setTmpl

      public void setTmpl(String tmpl)
    • getSrc

      public String getSrc()
    • setSrc

      public void setSrc(String src)
    • setRequire

      public void setRequire(String require)
    • isCompressed

      public boolean isCompressed()
    • setCompressed

      public void setCompressed(boolean compressed)
    • isCompressBody

      public boolean isCompressBody()
    • setCompressBody

      public void setCompressBody(boolean compressBody)