Package org.javlo.fields
Class FieldMultiList
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.FieldMultiList
-
- All Implemented Interfaces:
Cloneable,Comparable<Field>,IRestItem
public class FieldMultiList extends Field
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE-
Fields inherited from class org.javlo.fields.Field
comp, DEFAULT_SEARCH_TYPE, globalContext, i18nAccess, LABEL_CSS, MESSAGE_ERROR, MESSAGE_INFO, properties, SMALL_PART_SIZE, SMALL_VALUE_SIZE, staticConfig, VALUE_SIZE
-
-
Constructor Summary
Constructors Constructor Description FieldMultiList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayValue(ContentContext ctx, Locale locale)return the value "displayable"StringgetEditXHTMLCode(ContentContext ctx, boolean search)StringgetListName()StringgetType()List<String>getValues(ContentContext ctx, Locale locale)try to return values with locale and return default value if not.StringgetViewXHTMLCode(ContentContext ctx)protected booleanisValueTranslatable()booleanprocess(ContentContext ctx)process the field-
Methods inherited from class org.javlo.fields.Field
compareTo, createKey, defaultLabelDisplayed, fillRequest, getBean, getCloseRow, getContentAsMap, getCssClass, getCSSClass, getCurrentLocale, getDefaultLanguages, getDefaultPrefix, getDefaultSuffix, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getFormatedValue, getGlobalContext, getHtml, getI18nAccess, getId, getInitValue, getInputLabelName, getInputName, getLabel, getLabel, getList, getMaxSize, getMessage, getMessageType, getMessageTypeCSSClass, getMetaData, getMetaData, getMinSize, getName, getOpenRow, getOrder, getPageDescription, getPlaceholder, getPropertyValue, getReference, getReferenceComponent, getReferenceFieldView, getReferenceFormatedValue, getReferenceValue, getRemplacementCode, getSearchEditXHTMLCode, getSearchLabel, getSearchType, getSize, getSpecialClass, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValue, getValues, getViewListXHTMLCode, getWidthEdit, getXHTMLValue, 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
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getListName
public String getListName()
-
getDisplayValue
public String getDisplayValue(ContentContext ctx, Locale locale) throws Exception
Description copied from class:Fieldreturn the value "displayable"- Overrides:
getDisplayValuein classField- Returns:
- Throws:
Exception
-
getEditXHTMLCode
public String getEditXHTMLCode(ContentContext ctx, boolean search) throws Exception
- Overrides:
getEditXHTMLCodein classField- Throws:
Exception
-
process
public boolean process(ContentContext ctx)
process the field
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getViewXHTMLCodein classField- Throws:
Exception
-
getValues
public List<String> getValues(ContentContext ctx, Locale locale) throws Exception
Description copied from class:Fieldtry to return values with locale and return default value if not.
-
isValueTranslatable
protected boolean isValueTranslatable()
- Overrides:
isValueTranslatablein classField
-
-