Schnittstelle ScriptTagDeclaration

Alle Superschnittstellen:
HasBinding, HasId, HasIdBindingAndRendered, IsRendered

public interface ScriptTagDeclaration extends HasIdBindingAndRendered
This tag adds script files to include into the rendered page.
Some features are deprecated (because of CSP): This tag adds client side script to the rendered page.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    File name to include into the rendered page.
    void
    Type of the script.

    Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding

    setBinding

    Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasId

    setId

    Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered

    setRendered
  • Methodendetails

    • setFile

      void setFile(String file)
      File name to include into the rendered page. The name must be full qualified, or relative. If using a complete path from root, you'll need to add the contextPath from the web application. This can be done with the EL #{request.contextPath}.
      Parameter:
      file - A Script file.
    • setType

      void setType(String type)
      Type of the script.