public class ListViewService<T> extends RenderService<T>
ServiceTracker
tracks
the IRenderService
s that register at the service name getItemId().
By default, the name that is available under key "item" is used.
The service redraws completely when a child service (dis)appears.
RenderService.ExtensionPoint
Modifier and Type | Field and Description |
---|---|
static String |
ITEM |
BEHAVIOR, children, CSS_ID, DEFAULT_LOCALE, EXTENSIONS_ID, FEEDBACK, MODEL_ID, SKIN_ID, VARIANT_ID, VISIBLE, WICKET_ID
Constructor and Description |
---|
ListViewService(IPluginContext context,
IPluginConfig properties) |
Modifier and Type | Method and Description |
---|---|
protected String |
getItemId() |
protected void |
onAddRenderService(org.apache.wicket.markup.repeater.Item<IRenderService> item,
IRenderService renderer) |
protected void |
onRemoveRenderService(org.apache.wicket.markup.repeater.Item<IRenderService> item,
IRenderService renderer) |
void |
render(PluginRequestTarget target)
Called after user events and JCR events have been handled, but before
the rendering has started.
|
createExtensionPoint
addExtensionPoint, bind, focus, getBundleName, getComponent, getDialogService, getId, getMarkupId, getModel, getModelObject, getObservable, getParentService, getPluginConfig, getPluginContext, getResourceBundleModel, getSession, getVariation, isActive, onAfterRender, onBeforeRender, onComponentTag, onComponentTagBody, onEvent, redraw, removeExtensionPoint, setDefaultModel, setModel, setModelObject, unbind, updateModel
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String ITEM
public ListViewService(IPluginContext context, IPluginConfig properties)
protected String getItemId()
public void render(PluginRequestTarget target)
AbstractRenderService
Component
s with
the request target to enlist in the rendering phase.
Implementations that use extensions must call the same method on those.
render
in interface IRenderService
render
in class AbstractRenderService<T>
protected void onAddRenderService(org.apache.wicket.markup.repeater.Item<IRenderService> item, IRenderService renderer)
protected void onRemoveRenderService(org.apache.wicket.markup.repeater.Item<IRenderService> item, IRenderService renderer)
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.