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 class
FieldInternalLink.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 String
createLink(ContentContext ctx)
protected String
getCurrentLabel()
protected String
getCurrentLink()
protected String
getCurrentLinkErrorMessage()
protected String
getCurrentParam()
String
getEditXHTMLCode(ContentContext ctx, boolean search)
String
getInputLabelName()
String
getInputLinkName()
String
getInputParamName()
protected String
getLabelLabel()
protected String
getLinkLabel()
protected String
getParamLabel()
String
getType()
String
getViewXHTMLCode(ContentContext ctx)
protected Field.FieldBean
newFieldBean(ContentContext ctx)
boolean
process(ContentContext ctx)
process the fieldprotected void
setCurrentLabel(String label)
protected void
setCurrentLink(String link)
protected void
setCurrentLinkErrorMessage(String message)
protected void
setCurrentParam(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:
newFieldBean
in 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:
getEditXHTMLCode
in classField
- Throws:
Exception
-
getInputLabelName
public String getInputLabelName()
- Overrides:
getInputLabelName
in 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:
getViewXHTMLCode
in classField
- Throws:
Exception
-
process
public boolean process(ContentContext ctx)
Description copied from class:Field
process 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)
-
-