--Control opening work-screens
1 post
• Page 1 of 1
--Control opening work-screens
This article is outdated - please use our new system at
https://doc.sibvisions.com
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.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
1 post
• Page 1 of 1