Interface ScriptTagDeclaration
-
- All Superinterfaces:
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setFile(String file)
File name to include into the rendered page.void
setType(String type)
Type of the script.-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRendered
-
-
-
-
Method Detail
-
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}.- Parameters:
file
- A Script file.
-
setType
void setType(String type)
Type of the script.
-
-