You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Patrick Yip <yi...@ICG.com> on 2005/08/18 18:43:09 UTC

How to close the brower Inside a Listener? (TP 3.0.3)

I have a simple form that have 2 submits that tied to 2 listeners.
One submit is to Save and the other is to Cancel.
 
Is it possible to programmatically close the browser inside the Cancel
listener?
 
 
 
 
 
 
 

Re: How to close the brower Inside a Listener? (TP 3.0.3)

Posted by Paul Cantrell <ca...@pobox.com>.
You could try having the listener redirect to a IPage that contains  
Javascript to close the browser window.

On Aug 18, 2005, at 10:43 AM, Patrick Yip wrote:

> I have a simple form that have 2 submits that tied to 2 listeners.
> One submit is to Save and the other is to Cancel.
>
> Is it possible to programmatically close the browser inside the Cancel
> listener?

_________________________________________________________________

"Prediction is hard, especially of the future."  -- Niels Bohr


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org