[Seaside] Ajax callback and rendering a new page

Lukas Renggli renggli at gmail.com
Wed Feb 4 06:38:26 UTC 2009


> Getting control back on the server is easy using code something like:
> html updater callback: [:r | "display a new page" ]
>
> My problem is how do I render a totally new page from within the callback.
>  Is this possible?

Have a look at how WAAnchorTag creates the URL for a callback that
does a full refresh. Use the same technique to create an URL and
combine it with the following Javascript:

    window.location = "http://www.somewhere.com/?_s=123&_k=456&7

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list