All Downloads are FREE. Search and download functionalities are using the official Maven repository.

be.personify.iam.frontend.wicket.panel.common.UpdatePanel Maven / Gradle / Ivy

There is a newer version: 1.5.2.RELEASE
Show newest version
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