Package org.exoplatform.webui.form
Class UIFormStringInput
- All Implemented Interfaces:
UIFormInput<String>
- Direct Known Subclasses:
UIFormSelectBox,UIFormSelectBoxWithGroups
Created by The eXo Platform SARL Author : Tuan Nguyen tuan08@users.sourceforge.net Jun 6, 2006
Represents a input string field The value is stored in UIFormInputBase
-
Nested Class Summary
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
UIContainer.SelectTabActionListener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shorttype : passwordstatic final shorttype : textFields inherited from class org.exoplatform.webui.form.UIFormInputBase
bindingField, defaultValue_, DISABLE, disabled, ENABLE, enable_, name, readonly_, typeValue_, validators, value_Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
ConstructorsConstructorDescriptionUIFormStringInput(String name, String value) UIFormStringInput(String name, String bindingExpression, String value) UIFormStringInput(String name, String bindingExpression, String value, String placeholder) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(Object input, WebuiRequestContext context) intvoidprocessRender(WebuiRequestContext context) setMaxLength(int maxLength) setPlaceholder(String placeholder) setType(short type) Methods inherited from class org.exoplatform.webui.form.UIFormInputBase
addValidator, getBindingField, getDefaultValue, getHTMLAttribute, getLabel, getName, getTypeValue, getValidators, getValue, isDisabled, isEditable, isEnable, isMandatory, isReadOnly, isValid, processDecode, renderHTMLAttributes, reset, setBindingField, setDefaultValue, setDisabled, setEditable, setEnable, setHTMLAttribute, setLabel, setName, setReadOnly, setValueMethods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesMethods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
Field Details
-
TEXT_TYPE
public static final short TEXT_TYPEtype : text- See Also:
-
PASSWORD_TYPE
public static final short PASSWORD_TYPEtype : password- See Also:
-
-
Constructor Details
-
UIFormStringInput
public UIFormStringInput() -
UIFormStringInput
-
UIFormStringInput
-
UIFormStringInput
-
-
Method Details
-
setType
-
setMaxLength
-
getMaxLength
public int getMaxLength() -
getPlaceholder
-
setPlaceholder
-
decode
- Specified by:
decodein classUIFormInputBase<String>
-
processRender
- Overrides:
processRenderin classUIComponent- Throws:
Exception
-