getUrl (XSPContext - JavaScriptâ„¢)
Gets the URL of the current page.
Defined in
XSPContext (JavaScript)Syntax
getUrl() : XSPUrl (JavaScript)| Return value | Description |
|---|---|
| XSPUrl | The URL. |
Usage
A page URL takes the form:\nameOfPage.xsp
Examples
This computed field displays the string representation of the URL for the current context.context.getUrl().toString()