InsertJavascriptComponent Class
ViewComponent to insert the Javascript segments that were build using JavascriptComponent and [JavascriptHelper]. The set is intended to be an enhanced version of "capturefor(javascript)
Remarks
InsertJavascriptComponent is a companion component to JavascriptHelper and JavascriptComponent, and is of little use unless used with one or both of those. It is a line component which can take one optional parameter.
| Parameter | Description |
|---|---|
| Std | A comma or space seaparated list of the standard Javascript files to include. Will automatically include needed requestisits. It can include any of the following. |
| Keyword | Script |
| ajax | prototype.js |
| behavior or behaviour |
behaviour.js |
| scriptaculous or effects2 |
Script.aculo.us |
| effectsfat | effectsfat.js |
| validate | Validate.Config Validate.Core Validate.Validators Validate.Lang |
public class InsertJavascriptComponent
Example
See JavascriptComponent for an example of usage.
See Also
[JavascriptHelper] | JavascriptComponent
