congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WizardButton
Code IndexAdd Tabnine to your IDE (free)

How to use
WizardButton
in
org.apache.wicket.extensions.wizard

Best Java code snippets using org.apache.wicket.extensions.wizard.WizardButton (Showing top 19 results out of 315)

origin: apache/syncope

private void ajaxify(final WizardButton button) {
  button.add(new AjaxFormSubmitBehavior("click") {
origin: apache/wicket

@Override
public boolean getDefaultProcessing()
{
  return button.getDefaultFormProcessing();
}
origin: apache/wicket

@Override
protected void onAfterSubmit(AjaxRequestTarget target)
{
  button.onAfterSubmit();
}
origin: apache/wicket

  /**
   * @see org.apache.wicket.Component#onBeforeRender()
   */
  @Override
  protected void onBeforeRender()
  {
    getForm().setDefaultButton(this);
    super.onBeforeRender();
  }
}
origin: apache/syncope

@Override
protected void onSubmit(final AjaxRequestTarget target) {
  target.add(findParent(Wizard.class));
  button.onSubmit();
}
origin: apache/wicket

  /**
   * @see org.apache.wicket.markup.html.form.Button#onSubmit()
   */
  @Override
  public final void onSubmit()
  {
    onClick();
  }
}
origin: apache/wicket

/**
 * Gets the {@link IWizardModel wizard model}.
 * 
 * @return The wizard model
 */
protected final IWizardModel getWizardModel()
{
  return getWizard().getWizardModel();
}
origin: apache/wicket

@Override
protected void onError(AjaxRequestTarget target)
{
  target.add(findParent(Wizard.class));
  button.onError();
}
 
origin: apache/wicket

@Override
protected void onBeforeRender()
{
  super.onBeforeRender();
  WizardButton button = getDefaultButton(wizard.getWizardModel());
  if (button != null) {
    Form<?> form = button.getForm();
    if (form != null) {
      form.setDefaultButton(button);
    }
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  /**
   * @see org.apache.wicket.Component#onBeforeRender()
   */
  @Override
  protected void onBeforeRender()
  {
    getForm().setDefaultButton(this);
    super.onBeforeRender();
  }
}
origin: apache/wicket

@Override
protected void onSubmit(AjaxRequestTarget target)
{
  target.add(findParent(Wizard.class));
  button.onSubmit();
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  /**
   * @see org.apache.wicket.markup.html.form.Button#onSubmit()
   */
  @Override
  public final void onSubmit()
  {
    onClick();
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Gets the {@link IWizardModel wizard model}.
 * 
 * @return The wizard model
 */
protected final IWizardModel getWizardModel()
{
  return getWizard().getWizardModel();
}
origin: apache/syncope

@Override
protected void onError(final AjaxRequestTarget target) {
  target.add(findParent(Wizard.class));
  button.onError();
  ((BasePage) getPage()).getNotificationPanel().refresh(target);
}
origin: apache/wicket

private void ajaxify(final WizardButton button)
  button.add(new AjaxFormSubmitBehavior("click")
origin: apache/syncope

@Override
protected void onAfterSubmit(final AjaxRequestTarget target) {
  button.onAfterSubmit();
}
origin: apache/syncope

@Override
public boolean getDefaultProcessing() {
  return button.getDefaultFormProcessing();
}
origin: de.tudarmstadt.ukp.inception.app/inception-ui-kb

  @Override
  protected WizardButton newCancelButton(String aId, IWizard aWizard)
  {
    WizardButton button = super.newCancelButton(aId, aWizard);
    button.add(new AjaxEventBehavior("click") {
      private static final long serialVersionUID = 3425946914411261187L;
      @Override
      protected void onEvent(AjaxRequestTarget target) {
        findParent(KnowledgeBaseCreationDialog.class).close(target);
      }
    });
    return button;
  }
};
origin: inception-project/inception

  @Override
  protected WizardButton newCancelButton(String aId, IWizard aWizard)
  {
    WizardButton button = super.newCancelButton(aId, aWizard);
    button.add(new AjaxEventBehavior("click") {
      private static final long serialVersionUID = 3425946914411261187L;
      @Override
      protected void onEvent(AjaxRequestTarget target) {
        findParent(KnowledgeBaseCreationDialog.class).close(target);
      }
    });
    return button;
  }
};
org.apache.wicket.extensions.wizardWizardButton

Javadoc

Base class for buttons that work with IWizard. It uses resource bundles to display the button label.

When wizard buttons are presses (and they pass validation if that is relevant), they pass control to #onClick(), which should do the real work.

Most used methods

  • add
  • getDefaultFormProcessing
  • getWizard
    Gets the IWizard.
  • onAfterSubmit
  • onBeforeRender
  • onClick
    Called when this button is clicked.
  • onError
  • onSubmit
  • getForm
  • onConfigure

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now