org.apache.myfaces.custom.inputAjax
Class HtmlInputTextAjax
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.html.HtmlInputText
org.apache.myfaces.component.html.ext.AbstractHtmlInputText
org.apache.myfaces.component.html.ext.HtmlInputText
org.apache.myfaces.custom.inputAjax.AbstractHtmlInputTextAjax
org.apache.myfaces.custom.inputAjax.HtmlInputTextAjax
- All Implemented Interfaces:
- javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, org.apache.myfaces.component.AlignProperty, org.apache.myfaces.component.DataProperties, org.apache.myfaces.component.DisplayValueOnlyAware, org.apache.myfaces.component.ForceIdAware, org.apache.myfaces.component.UserRoleAware, AjaxCallbacks, AjaxComponent, DeprecatedAjaxComponent, org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
public class HtmlInputTextAjax
- extends AbstractHtmlInputTextAjax
Fields inherited from class javax.faces.component.UIInput |
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable |
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR |
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlInputText |
getAlign, getAutocomplete, getDatafld, getDataformatas, getDatasrc, getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisabledOnClientSide, isForceId, isForceIdIndex, setAlign, setAutocomplete, setDatafld, setDataformatas, setDatasrc, setDisabledOnClientSide, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setForceId, setForceIdIndex, setVisibleOnUserRole |
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlInputText |
getClientId, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setDisplayValueOnly |
Methods inherited from class javax.faces.component.html.HtmlInputText |
getAccesskey, getAlt, getDir, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setDir, setDisabled, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setStyle, setStyleClass, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue |
Methods inherited from class javax.faces.component.UIOutput |
getConverter, getLocalValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
getConverter, getLocalValue, setConverter |
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
DEFAULT_RENDERER_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
- See Also:
- Constant Field Values
HtmlInputTextAjax
public HtmlInputTextAjax()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in class org.apache.myfaces.component.html.ext.HtmlInputText
getOnSuccess
public java.lang.String getOnSuccess()
- Description copied from class:
AbstractHtmlInputTextAjax
- Javascript method to call on successful ajax update
- Specified by:
getOnSuccess
in interface AjaxCallbacks
- Specified by:
getOnSuccess
in class AbstractHtmlInputTextAjax
setOnSuccess
public void setOnSuccess(java.lang.String onSuccess)
getOnFailure
public java.lang.String getOnFailure()
- Description copied from class:
AbstractHtmlInputTextAjax
- Javascript method to call on failed ajax update
- Specified by:
getOnFailure
in interface AjaxCallbacks
- Specified by:
getOnFailure
in class AbstractHtmlInputTextAjax
setOnFailure
public void setOnFailure(java.lang.String onFailure)
getOnStart
public java.lang.String getOnStart()
- Description copied from class:
AbstractHtmlInputTextAjax
- Javascript method to call on start of ajax update
- Specified by:
getOnStart
in interface AjaxCallbacks
- Specified by:
getOnStart
in class AbstractHtmlInputTextAjax
setOnStart
public void setOnStart(java.lang.String onStart)
getShowOkButton
public java.lang.Boolean getShowOkButton()
- Description copied from class:
AbstractHtmlInputTextAjax
- Whether to show an ok button before sending update.
- Specified by:
getShowOkButton
in class AbstractHtmlInputTextAjax
setShowOkButton
public void setShowOkButton(java.lang.Boolean showOkButton)
getOkText
public java.lang.String getOkText()
- Description copied from class:
AbstractHtmlInputTextAjax
- Test for button
- Specified by:
getOkText
in class AbstractHtmlInputTextAjax
setOkText
public void setOkText(java.lang.String okText)
getShowCancelButton
public java.lang.Boolean getShowCancelButton()
- Description copied from class:
AbstractHtmlInputTextAjax
- Whether to show cancel button
- Specified by:
getShowCancelButton
in class AbstractHtmlInputTextAjax
setShowCancelButton
public void setShowCancelButton(java.lang.Boolean showCancelButton)
getCancelText
public java.lang.String getCancelText()
- Description copied from class:
AbstractHtmlInputTextAjax
- Text for cancel
- Specified by:
getCancelText
in class AbstractHtmlInputTextAjax
setCancelText
public void setCancelText(java.lang.String cancelText)
getErrorStyleClass
public java.lang.String getErrorStyleClass()
- Description copied from class:
AbstractHtmlInputTextAjax
- StyleClass for the input field where the error occures.
Useful if there is only one messages area for a few inputTextAjax fields
- Specified by:
getErrorStyleClass
in class AbstractHtmlInputTextAjax
setErrorStyleClass
public void setErrorStyleClass(java.lang.String errorStyleClass)
getErrorStyle
public java.lang.String getErrorStyle()
- Description copied from class:
AbstractHtmlInputTextAjax
- Style for the input field where the error occures. Useful if there is
only one messages area for a few inputTextAjax fields
- Specified by:
getErrorStyle
in class AbstractHtmlInputTextAjax
setErrorStyle
public void setErrorStyle(java.lang.String errorStyle)
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class org.apache.myfaces.component.html.ext.HtmlInputText
restoreState
public void restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class org.apache.myfaces.component.html.ext.HtmlInputText
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.