Web Application (PRIM_WEB.Application)
Web Application Object
Ancestors - Object (PRIM_OBJT)
Details
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.
Properties
Name |
Description |
ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
|
ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
|
ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
|
Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
|
ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
|
ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
|
Browser Console object |
|
Device type on which the application is executing |
|
Browser History |
|
Image to be displayed in place of the default loading image |
|
Provides access to browser local storage |
|
Name identifies the component Inherited from Object (PRIM_OBJT) |
|
True if the browser thinks there is a valid connection |
|
Owner owns this component Inherited from Object (PRIM_OBJT) |
|
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) |
|
Reference to component that provides access to the application's current routing state |
|
Reference to component that provides access to the application's current Service Worker state |
|
Reference to application session |
|
Provides access to browser session storage |
|
Returns the URL for the WebPage |
|
Collection of URL parameters derived from the URL QueryString |
|
Web Page executed to start the application |
Events
Name |
Description |
Fired when the browser navigates away from the WebPage QueryString |
|
CreateInstance is signalled when an instance of a component is created [Inherited from Web Application (PRIM_WEB.Application) |
|
DestroyInstance is signalled when an instance of a component is about to be destroyed [Inherited from Web Application (PRIM_WEB.Application) |
|
Fired when the application is resized and the device changes |
|
Event signalled by the application router when the active path cannot be matched Reason, Handled |
|
Fired when browser printing finishes |
|
Fired when browser printing is about to start |
|
Fired whenever a request to a server routine fails Request, Reason, Handled |
|
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 |
|
ConfirmationString |
|
Event signalled when the Service Worker state changes |
|
Fired when storage content has changed StorageType |
|
Fired when a change to the storage cannot be commited StorageType |
|
Fired whenever the URL changes |
Methods
Name |
Description |
Show the browser Alert dialog Caption |
|
Show the browser Confirm dialog Caption, ResultCode |
|
Create a BLOB Result, Data, MimeType |
|
Create a CLOB Result, Data |
|
Navigate to a URL Url, Target |
|
Start printing the web page |
|
Show the browser Prompt dialog Caption, Value, ResultCode |
|
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 |