How to initiate reset from the web page?

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
ekim
Observer
Observer
Posts: 5
Joined: Mon May 17, 2010 8:51 am

How to initiate reset from the web page?

Post by ekim »

Hello,

I need to create a button on a web page that will perform the same action as the time out - clear the cache, close all windows and open a start page. Something like a log-out button.

Is this possible, and if it is how to create it ?

Thanks!

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Enable the Dynamic External Java Commands, and specify a keyword for Java Exit.

[Java]
EnableExternalJava=True
JavaExit=ExitNow

Then use the new Java command to exit PWB.

Code: Select all

function OnClickExit()
{
    window.external.ExitNow
}
See following for example:
http://www.teamsoftwaresolutions.com/beta/external.htm

--Scott

ekim
Observer
Observer
Posts: 5
Joined: Mon May 17, 2010 8:51 am

Post by ekim »

Thanks!
I will try that :)

Post Reply