You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Marcelo C. de Freitas" <ma...@gmail.com> on 2007/09/04 16:41:08 UTC

[T4]Injecting page into a Popup

Hello Tapestry Gurus!

   Is there a simple way to inject a page into a popup window from an
async listener in tapestry 4.1?


-- 
Marcelo C. Freitas

IM's:
MSN: baterausp@hotmail.com
ICQ: 24263609
Jabber: OgRo@jabber.org
GTalk: marcelo.batera@gmail.com
Yahoo: baterausp

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


Re: [T4]Injecting page into a Popup

Posted by "Marcelo C. de Freitas" <ma...@gmail.com>.
thanks for both answers! They both work and are awesome, but I think
I'll stick with the renderer approach.

2007/9/4, Jonathan Barker <jo...@gmail.com>:
>
> What about implementing IExternalPage for the page you want in the popup,
> and passing the parameters through an ExternalLink?
>
>
> > -----Original Message-----
> > From: Marcelo C. de Freitas [mailto:marcelo.batera@gmail.com]
> > Sent: Tuesday, September 04, 2007 10:56 AM
> > To: Tapestry users
> > Subject: Re: [T4]Injecting page into a Popup
> >
> > Let me elaborate more on my issue.
> >
> > I want to open a page in a popup window, but I need to set some
> > properties in it first.
> >
> > Hence, I thought it'd be best to use listeners and page injection to
> > do so (returning the page with the properties set by the listener).
> > The problem is: how can I open the returned page in a popup window?
> >
> > Do you think there is a better solution for doing this?
> >
> > Also, where did contrib:PopupLink go in t4.1 (or it's just missing in the
> > docs)?
> >
> > 2007/9/4, Marcelo C. de Freitas <ma...@gmail.com>:
> > > Hello Tapestry Gurus!
> > >
> > >    Is there a simple way to inject a page into a popup window from an
> > > async listener in tapestry 4.1?
> > >
> > >
> > > --
> > > Marcelo C. Freitas
> >
> >
> > --
> > Marcelo C. Freitas
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Marcelo C. Freitas

IM's:
MSN: baterausp@hotmail.com
ICQ: 24263609
Jabber: OgRo@jabber.org
GTalk: marcelo.batera@gmail.com
Yahoo: baterausp

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


RE: [T4]Injecting page into a Popup

Posted by Jonathan Barker <jo...@gmail.com>.
What about implementing IExternalPage for the page you want in the popup,
and passing the parameters through an ExternalLink?


> -----Original Message-----
> From: Marcelo C. de Freitas [mailto:marcelo.batera@gmail.com]
> Sent: Tuesday, September 04, 2007 10:56 AM
> To: Tapestry users
> Subject: Re: [T4]Injecting page into a Popup
> 
> Let me elaborate more on my issue.
> 
> I want to open a page in a popup window, but I need to set some
> properties in it first.
> 
> Hence, I thought it'd be best to use listeners and page injection to
> do so (returning the page with the properties set by the listener).
> The problem is: how can I open the returned page in a popup window?
> 
> Do you think there is a better solution for doing this?
> 
> Also, where did contrib:PopupLink go in t4.1 (or it's just missing in the
> docs)?
> 
> 2007/9/4, Marcelo C. de Freitas <ma...@gmail.com>:
> > Hello Tapestry Gurus!
> >
> >    Is there a simple way to inject a page into a popup window from an
> > async listener in tapestry 4.1?
> >
> >
> > --
> > Marcelo C. Freitas
> 
> 
> --
> Marcelo C. Freitas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org


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


Re: [T4]Injecting page into a Popup

Posted by Shing Hing Man <ma...@yahoo.com>.
Have you tried DireckLink with a renderer ?
Please take a look at the example on popups below.

http://lombok.demon.co.uk/tapestry4Demo/app

Shing 

--- "Marcelo C. de Freitas" <ma...@gmail.com>
wrote:

> Let me elaborate more on my issue.
> 
> I want to open a page in a popup window, but I need
> to set some
> properties in it first.
> 
> Hence, I thought it'd be best to use listeners and
> page injection to
> do so (returning the page with the properties set by
> the listener).
> The problem is: how can I open the returned page in
> a popup window?
> 
> Do you think there is a better solution for doing
> this?
> 
> Also, where did contrib:PopupLink go in t4.1 (or
> it's just missing in the docs)?
> 
> 2007/9/4, Marcelo C. de Freitas
> <ma...@gmail.com>:
> > Hello Tapestry Gurus!
> >
> >    Is there a simple way to inject a page into a
> popup window from an
> > async listener in tapestry 4.1?
> >
> >
> > --
> > Marcelo C. Freitas
> 
> 
> -- 
> Marcelo C. Freitas
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail:
> users-help@tapestry.apache.org
> 
> 


Home page : http://www.lombok.demon.co.uk/



      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html

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


Re: [T4]Injecting page into a Popup

Posted by "Marcelo C. de Freitas" <ma...@gmail.com>.
Let me elaborate more on my issue.

I want to open a page in a popup window, but I need to set some
properties in it first.

Hence, I thought it'd be best to use listeners and page injection to
do so (returning the page with the properties set by the listener).
The problem is: how can I open the returned page in a popup window?

Do you think there is a better solution for doing this?

Also, where did contrib:PopupLink go in t4.1 (or it's just missing in the docs)?

2007/9/4, Marcelo C. de Freitas <ma...@gmail.com>:
> Hello Tapestry Gurus!
>
>    Is there a simple way to inject a page into a popup window from an
> async listener in tapestry 4.1?
>
>
> --
> Marcelo C. Freitas


-- 
Marcelo C. Freitas

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