...
Code Block | ||
---|---|---|
| ||
<script type="text/javascript"> alert('page title is ${wmfn:escapeToJavascript(pageVersion.title)}'); </script> |
Function | Description |
---|---|
| Retrieves a line feed (usually line feeds in JSP pages are ignored). |
| Returns true if the array contains the instance. |
| Converts HTML code to JavaScript document.write statements. |
(string) : string | Replaces \\ with \\\\ and ' with \\' in a string so that it can be used in a JavaScript statement. |
(string) : string | Surrounds the text part with a <pre> tag so that while processing this part should be taken literally and so that line feeds should be preserved. |
(string) : string | Prepends |
(servletcontext) : string | If secure forms are enabled, this function retrieves the name of the secure form request parameter. This function returns the name of the form parameter which should be used for sending the form signature. |
(object, object[]): int | Returns the index of the object in the array or -1 if the array doesn't contain the object. |
(object, string): boolean | This is more flexible instanceOf implementation than the built-in Java instanceOf operator. |
| Replaces new lines with <br /> . |
(servletcontext, servletrequest, string) : string | Computes a signature for a set of names for the use of secure forms in SiteWorks. |
(servletcontext, servletrequest, string) : string | Generates a secure forms signature for the given HTML fragment. |
(object[][], int, boolean) : object[] | Sorts a two dimensional array (an array of arrays) by the objects in a column. |
(sortedmap[], string, boolean) : sortedmap | Sorts an array of SortedMaps by the elements at a specified key. |
(object[], int, int) : object[] | Returns a sub array of the original array. |
(string) : string | The URL encodes a UTF-8 string. |