public abstract class LinkPropertyColumn extends PropertyColumn
DataTable bound to a CommandButton action/url| Constructor and Description |
|---|
LinkPropertyColumn(org.apache.wicket.model.IModel<String> title,
String property)
Constructor
|
LinkPropertyColumn(org.apache.wicket.model.IModel<String> title,
String property,
int width)
Constructor
|
LinkPropertyColumn(String title)
Constructor
|
LinkPropertyColumn(String title,
int width)
Constructor
|
LinkPropertyColumn(String title,
String property)
Constructor
|
LinkPropertyColumn(String title,
String property,
int width)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getCallbackUrl()
|
String |
getTemplate()
The template which renders the column content.
ie: return "<a href='?id=#:data.id#'>#:data.id#</a>"TODO: make it work for function(?) |
getField, getValue, newDataModelgetAggregates, getAggregatesAsString, getAttributes, getEditor, getFilterable, getFooterTemplate, getFormat, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTitle, getType, getWidth, isEditable, isEncoded, isNullable, isPopupVisible, isVisible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAggregates, getAttributes, getEditor, getFilterable, getFooterTemplate, getFormat, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTitle, getType, getWidth, isEditable, isEncoded, isNullablepublic LinkPropertyColumn(String title)
title - the text of the column headerpublic LinkPropertyColumn(String title, String property)
title - the text of the column headerproperty - the object property namepublic LinkPropertyColumn(String title, int width)
title - the text of the column headerwidth - the desired width of the columnpublic LinkPropertyColumn(org.apache.wicket.model.IModel<String> title, String property)
title - the text of the column headerproperty - the object property namepublic LinkPropertyColumn(String title, String property, int width)
title - the text of the column headerproperty - the object property namewidth - the desired width of the columnpublic String getTemplate()
IColumnreturn "<a href='?id=#:data.id#'>#:data.id#</a>"getTemplate in interface IColumngetTemplate in class AbstractColumnnull if it does not applyprotected abstract String getCallbackUrl()
Copyright © 2021 7thWeb. All rights reserved.