Ok, here is my attempt at a quickstart to show the problem.

http://www.nabble.com/file/6272/quickstart-clientinfo.zip
quickstart-clientinfo.zip   (minus the lib folder, using Wicket 1.3)

When you start Jetty it has two Wicket Applications mounted at app and app2.  

Steps to see problem:

1. go to http://localhost:8081/quickstart/app
2.  This takes you to Index
3. You will be redirected immediately to InterceptPage
4.  Click Continue
5.  You will be sent back to Index

6. go to http://localhost:8081/quickstart/app2
7.  This takes you to Index
8. You will be redirected immediately to InterceptPage
9.  Click Continue (nothing appears to happen)
10. Click Continue
11.  You will be sent to WrongPage

The only differences are QuickStartApplication/QuickStart2Application where 
setGatherExtendedBrowserInfo is set to false/true and I needed to use two
different Session objects (QuickStartSession/QuickStart2Session) because
clientInfo is cached.

For this sceenario to "work" I needed to attempt to retrieve the clientInfo
on the InterceptPage (before attempting the continueToDestination) otherwise
it succeeded as you expected.  But once I added in the
getSession().getClientInfo() thats when it broke down.  

I know the code is a little rough and forced but it does appear to
demonstrate the problem.

Thanks
Chuck



Eelco Hillenius wrote:
> 
>> However, when I do this in
>> Application.init():
>>
>> getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
>>
>> The continueToOriginalDestination() does not return the correct value.  I
>> think it has something to do with the way that extended info is gathered
>> (something about posting data to the BrowserInfoPage) that it loses my
>> original destination.
> 
> Nope, that shouldn't be the case. The redirect to extended browser
> info doesn't rely on the original destination thingy.
> 
>> Does this seem to be accurate?  If so, how can I overcome this problem? 
>> If
>> I get an extra minute I'll try to put together a quickstart but I was
>> hoping
>> that if one of you was familiar with the BrowserInfoPage and its
>> functioning
>> that you might be able to give me a headstart.
> 
> Quickstart would be great. I haven't seen an issue like this before.
> 
> Eelco
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
-- 
View this message in context: 
http://www.nabble.com/quirk-with-getRequestCycleSettings%28%29.setGatherExtendedBrowserInfo%28true%29-tf3176153.html#a8825874
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to