[ 
https://issues.apache.org/jira/browse/WICKET-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov updated WICKET-2936:
------------------------------------

    Attachment: wicket-2936.tgz

Please modify the attached application so that it shows the problem.
I cannot reproduce it so far.

> CLONE -wrong redirect BrowserInfoPage and mounted Pages
> -------------------------------------------------------
>
>                 Key: WICKET-2936
>                 URL: https://issues.apache.org/jira/browse/WICKET-2936
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.9
>            Reporter: Pawel Dolega
>            Assignee: Eelco Hillenius
>         Attachments: wicket-2936.tgz
>
>
> I've just hit into this issue in 1.4.9 release. My webapp context is being 
> swollowed:
> I am using the functionality like this;
>       public BarePageTemplate(PageParameters params) {
>               super(params);
>               verifyJS();     
>       }
>       
>       protected void verifyJS() {
>               int width = 
> ((WebClientInfo)getRequestCycle().getClientInfo()).getProperties().getBrowserWidth();
>               boolean jsEnabled = width != -1;
>               if(!jsEnabled) {
>                       String ip = 
> ((WebRequest)getRequest()).getHttpServletRequest().getRemoteAddr();
>                       getRequestCycle().setResponsePage(new 
> JsNotEnabledError(this, new JsNotEnabledException()));
>               }
>       }
> and in my Application class i got following line:
> getRequestCycleSettings().setGatherExtendedBrowserInfo(true);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to