Package org.apache.wicket

Examples of org.apache.wicket.RuntimeConfigurationType


   */
  @Override
  protected void onRender() {
    super.onRender();
   
    RuntimeConfigurationType configurationType = Application.get().getConfigurationType();
    if (configurationType.equals(RuntimeConfigurationType.DEVELOPMENT)
        && !Application.get().getMarkupSettings().getStripWicketTags()) {
      log
          .warn("Application is in DEVELOPMENT mode && Wicket tags are not stripped,"
              + " Firefox 3.0 will not render the OMap."
              + " Change to DEPLOYMENT mode  || turn on Wicket tags stripping."
View Full Code Here


   * @return javascript to initialize cometd on client side
   */
  private String _renderInitScript()
  {
    final Map<String, Object> params = new HashMap<String, Object>();
    final RuntimeConfigurationType configurationType = Application.get().getConfigurationType();
    if (configurationType.equals(RuntimeConfigurationType.DEVELOPMENT))
      params.put("logLevel", "info");
    else
      params.put("logLevel", "error");
    params.put("cometdServletPath", getCometdServletPath());
    return TEMPLATE_INIT.asString(params);
View Full Code Here

   * @see org.apache.wicket.Component#onBeforeRender()
   */
  @Override
  protected void onBeforeRender() {
   
    RuntimeConfigurationType configurationType = Application.get().getConfigurationType();
    if (configurationType.equals(RuntimeConfigurationType.DEVELOPMENT)
        && !Application.get().getMarkupSettings().getStripWicketTags())
    {
      log.warn("Application is in DEVELOPMENT mode && Wicket tags are not stripped,"
          + " Firefox 3.0 will not render the GMap."
          + " Change to DEPLOYMENT mode  || turn on Wicket tags stripping." + " See:"
View Full Code Here

  @Override
  protected void onRender()
  {
    super.onRender();

    RuntimeConfigurationType configurationType = Application.get().getConfigurationType();
    if (configurationType.equals(RuntimeConfigurationType.DEVELOPMENT) &&
      !Application.get().getMarkupSettings().getStripWicketTags())
    {
      log.warn("Application is in DEVELOPMENT mode && Wicket tags are not stripped,"
        + " Firefox 3.0 will not render the OMap."
        + " Change to DEPLOYMENT mode  || turn on Wicket tags stripping." + " See:"
View Full Code Here

    private WicketConfiguration wicketConfiguration;
   
    public void init() {
        super.init();

        RuntimeConfigurationType configurationType = getConfigurationType();
        if (RuntimeConfigurationType.DEVELOPMENT == configurationType) {
            log.warn("Enabling resource reloading in DEVELOPMENT mode");
            getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
        }
View Full Code Here

TOP

Related Classes of org.apache.wicket.RuntimeConfigurationType

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.