You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/08/27 08:44:53 UTC

[jira] Resolved: (WICKET-2936) CLONE -wrong redirect BrowserInfoPage and mounted Pages

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

Igor Vaynberg resolved WICKET-2936.
-----------------------------------

      Assignee: Igor Vaynberg  (was: Eelco Hillenius)
    Resolution: Cannot Reproduce

according to martin this is not reproducible

> 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: Igor Vaynberg
>         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.