public class UserListPanel extends AbstractListPanel<Query<User>,User,UserListDataProvider> implements IAdminPanel
rows
Constructor and Description |
---|
UserListPanel(String id,
org.apache.wicket.model.IModel<Query<User>> model) |
Modifier and Type | Method and Description |
---|---|
protected Class |
getClassForOpenPage(org.apache.wicket.model.IModel<User> rowModel)
Define the Class of the Page that is to open (on Link or Add new).
|
protected String |
getNameOfItem(org.apache.wicket.model.IModel<User> rowModel)
Get the name of the link/list item for the row
|
protected org.apache.wicket.PageParameters |
getPageParamsForNewItem()
Define the Parameters of the page to Open when an Item is Added.
|
protected org.apache.wicket.PageParameters |
getPageParamsForOpenItem(org.apache.wicket.model.IModel<User> rowModel)
Define the Parameters of the page to Open when an Item is selected.
|
protected void |
initDataProviderInstance(org.apache.wicket.model.IModel<Query<User>> model)
The Data provider may select list on the panel based on a criteria.
|
protected void |
modifyColumns(List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<?>> columns)
Can add new coloumns (in addition to ID & Name), can drop also from pre defined columns list etc.
|
getAdminConfiguration, getCustomSortableDataProvider, onInitialize, setAdminConfiguration, setCustomSortableDataProvider, wrapAddButton
onComponentTag, onComponentTagBody, renderHead
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onConfigure, onDetach, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
protected Class getClassForOpenPage(org.apache.wicket.model.IModel<User> rowModel)
getClassForOpenPage
in class AbstractListPanel<Query<User>,User,UserListDataProvider>
protected String getNameOfItem(org.apache.wicket.model.IModel<User> rowModel)
getNameOfItem
in class AbstractListPanel<Query<User>,User,UserListDataProvider>
protected org.apache.wicket.PageParameters getPageParamsForNewItem()
getPageParamsForNewItem
in class AbstractListPanel<Query<User>,User,UserListDataProvider>
protected org.apache.wicket.PageParameters getPageParamsForOpenItem(org.apache.wicket.model.IModel<User> rowModel)
getPageParamsForOpenItem
in class AbstractListPanel<Query<User>,User,UserListDataProvider>
protected void initDataProviderInstance(org.apache.wicket.model.IModel<Query<User>> model)
initDataProviderInstance
in class AbstractListPanel<Query<User>,User,UserListDataProvider>
model
- as IModel
protected void modifyColumns(List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<?>> columns)
AbstractListPanel
modifyColumns
in class AbstractListPanel<Query<User>,User,UserListDataProvider>
columns
- as List of IColumn
Copyright © 2018. All rights reserved.