[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Active Workpage  XML
Forum Index -> Development
Author Message
gargula

Power User

Joined: 18/01/2008 13:01:44
Messages: 34
Offline

Hi community,

we implemrnt now a help for our application. We have static html-pages for every workpage (dialog).
Now we most know the "active" workpage in the workplace...

Can you help me???

regards
Christian
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi Christian,

...you could already find out by regstering as workpage life cycle listener and then keep in mind the last activated workpage - but we can also easily extend the IWorkpageContainer interface + will do so for next update.

Btw.: we can tell you the last workpage that was activated from the "workpage selector area" - in case of isolating workpages as windows this may not be the one that the user just focuses (switching between parallel popups is not communicated to the server side).

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

...the API extension in IWorkpageContainer is:

Code:
     /**
      * Returns the workpage that is currently shown within the content area
      * of the workplace.
      */
     public IWorkpage getCurrentWorkpage();
 
     /**
      * Returns the workpage that is currently selected within the workpage
      * selector. This function must only be called when using the ROWWORKPAGESELECTOR
      * component.
      */
     public IWorkpage getCurrentlySelectedWorkpage();
 


Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team