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

org.wicketstuff.egrid.column.RequiredEditableTextFieldColumn Maven / Gradle / Ivy

There is a newer version: 10.3.0
Show newest version
package org.wicketstuff.egrid.column;

import org.apache.wicket.markup.html.form.FormComponent;
import org.apache.wicket.model.IModel;
/**
 * 
 * @author Nadeem Mohammad
 *
 */
public class RequiredEditableTextFieldColumn extends EditableTextFieldPropertyColumn
{

	private static final long serialVersionUID = 1L;

	public RequiredEditableTextFieldColumn(final IModel displayModel, final String propertyExpression)
	{
		super(displayModel, propertyExpression);
	}

	public RequiredEditableTextFieldColumn(final IModel displayModel, final String propertyExpression, final boolean isEditable)
	{
		super(displayModel, propertyExpression, isEditable);
	}

	@Override
	protected void addBehaviors(final FormComponent editorComponent)
	{
		editorComponent.setRequired(true);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy