public abstract class ResourceManagerPanel<T>
extends org.apache.wicket.markup.html.panel.Panel
Modifier and Type | Class and Description |
---|---|
static class |
ResourceManagerPanel.ResourceUploadForm<T>
Uploader to upload Resources
|
Constructor and Description |
---|
ResourceManagerPanel(String id,
org.apache.wicket.model.IModel<List<? extends T>> model) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.wicket.markup.html.WebMarkupContainer |
defineListConatiner()
The List cane be defined in any specified view container.
|
org.apache.wicket.markup.html.panel.FeedbackPanel |
getFeedbackPanel() |
protected abstract ResourceListView<T> |
getResourceListView(org.apache.wicket.markup.html.WebMarkupContainer listContainer,
List<? extends T> list)
Override to specify which type of
ResourceListView will be used to render the resources |
protected abstract CategoryPanel<T> |
getResourceSourceSelector()
An Optional Panel that provides a source to pick the resources for this panel.
|
protected abstract ResourceManagerPanel.ResourceUploadForm<T> |
getResourceUploadForm() |
void |
onInitialize() |
protected void |
preInitialize()
onInitialize() calles super.onInitialize and some other methods. |
ResourceManagerPanel<T> |
setFeedbackPanel(org.apache.wicket.markup.html.panel.FeedbackPanel feedbackPanel) |
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 abstract org.apache.wicket.markup.html.WebMarkupContainer defineListConatiner()
protected void preInitialize()
onInitialize()
calles super.onInitialize and some other methods.
Override if we want to pre-initialize data model before those other methods are called.public void onInitialize()
onInitialize
in class org.apache.wicket.Component
public final org.apache.wicket.markup.html.panel.FeedbackPanel getFeedbackPanel()
protected abstract ResourceManagerPanel.ResourceUploadForm<T> getResourceUploadForm()
protected abstract ResourceListView<T> getResourceListView(org.apache.wicket.markup.html.WebMarkupContainer listContainer, List<? extends T> list)
ResourceListView
will be used to render the resourceslistContainer
- as WebMarkupContainer
to which the ResourceListView
will be added directly or indirectly.
Indirectly implies some additional wrapper elements maybe added. Like a CheckGroup
list
- protected abstract CategoryPanel<T> getResourceSourceSelector()
public ResourceManagerPanel<T> setFeedbackPanel(org.apache.wicket.markup.html.panel.FeedbackPanel feedbackPanel)
Copyright © 2018. All rights reserved.