Examples of IDebugSettings


Examples of org.apache.wicket.settings.IDebugSettings

    }

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

    final IDebugSettings 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.IDebugSettings

  public Component(final String id, final IModel<?> model)
  {
    setId(id);
    getApplication().getComponentInstantiationListeners().onInstantiation(this);

    final IDebugSettings 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.IDebugSettings

    }

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

    final IDebugSettings 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.IDebugSettings

  public Component(final String id, final IModel<?> model)
  {
    setId(id);
    getApplication().getComponentInstantiationListeners().onInstantiation(this);

    final IDebugSettings 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.IDebugSettings

   */
  private void checkRendering(final MarkupContainer renderedContainer)
  {
    // If the application wants component uses checked and
    // the response is not a redirect
    final IDebugSettings 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.IDebugSettings

  public Component(final String id, final IModel<?> model)
  {
    setId(id);
    getApplication().getComponentInstantiationListeners().onInstantiation(this);

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

Examples of org.apache.wicket.settings.IDebugSettings

    }

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

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

Examples of org.apache.wicket.settings.IDebugSettings

   */
  private void checkRendering(final MarkupContainer renderedContainer)
  {
    // If the application wants component uses checked and
    // the response is not a redirect
    final IDebugSettings 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.IDebugSettings

  public Component(final String id, final IModel<?> model)
  {
    setId(id);
    getApplication().getComponentInstantiationListeners().onInstantiation(this);

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

Examples of org.apache.wicket.settings.IDebugSettings

    IJavaScriptLibrarySettings jsLibrarySettings = application.getJavaScriptLibrarySettings();
    ResourceReference wicketAjaxReference = jsLibrarySettings.getWicketAjaxReference();
    response.render(JavaScriptHeaderItem.forReference(wicketAjaxReference));

    final IDebugSettings 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
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.