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.HtmlInputText
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.UserRoleAware, AjaxCallbacks, AjaxComponent, DeprecatedAjaxComponent, org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
public class HtmlInputTextAjax
- extends org.apache.myfaces.component.html.ext.HtmlInputText
- implements DeprecatedAjaxComponent, AjaxCallbacks
User: treeder
Date: Oct 28, 2005
Time: 7:48:57 PM
Fields inherited from class javax.faces.component.UIInput |
COMPONENT_FAMILY, 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 |
getAutocomplete, getClientId, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisabledOnClientSide, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setAutocomplete, setDisabledOnClientSide, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setVisibleOnUserRole |
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, getFamily, getSubmittedValue, getValidator, getValidators, 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, getValue, 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, getValue, setConverter |
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()
decodeAjax
public void decodeAjax(javax.faces.context.FacesContext context)
- Decode ajax request and apply value changes
- Specified by:
decodeAjax
in interface AjaxComponent
- Parameters:
context
-
encodeAjax
public void encodeAjax(javax.faces.context.FacesContext context)
throws java.io.IOException
- Specified by:
encodeAjax
in interface AjaxComponent
- Throws:
java.io.IOException
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- 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 context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class org.apache.myfaces.component.html.ext.HtmlInputText
getOnSuccess
public java.lang.String getOnSuccess()
- Specified by:
getOnSuccess
in interface AjaxCallbacks
setOnSuccess
public void setOnSuccess(java.lang.String onSuccess)
- Specified by:
setOnSuccess
in interface AjaxCallbacks
getOnFailure
public java.lang.String getOnFailure()
- Specified by:
getOnFailure
in interface AjaxCallbacks
setOnFailure
public void setOnFailure(java.lang.String onFailure)
- Specified by:
setOnFailure
in interface AjaxCallbacks
getOnStart
public java.lang.String getOnStart()
- Specified by:
getOnStart
in interface AjaxCallbacks
setOnStart
public void setOnStart(java.lang.String onStart)
- Specified by:
setOnStart
in interface AjaxCallbacks
getShowOkButton
public java.lang.Boolean getShowOkButton()
setShowOkButton
public void setShowOkButton(java.lang.Boolean showOkButton)
getOkText
public java.lang.String getOkText()
setOkText
public void setOkText(java.lang.String okText)
getShowCancelButton
public java.lang.Boolean getShowCancelButton()
setShowCancelButton
public void setShowCancelButton(java.lang.Boolean showCancelButton)
getCancelText
public java.lang.String getCancelText()
setCancelText
public void setCancelText(java.lang.String cancelText)
getErrorStyleClass
public java.lang.String getErrorStyleClass()
setErrorStyleClass
public void setErrorStyleClass(java.lang.String errorStyleClass)
getErrorStyle
public java.lang.String getErrorStyle()
setErrorStyle
public void setErrorStyle(java.lang.String errorStyle)
Copyright © 2009. All Rights Reserved.