[
https://issues.apache.org/jira/browse/WICKET-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pawel Dolega updated WICKET-2936:
---------------------------------
Affects Version/s: 1.4.9
(was: 1.3.0-beta2)
Description:
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);
was:BrowserInfoPage does wrong redirect for mounted pages. See
http://www.nabble.com/Redirected-after-BrowserInfoPage-and-mounted-Pages.-tf4301676.html#a12244373
Fix Version/s: (was: 1.3.0-beta4)
> 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
>
> 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.