This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--Control opening work-screens

Information about development with ProjX.

--Control opening work-screens

Postby Development@SIB » Fri Nov 27, 2015 9:55 pm

This article is outdated - please use our new system at

The ProjX application is a standard implementation of JVx' RemoteWorkScreenApplication. It's the default application frame for applications with work-screens. It controls the access to work-screens and configures the application frame for it's different states (logged-on, logged-out, anonymous user). It's not allowed to open work-screens if no user is logged-on or if anonymous usage wasn't configured.

A work-screen will be opened, if it's allowed to open the screen. The security will be controled by the server-side as well, but the application has some UI relevant checks.

If you want to change the default checks or if you need to execute custom tasks before a work-screen would be opened, simply extend ProjX and change one of following methods

Code: Select all
public synchronized IWorkScreen openWorkScreen(String pClassName,
                                               Modality pModality,
                                               AbstractConnection pConnection,
                                               Map<String, Object> pParameter,
                                               boolean pSingleInstance) throws Throwable

This methods performs security checks and fires before/after events like before open workscreen.

The work-screen instance will be loaded with

Code: Select all
public IWorkScreen loadWorkScreen(IApplication pApplication, String pClassName,
                                  AbstractConnection pConnection,
                                  Map<String, Object> pParameter)

This is the right method if you want to use custom classloaders for loading your work-screens.
User avatar
Posts: 313
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation