public class FieldMultiList extends Field
Field.FieldBean
Modifier and Type | Field and Description |
---|---|
static String |
TYPE |
comp, DEFAULT_SEARCH_TYPE, globalContext, i18nAccess, LABEL_CSS, MESSAGE_ERROR, MESSAGE_INFO, properties, SMALL_PART_SIZE, SMALL_VALUE_SIZE, staticConfig, VALUE_SIZE
Constructor and Description |
---|
FieldMultiList() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayValue(ContentContext ctx,
Locale locale)
return the value "displayable"
|
String |
getEditXHTMLCode(ContentContext ctx,
boolean search) |
String |
getListName() |
String |
getType() |
List<String> |
getValues(ContentContext ctx,
Locale locale)
try to return values with locale and return default value if not.
|
String |
getViewXHTMLCode(ContentContext ctx) |
protected boolean |
isValueTranslatable() |
boolean |
process(ContentContext ctx)
process the field
|
compareTo, createKey, fillRequest, getBean, getCloseRow, getContentAsMap, getCSSClass, getCurrentLocale, getDefaultLanguages, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getGlobalContext, getI18nAccess, getId, getInitValue, getInputLabelName, getInputName, getLabel, getLabel, getList, getMaxSize, getMessage, getMessageType, getMessageTypeCSSClass, getMetaData, getMetaData, getMinSize, getName, getOpenRow, getOrder, getPageDescription, getPlaceholder, getPropertyValue, getReference, getReferenceComponent, getReferenceFieldView, getReferenceValue, getRemplacementCode, getSearchEditXHTMLCode, getSearchLabel, getSearchType, getSize, getSpecialClass, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValue, getValues, getViewListXHTMLCode, getWidthEdit, initContent, isContentCachable, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isPertinent, isReadOnly, isRealContent, isSearch, isTitle, isValid, isViewDisplayed, isWrapped, main, newFieldBean, newInstance, referenceEditCode, referenceViewCode, reload, renderSelect, search, setCurrentLocale, setFirst, setGlobalContext, setI18nAccess, setId, setLabel, setLabelValue, setLast, setMessage, setMessageType, setName, setNeedRefresh, setPlaceholder, setProperties, setReadOnly, setStaticConfig, setValue, setValue, setValues, toString, transflateFrom, validate
public static final String TYPE
public String getListName()
public String getDisplayValue(ContentContext ctx, Locale locale) throws Exception
Field
getDisplayValue
in class Field
Exception
public String getEditXHTMLCode(ContentContext ctx, boolean search) throws Exception
getEditXHTMLCode
in class Field
Exception
public boolean process(ContentContext ctx)
public String getViewXHTMLCode(ContentContext ctx) throws Exception
getViewXHTMLCode
in class Field
Exception
public List<String> getValues(ContentContext ctx, Locale locale) throws Exception
Field
protected boolean isValueTranslatable()
isValueTranslatable
in class Field
Copyright © 2012-2018. All Rights Reserved.