be.personify.iam.frontend.wicket.panel.common.UpdatePanel 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 UpdatePanel extends FormPanel {
private static final long serialVersionUID = -5488631638721733259L;
private Form form;
public FeedbackPanel feedbackPanel;
public UpdatePanel(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 update();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy