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

Power User

Joined: 13/03/2009 19:09:22
Messages: 38
Offline

Hello,

I want to use the function of the restart-button from the status-bar in another button in our application.
Could someone help how to use that function, or isn´t it possible?

Thanks in advance

Frank

CaptainCasa

Power User
[Avatar]

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

Hi,

there is a corresponding Demo in the demo workplace - Genreal > Workplace Management > Restart Workplace.

Code:
     public void onRestart(ActionEvent event) 
     {
         HttpSessionAccess.getCurrentHttpSession().invalidate();
     }
 


This is the "tough" way ;-)

Regards, Björn

Björn Müller, CaptainCasa GmbH
fschlott

Power User

Joined: 13/03/2009 19:09:22
Messages: 38
Offline

Thanks Björn,

i should look more often in the demo-workplace

Regards

Frank
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team