public class MultiValueChoosePanel<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> extends BasePanel<List<T>>
Modifier and Type | Field and Description |
---|---|
protected static String |
MODAL_ID_CHOOSE_PANEL |
ENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING
Constructor and Description |
---|
MultiValueChoosePanel(String id,
org.apache.wicket.model.IModel<List<T>> value,
org.apache.wicket.model.IModel<String> label,
String labelSize,
String textSize,
boolean required,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
protected void |
addValuePerformed(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
choosePerformed(org.apache.wicket.ajax.AjaxRequestTarget target,
T object) |
protected void |
choosePerformedHook(org.apache.wicket.ajax.AjaxRequestTarget target,
T object)
A custom code in form of hook that can be run on event of
choosing new object with this chooser component
|
protected ObjectQuery |
createChooseQuery() |
protected T |
createNewEmptyItem() |
protected org.apache.wicket.model.IModel<String> |
createTextModel(org.apache.wicket.model.IModel<T> model) |
protected void |
editValuePerformed(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected String |
getOffsetClass() |
protected void |
initDialog(Class<T> type) |
protected boolean |
isAddButtonVisible(org.apache.wicket.markup.html.list.ListItem<T> item) |
protected boolean |
isObjectUnique(Object object) |
protected boolean |
isRemoveButtonVisible() |
protected void |
removeValuePerformed(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.markup.html.list.ListItem<T> item) |
protected void |
replaceIfEmpty(Object object) |
createComponentPath, createModel, createStringResource, createStringResource, createStringResource, createStringResource, getModel, getModelObject, getPageBase, getSession, getString, getWebApplicationConfiguration
getRegionMarkup, newMarkupSourcingStrategy
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, 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, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, 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
protected static final String MODAL_ID_CHOOSE_PANEL
protected ObjectQuery createChooseQuery()
protected String getOffsetClass()
protected org.apache.wicket.model.IModel<String> createTextModel(org.apache.wicket.model.IModel<T> model)
protected boolean isAddButtonVisible(org.apache.wicket.markup.html.list.ListItem<T> item)
protected void editValuePerformed(org.apache.wicket.ajax.AjaxRequestTarget target)
protected boolean isRemoveButtonVisible()
protected void addValuePerformed(org.apache.wicket.ajax.AjaxRequestTarget target)
protected T createNewEmptyItem()
protected void choosePerformed(org.apache.wicket.ajax.AjaxRequestTarget target, T object)
protected void replaceIfEmpty(Object object)
protected boolean isObjectUnique(Object object)
protected void removeValuePerformed(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.markup.html.list.ListItem<T> item)
protected void choosePerformedHook(org.apache.wicket.ajax.AjaxRequestTarget target, T object)
Copyright © 2016 evolveum. All rights reserved.