}
}
}
private void addContent() {
final WebClientInfo clientInfo = (WebClientInfo) WebRequestCycle.get().getClientInfo();
final boolean gatherExtendedBrowserInfo = //
WebApplication.get().getRequestCycleSettings().getGatherExtendedBrowserInfo();
// Note: Screen will be redrawn on every toggle click
// (important when not using models for Labels).
add(new Label("clientUserAgent", clientInfo.getUserAgent()));
add(new Label("gatherExtendedBrowserInfo", Boolean.toString(gatherExtendedBrowserInfo)));
final PageParameters params = new PageParameters();
params.add(PARAM_GATHER_EXTENDED_BROWSER_INFO, Boolean.toString(!gatherExtendedBrowserInfo));
add(new BookmarkablePageLink<Void>("toggleGatherExtendedBrowserInfo", //
DetectClientCapabilitiesPage.class, params));
add(new MultiLineLabel("clientProperties", clientInfo.getProperties().toString()));
}