Package org.apache.wicket.settings

Examples of org.apache.wicket.settings.RequestCycleSettings

More documentation is available about each setting in the setter method for the property. @author Jonathan Locke @author Chris Turner @author Eelco Hillenius @author Juergen Donnerstag @author Johan Compagner @author Igor Vaynberg (ivaynberg) @author Martijn Dashorst @author James Carman


  public final RequestCycleSettings getRequestCycleSettings()
  {
    checkSettingsAvailable();
    if (requestCycleSettings == null)
    {
      requestCycleSettings = new RequestCycleSettings();
    }
    return requestCycleSettings;
  }
View Full Code Here


  public final RequestCycleSettings getRequestCycleSettings()
  {
    checkSettingsAvailable();
    if (requestCycleSettings == null)
    {
      requestCycleSettings = new RequestCycleSettings();
    }
    return requestCycleSettings;
  }
View Full Code Here

   *
   * @return the currently available client info
   */
  private ClientProperties getClientProperties()
  {
    RequestCycleSettings requestCycleSettings = getApplication().getRequestCycleSettings();
    boolean gatherExtendedBrowserInfo = requestCycleSettings.getGatherExtendedBrowserInfo();
    ClientProperties properties = null;
    try
    {
      requestCycleSettings.setGatherExtendedBrowserInfo(false);
      WebClientInfo clientInfo = (WebClientInfo) getSession().getClientInfo();
      properties = clientInfo.getProperties();
    }
    finally
    {
      requestCycleSettings.setGatherExtendedBrowserInfo(gatherExtendedBrowserInfo);
    }
    return properties;
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.settings.RequestCycleSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.