On Fri, May 25, 2018 at 2:36 PM, Ravi <ravi.k...@intellinet.de> wrote:

> Hi,
>
> I was wondering why AjaxRequestHandler sends a redirect when I add a page
> to
> the ART.
>
> I understand that for most cases it does not make sense to add the whole
> page, but I'm just lucky enough to be on one of those situation.
> Our page is being integrated in a third party page via JQuery.load(). At
> some point we replace the current session and I want to re-render the whole
> page to update the session urls.
>
> A redirect sends me straight to our application, loosing the third party
> page.
>
> Since I was /intentionally adding the page to the ART/, shouldn't it be
> treated as any other component?
>

A component that can be updated with Ajax must have a markup id. It may add
or replace JS/CSS in the <head>, but not remove such!

A page will need to replace the whole <html> (i.e. both <head> and <body>),
and maybe also update the url because if this is the same page type then
maybe the parameters are different, or maybe the page type is different
than the current one and the mount point is different. All this is possible
with modern browsers but there might be complications.


>
> Thanks,
>
> Ravi
>
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to