Odd behaviour after setGatherExtendedBrowserInfo(true)

2008-02-13 Thread Cristi Manole
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)

2008-02-13 Thread Igor Vaynberg
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]