Examples of DebugSettings


Examples of org.apache.wicket.jmx.wrapper.DebugSettings

      Application appBean = new Application(application);
      register(application, appBean, appBeanName);

      register(application, new ApplicationSettings(application), new ObjectName(domain
        + ":type=Application,name=ApplicationSettings"));
      register(application, new DebugSettings(application), new ObjectName(domain
        + ":type=Application,name=DebugSettings"));
      register(application, new MarkupSettings(application), new ObjectName(domain
        + ":type=Application,name=MarkupSettings"));
      register(application, new ResourceSettings(application), new ObjectName(domain
        + ":type=Application,name=ResourceSettings"));
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

    }

    // Set child's parent
    child.setParent(this);

    final DebugSettings debugSettings = Application.get().getDebugSettings();
    if (debugSettings.isLinePreciseReportingOnAddComponentEnabled()
      && debugSettings.getComponentUseCheck())
    {
      child.setMetaData(ADDED_AT_KEY,
        ComponentStrings.toString(child, new MarkupException("added")));
    }
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

    init();

    getApplication().getComponentInstantiationListeners().onInstantiation(this);

    final DebugSettings debugSettings = getApplication().getDebugSettings();
    if (debugSettings.isLinePreciseReportingOnNewComponentEnabled() && debugSettings.getComponentUseCheck())
    {
      setMetaData(CONSTRUCTED_AT_KEY,
        ComponentStrings.toString(this, new MarkupException("constructed")));
    }
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

    if (getFlag(FLAG_OUTPUT_MARKUP_ID))
    {
      tag.putInternal(MARKUP_ID_ATTR_NAME, getMarkupId());
    }

    DebugSettings debugSettings = getApplication().getDebugSettings();
    String componentPathAttributeName = debugSettings.getComponentPathAttributeName();
    if (Strings.isEmpty(componentPathAttributeName) && debugSettings.isOutputComponentPath())
    {
      // fallback to the old 'wicketpath'
      componentPathAttributeName = "wicketpath";
    }
    if (Strings.isEmpty(componentPathAttributeName) == false)
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

  public final DebugSettings getDebugSettings()
  {
    checkSettingsAvailable();
    if (debugSettings == null)
    {
      debugSettings = new DebugSettings();
    }
    return debugSettings;
  }
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

   */
  public static void contributeAjax(final Application application, final IHeaderResponse response)
  {
    JavaScriptLibrarySettings jsLibrarySettings = application.getJavaScriptLibrarySettings();

    final DebugSettings debugSettings = application.getDebugSettings();
    if (debugSettings.isAjaxDebugModeEnabled())
    {
      response.render(JavaScriptHeaderItem.forReference(jsLibrarySettings.getWicketAjaxDebugReference()));
      response.render(JavaScriptHeaderItem.forScript("Wicket.Ajax.DebugWindow.enabled=true;",
        "wicket-ajax-debug-enable"));
    }
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

   */
  private void checkRendering(final MarkupContainer renderedContainer)
  {
    // If the application wants component uses checked and
    // the response is not a redirect
    final DebugSettings debugSettings = getApplication().getDebugSettings();
    if (debugSettings.getComponentUseCheck())
    {
      final List<Component> unrenderedComponents = new ArrayList<Component>();
      final StringBuilder buffer = new StringBuilder();
      renderedContainer.visitChildren(new IVisitor<Component, Void>()
      {
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

              .append('"');
          }
        }
      }

      DebugSettings debugSettings = getApplication().getDebugSettings();
      String componentPathAttributeName = debugSettings.getComponentPathAttributeName();
      if (Strings.isEmpty(componentPathAttributeName) && debugSettings.isOutputComponentPath())
      {
        // fallback to the old 'wicketpath'
        componentPathAttributeName = "wicketpath";
      }
      if (Strings.isEmpty(componentPathAttributeName) == false)
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

              .append('"');
          }
        }
      }

      DebugSettings debugSettings = getApplication().getDebugSettings();
      String componentPathAttributeName = debugSettings.getComponentPathAttributeName();
      if (Strings.isEmpty(componentPathAttributeName) && debugSettings.isOutputComponentPath())
      {
        // fallback to the old 'wicketpath'
        componentPathAttributeName = "wicketpath";
      }
      if (Strings.isEmpty(componentPathAttributeName) == false)
View Full Code Here

Examples of org.apache.wicket.settings.DebugSettings

              .append('"');
          }
        }
      }

      DebugSettings debugSettings = getApplication().getDebugSettings();
      String componentPathAttributeName = debugSettings.getComponentPathAttributeName();
      if (Strings.isEmpty(componentPathAttributeName) && debugSettings.isOutputComponentPath())
      {
        // fallback to the old 'wicketpath'
        componentPathAttributeName = "wicketpath";
      }
      if (Strings.isEmpty(componentPathAttributeName) == false)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.