be.personify.iam.frontend.wicket.panel.common.CreatePanel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of personify-frontend Show documentation
Show all versions of personify-frontend Show documentation
frontend library for different usages
package be.personify.iam.frontend.wicket.panel.common;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
public abstract class CreatePanel extends FormPanel {
private static final long serialVersionUID = 1725217325511287056L;
private Form form;
public FeedbackPanel feedbackPanel;
public CreatePanel(String id) {
super(id);
}
@Override
protected void onInitialize() {
super.onInitialize();
//add the feedbackpanel for the form
feedbackPanel = new FeedbackPanel("formFeedbackPanel");
feedbackPanel.setOutputMarkupId(true);
feedbackPanel.setOutputMarkupPlaceholderTag(true);
add( feedbackPanel );
form = initForm();
add(form);
}
public abstract Form initForm();
public abstract void create();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy