You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Cristi Manole <cr...@gmail.com> on 2008/02/13 14:04:15 UTC
Odd behaviour after setGatherExtendedBrowserInfo(true)
Hello,
I wanned to be able to get the browser client size, so I followed the
examples and put
getRequestCycleSettings().setGatherExtendedBrowserInfo(true) in my
Application init method.
I can get the parameters without any problem, but now on the login page,
after I submit, for a few seconds I get a page with a message "If you see
this, it means that both javascript and meta-refresh are not support by the
browser configuration. Please click <<this link>> to continue to the
original destination". Then I am automatically redirected.
My problem here is that now *some ajax wicket components don't work ok when
i first click then - i have to refresh that page*.
I am certain this is due to extendedbrowserinfo.
*What I want is for that info message NOT to appear and to understand what
is happening and how i could make the links to work as before. *
I'm using firefox with what's activated by default when installed.
Tks in advance,
Cristi
Re: Odd behaviour after setGatherExtendedBrowserInfo(true)
Posted by Igor Vaynberg <ig...@gmail.com>.
ajax doesnt work because probably the ajax request is redirected to
that page...that page is what gathers all the browser info through
javascript...
please add a jira issue for this, we should detect if the request is
ajax and if it is not do the redirect to the browser detection page...
-igor
On Feb 13, 2008 5:04 AM, Cristi Manole <cr...@gmail.com> wrote:
> Hello,
>
> I wanned to be able to get the browser client size, so I followed the
> examples and put
> getRequestCycleSettings().setGatherExtendedBrowserInfo(true) in my
> Application init method.
>
> I can get the parameters without any problem, but now on the login page,
> after I submit, for a few seconds I get a page with a message "If you see
> this, it means that both javascript and meta-refresh are not support by the
> browser configuration. Please click <<this link>> to continue to the
> original destination". Then I am automatically redirected.
>
> My problem here is that now *some ajax wicket components don't work ok when
> i first click then - i have to refresh that page*.
>
> I am certain this is due to extendedbrowserinfo.
>
> *What I want is for that info message NOT to appear and to understand what
> is happening and how i could make the links to work as before. *
>
> I'm using firefox with what's activated by default when installed.
>
> Tks in advance,
> Cristi
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org