Portlet Factory, Version 6.1.2


 

WebAppAccess

The WebAppAccess is the programmer's interface into the running application.

Through this interface the programmer can access and modify all of the runtime components that are instance specific such as variables, linked Models and linked Java objects. Components that cannot be modified (read-only) are pages, methods, system event listeners and error handlers, which can be accessed through the WebApp interface. The WebAppAccess interface API is available to the developer in methods, LJOs, and JSP pages. WebApps, variables, and linked models can be accessed through the WebAppAccess API.

  • Variables with WebAppAccess

    Variables are used to store data for an instance of a running WebApp, much the way class members are used in Java. Variables can be created at WebApp generation time or at runtime, once created they can be read or updated using the Variables interface API.

  • WebAppAcess with WebApps

    The WebApp is the result of the generation process. If the model you created is profiled then a unique version of a WebApp will be created as required. The WebApp contains all of the structural data required to run the application.

  • Linked models

    Linked models provide a mechanism for the WebApp developer to reuse and share model functionality among other WebApps.

Parent topic: Overview: working with Java


Library | Support |