Web Application (PRIM_WEB.Application)

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.


ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
ConsoleBrowser Console object
DeviceDevice type on which the application is executing
HistoryBrowser History
LoadingImageImage to be displayed in place of the default loading image
LocalStorageProvides access to browser local storage
NameName identifies the component Inherited from Object (PRIM_OBJT)
OnlineTrue if the browser thinks there is a valid connection
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe 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)
RoutingReference to component that provides access to the application's current routing state
ServiceWorkerReference to component that provides access to the application's current Service Worker state
SessionReference to application session
SessionStorageProvides access to browser session storage
URLReturns the URL for the WebPage
URLParametersCollection of URL parameters derived from the URL QueryString
WebPageWeb Page executed to start the application


CloseQueryFired when the browser navigates away from the WebPage
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Web Application (PRIM_WEB.Application)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Web Application (PRIM_WEB.Application)
DeviceChangedFired when the application is resized and the device changes
PageNotFoundEvent signalled by the application router when the active path cannot be matched
Reason, Handled
PrintEndFired when browser printing finishes
PrintStartFired when browser printing is about to start
RequestFailedFired whenever a request to a server routine fails
Request, Reason, Handled
RoutingChangedEvent 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
ServiceWorkerChangedEvent signalled when the Service Worker state changes
StorageChangedFired when storage content has changed
StorageFailedFired when a change to the storage cannot be commited
URLChangedFired whenever the URL changes


AlertShow the browser Alert dialog
ConfirmShow the browser Confirm dialog
Caption, ResultCode
CreateBlobCreate a BLOB
Result, Data, MimeType
CreateClobCreate a CLOB
Result, Data
NavigateNavigate to a URL
Url, Target
PrintStart printing the web page
PromptShow the browser Prompt dialog
Caption, Value, ResultCode
ReportPageNotFoundMethod 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.

See also

All Component Classes

Technical Reference