Package org.javlo.fields
Class FieldInternalLink
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.FieldInternalLink
-
- All Implemented Interfaces:
Cloneable,Comparable<Field>,IRestItem
public class FieldInternalLink extends Field
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classFieldInternalLink.InternalLinkBean-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
-
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 FieldInternalLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateLink(ContentContext ctx)protected StringgetCurrentLabel()protected StringgetCurrentLink()protected StringgetCurrentLinkErrorMessage()protected StringgetCurrentParam()StringgetEditXHTMLCode(ContentContext ctx, boolean search)StringgetInputLabelName()StringgetInputLinkName()StringgetInputParamName()protected StringgetLabelLabel()protected StringgetLinkLabel()protected StringgetParamLabel()StringgetType()StringgetViewXHTMLCode(ContentContext ctx)protected Field.FieldBeannewFieldBean(ContentContext ctx)booleanprocess(ContentContext ctx)process the fieldprotected voidsetCurrentLabel(String label)protected voidsetCurrentLink(String link)protected voidsetCurrentLinkErrorMessage(String message)protected voidsetCurrentParam(String link)-
Methods inherited from class org.javlo.fields.Field
compareTo, createKey, defaultLabelDisplayed, fillRequest, getBean, getCloseRow, getContentAsMap, getCssClass, getCSSClass, getCurrentLocale, getDefaultLanguages, getDefaultPrefix, getDefaultSuffix, getDisplayValue, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getFormatedValue, getGlobalContext, getHtml, getI18nAccess, getId, getInitValue, 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, getValues, getViewListXHTMLCode, getWidthEdit, getXHTMLValue, initContent, isContentCachable, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isPertinent, isReadOnly, isRealContent, isSearch, isTitle, isValid, isValueTranslatable, isViewDisplayed, isWrapped, main, 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
-
-
-
-
Method Detail
-
newFieldBean
protected Field.FieldBean newFieldBean(ContentContext ctx)
- Overrides:
newFieldBeanin classField
-
createLink
protected String createLink(ContentContext ctx)
-
getCurrentLabel
protected String getCurrentLabel()
-
getCurrentParam
protected String getCurrentParam()
-
getCurrentLink
protected String getCurrentLink()
-
getCurrentLinkErrorMessage
protected String getCurrentLinkErrorMessage()
-
getEditXHTMLCode
public String getEditXHTMLCode(ContentContext ctx, boolean search) throws Exception
- Overrides:
getEditXHTMLCodein classField- Throws:
Exception
-
getInputLabelName
public String getInputLabelName()
- Overrides:
getInputLabelNamein classField
-
getInputParamName
public String getInputParamName()
-
getInputLinkName
public String getInputLinkName()
-
getLabelLabel
protected String getLabelLabel()
-
getLinkLabel
protected String getLinkLabel()
-
getParamLabel
protected String getParamLabel()
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getViewXHTMLCodein classField- Throws:
Exception
-
process
public boolean process(ContentContext ctx)
Description copied from class:Fieldprocess the field
-
setCurrentLabel
protected void setCurrentLabel(String label)
-
setCurrentLink
protected void setCurrentLink(String link)
-
setCurrentParam
protected void setCurrentParam(String link)
-
setCurrentLinkErrorMessage
protected void setCurrentLinkErrorMessage(String message)
-
-