Hi,

Do you use *Ajax* button to submit the form ?
If you use normal (non-Ajax) submit button then you will leave the page.


On Wed, Dec 11, 2013 at 10:12 AM, J.K. Baltzersen <jornb...@pvv.org> wrote:

> Thanks, but it is not the confirmation dialog itself that is the problem,
> it
> is the fact that the browser tries to leave the page.
>
> If I disable the confirmation dialog, all that will happen is that the user
> is thrown off the page without any confirmation. That is not what is
> intended.
>
> I have not called setResponsePage. All that I have done is overriden the
> CloseButtonCallback, and that somehow causes a page switch (with a
> confirmation dialog), which it -- in my humbe opinion -- should not.
>
> That is, I am not just getting this annoying confirmation dialog. The user
> is also thrown out (login page appears) if leave page is chosen. That is
> the
> main problem. The confirmation dialog is secondary to that.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/user-activity-disabled-during-page-load-tp4662891p4662908.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to