Includes an external JavaScript file in the page, as defined in the control's value
attribute. Valid values include the URL of an external script file, such as http://mycompany.com/car.js, or when the value
property begins with a slash(/), it can reference a JavaScript file in the current Web application, relative to the web application's WebContent directory.
For example, when the file myfile.js script
located in the myfolder subdirectory of the WebContent directory, you can reference the script using the value/myfolder/myfile.js. If the script is in the current Web application and you set the evaluate
attribute to true, the JSF expressions embedded in the file are evaluated on every request.
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.output.IncludeScript |
Handler Class | None |
Renderer Type | com.webmethods.caf.faces.output.IncludeScript |
Description | Include external JavaScript file |
Palette Location | CAF Html/Control/Output/Include Script |
Name | Required | Type | Description |
---|---|---|---|
converter | false | javax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter )
| A value binding expression for a method that returns a converter instance. |
converterMessage | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Will be used as the text of the converter message, replacing any message that comes from the converter. |
evaluate | false | javax.el.ValueExpression
(must evaluate to boolean )
|
Evaluate JSF expressions in external file
If not specified, the default value is "false". |
id | false | java.lang.String | Control identifier |
label | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| A localized user presentable name for this component. |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
value | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Control value |
Output generated by Vdldoc View Declaration Language Documentation Generator.