Hi

On Mon, Aug 1, 2011 at 9:57 PM, Bo Gao <eli...@gmail.com> wrote:
> In my page, i use ajax to load another page into a popup window(a floating 
> div). the code is like this
> ...
> var manager = new Tapestry.ZoneManager({
>    "element" : this.zone
> });
> manager.updateFromURL(this.url);
>
> and the problems is that if then I click any Event link in the main page to 
> update a zone,
> the returned json contains something like redirect: "/", and be redirected to 
> Index page.
>

The redirection can be because of a number of reasons like an invalid
context parameter, or security redirection, or even a redirection in
your own page.

> I guess when I load another page in a popup window, the active page changed. 
> So I can't
> call the event link on that page.

No, it doesn't work that way. Event links have no concept of an active
page. You can even directly type in an event llink in the address bar
and it will still work.

>
> In this situation, how to make these event link works,
>
> I see some url created by ComponentResources.createEventLink, contains 
> ....?t:cp=some/page
> What's this means, can this help to solve my problem?
>

It think it means that your event url is coming from a block belonging
to some other page.

> Thanks very much.
>
> --
> Bo Gao
> eli...@gmail.com
>
>

>
>
>
>
>



-- 

regards

Taha Hafeez Siddiqi (tawus)
http://tawus.wordpress.com

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

Reply via email to