public class ServiceDropDownChoice extends org.apache.wicket.markup.html.form.DropDownChoice<ServiceModel>
NO_SELECTION_VALUE
FLAG_CONVERT_EMPTY_INPUT_STRING_TO_NULL, VALUE_SEPARATOR
Constructor and Description |
---|
ServiceDropDownChoice(String gridId,
String componentId,
String userGridId,
String userId) |
ServiceDropDownChoice(String gridId,
String componentId,
String userGridId,
String userId,
List<ServiceModel> list) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
getDefaultChoice(Object selected) |
ServiceModel |
getDefaultServiceType() |
List<ServiceModel> |
getList() |
int |
getModelCount() |
ServiceModel |
getSelectedService() |
protected List<ServiceModel> |
getServiceList(String gridId,
String userGridId,
String userId) |
boolean |
isSelected() |
void |
setModelById(String serviceId) |
getStatelessHint, onComponentTag, onSelectionChanged, onSelectionChanged, wantOnSelectionChangedNotifications
convertChoiceIdToChoice, convertValue, getModelValue, getNoSelectionValue, getNullKey, getNullValidKey, isNullValid, isSelected, setNullValid
appendOptionHtml, detachModel, escapeOptionHtml, getChoiceRenderer, getChoices, isDisabled, localizeDisplayValues, onComponentTagBody, setChoiceRenderer, setChoices, setChoices, supportsPersistence
add, add, checkRequired, clearInput, convertInput, error, getConvertedInput, getForm, getInput, getInputAsArray, getInputName, getModel, getModelObject, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isInputNullable, isMultiPart, isPersistent, isRequired, isValid, newValidatable, onDetach, onDisabled, onInvalid, onValid, processChildren, processInput, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setModelValue, setPersistent, setRequired, setType, shouldTrimInput, trim, updateModel, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrder
getLabel, setLabelInternal
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, 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, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onConfigure, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, 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
public ServiceDropDownChoice(String gridId, String componentId, String userGridId, String userId, List<ServiceModel> list) throws ServiceManagerException
ServiceManagerException
public ServiceDropDownChoice(String gridId, String componentId, String userGridId, String userId) throws ServiceManagerException
ServiceManagerException
public CharSequence getDefaultChoice(Object selected)
getDefaultChoice
in class org.apache.wicket.markup.html.form.AbstractSingleSelectChoice<ServiceModel>
public ServiceModel getSelectedService()
public boolean isSelected()
protected List<ServiceModel> getServiceList(String gridId, String userGridId, String userId) throws ServiceManagerException
ServiceManagerException
public ServiceModel getDefaultServiceType()
public int getModelCount()
public List<ServiceModel> getList()
public void setModelById(String serviceId)