cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout with redirect on a URL

Former Member
0 Kudos

Hi,

I have a little Popup-View. I want to integrate a TimedTrigger in this View. In the onAction-Method I want to implement something like "goto http://www.....".

If the time is off, you should leave the whole application and go to a specific URL.

Can you give me a code example where I can redirect to a URL?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Fire an exit-plug from the action handler of the TimedTrigger.

Former Member
0 Kudos

Can you explain it more detailed?

I navigate to the "Plugs"-Sheet. Should I create it as an Inbound Plug or an Outbound Plug? And how can I implement it inside the onAction-Method?

Former Member
0 Kudos

Can you give me more details?

I found this solution to realise it with this java-statement:


String url = "http://www.google.de";
Runtime.getRuntime().exec( "rundll32 url.dll,FileProtocolHandler " + url );

But it does not work. There is the following error messege: "java.io.IOException: rundll32: not found"

Former Member
0 Kudos

Hi,

have flag for your timer if it is off then trigger the action on URL .

use Link to URL UI and call this method when ever the timer is off.

Regards,

Govindu