org.wicketstuff.egrid.column.EditableTextFieldPropertyColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicketstuff-editable-grid Show documentation
Show all versions of wicketstuff-editable-grid Show documentation
Add/Edit/Delete functionality all at once
package org.wicketstuff.egrid.column;
import org.apache.wicket.markup.html.form.FormComponent;
import org.apache.wicket.model.IModel;
/**
*
* @author Nadeem Mohammad
*
*/
public class EditableTextFieldPropertyColumn extends AbstractEditablePropertyColumn
{
private static final long serialVersionUID = 1L;
public EditableTextFieldPropertyColumn(IModel displayModel, String propertyExpression)
{
super(displayModel, propertyExpression);
}
public EditableTextFieldPropertyColumn(IModel displayModel, String propertyExpression, boolean isEditable)
{
super(displayModel, propertyExpression, isEditable);
}
@Override
public EditableCellPanel getEditableCellPanel(String componentId)
{
return new EditableTextFieldCellPanel(componentId, this)
{
private static final long serialVersionUID = 1L;
@Override
protected void addBehaviors(FormComponent formComponent)
{
EditableTextFieldPropertyColumn.this.addBehaviors(formComponent);
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy