Web Application Object
Ancestors - Object (PRIM_OBJT)
The Web Application object is a globally scoped singleton object providing access to web runtime specific features such as the browser Console, Local Storage and the current URL. At runtime the #SYS_WEB variable provides programmatic access to its features.
Name | Description |
---|---|
ComponentClassName | ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
ComponentMembers | ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
ComponentPatternName | ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
ComponentTag | Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
ComponentType | ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
ComponentTypeName | ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
Console | Browser Console object |
Device | Device type on which the application is executing |
History | Browser History |
LoadingImage | Image to be displayed in place of the default loading image |
LocalStorage | Provides access to browser local storage |
Name | Name identifies the component Inherited from Object (PRIM_OBJT) |
Online | True if the browser thinks there is a valid connection |
Owner | Owner owns this component Inherited from Object (PRIM_OBJT) |
Parent | The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT) |
Routing | Reference to component that provides access to the application's current routing state |
ServiceWorker | Reference to component that provides access to the application's current Service Worker state |
Session | Reference to application session |
SessionStorage | Provides access to browser session storage |
URL | Returns the URL for the WebPage |
URLParameters | Collection of URL parameters derived from the URL QueryString |
WebPage | Web Page executed to start the application |
Name | Description |
---|---|
CloseQuery | Fired when the browser navigates away from the WebPage
QueryString |
CreateInstance | CreateInstance is signalled when an instance of a component is created Inherited from Web Application (PRIM_WEB.Application) |
DestroyInstance | DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Web Application (PRIM_WEB.Application) |
DeviceChanged | Fired when the application is resized and the device changes |
PageNotFound | Event signalled by the application router when the active path cannot be matched
Reason, Handled |
PrintEnd | Fired when browser printing finishes |
PrintStart | Fired when browser printing is about to start |
RequestFailed | Fired whenever a request to a server routine fails
Request, Reason, Handled |
RoutingChanged | Event signalled when the web page's URL has changed and the path component of that URL has been processed and all views have been updated |
RoutingChanging |
ConfirmationString |
ServiceWorkerChanged | Event signalled when the Service Worker state changes |
StorageChanged | Fired when storage content has changed
StorageType |
StorageFailed | Fired when a change to the storage cannot be commited
StorageType |
URLChanged | Fired whenever the URL changes |
Name | Description |
---|---|
Alert | Show the browser Alert dialog
Caption |
Confirm | Show the browser Confirm dialog
Caption, ResultCode |
CreateBlob | Create a BLOB
Result, Data, MimeType |
CreateClob | Create a CLOB
Result, Data |
Navigate | Navigate to a URL
Url, Target |
Start printing the web page | |
Prompt | Show the browser Prompt dialog
Caption, Value, ResultCode |
ReportPageNotFound | Method used to trigger page not found processing. If the signalling of the PageNotFound event is not handled, a default page not found message will be displayed.
Reason |