final Panel bBar = (Panel)super.newButtonBar(id);
AjaxButton finish = new AjaxButton("finish", new ResourceModel("org.apache.wicket.extensions.wizard.finish")) {
private static final long serialVersionUID = 1L;
public boolean isEnabled() {
IWizardStep activeStep = getWizardModel().getActiveStep();
return ((activeStep != null) && getWizardModel().isLastStep(activeStep));
}
@Override
protected void onSubmit(AjaxRequestTarget target, Form<?> form) {