You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Yohan Yudanara <yy...@balicamp.com> on 2008/08/06 08:25:11 UTC

IPage and ILink difference

Dear all,

what is the difference between using IPage and ILink for redirecting
page?

Which one is recommended to be put on listener that will load another
page?

>>From googling on the net, I found this explanation:
An ILink will cause a redirect url to be sent to the browser. An IPage
will be rendered in the current request cycle.

Could anyone plz give me more explanation about that statement?

Thanks in advance,
Yohan





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


Re: IPage and ILink difference

Posted by Howard Lewis Ship <hl...@gmail.com>.
Generally, returning a page is what you want.

Returning an ILink is generally used for "redirect after post"
processing in Tapestry 4.



On Tue, Aug 5, 2008 at 11:25 PM, Yohan Yudanara <yy...@balicamp.com> wrote:
> Dear all,
>
> what is the difference between using IPage and ILink for redirecting
> page?
>
> Which one is recommended to be put on listener that will load another
> page?
>
> >From googling on the net, I found this explanation:
> An ILink will cause a redirect url to be sent to the browser. An IPage
> will be rendered in the current request cycle.
>
> Could anyone plz give me more explanation about that statement?
>
> Thanks in advance,
> Yohan
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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