Class UIFormDateTimeInput
- All Implemented Interfaces:
UIFormInput<String>
Created by The eXo Platform SARL Author : Tran The Trong trongtt@gmail.com Jul 14, 2006
A date picker element
-
Nested Class Summary
Nested classes/interfaces inherited from class UIContainer
UIContainer.SelectTabActionListener -
Field Summary
Fields inherited from class UIFormInputBase
bindingField, defaultValue_, DISABLE, disabled, ENABLE, enable_, name, readonly_, typeValue_, validators, value_Fields inherited from class UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
ConstructorsConstructorDescriptionUIFormDateTimeInput(String name, String bindField, Date date) UIFormDateTimeInput(String name, String bindField, Date date, boolean isDisplayTime) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(Object input, WebuiRequestContext context) voidprocessRender(WebuiRequestContext context) voidsetCalendar(Calendar calendar) voidsetDisplayTime(boolean isDisplayTime) By default, creates a date of format Month/Day/Year If isDisplayTime is true, adds the time of format Hours:Minutes:Seconds TODO : Display time depending on the locale of the client.Methods inherited from class 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 UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesMethods inherited from class 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
-
Constructor Details
-
UIFormDateTimeInput
-
UIFormDateTimeInput
-
-
Method Details
-
setDisplayTime
public void setDisplayTime(boolean isDisplayTime) By default, creates a date of format Month/Day/Year If isDisplayTime is true, adds the time of format Hours:Minutes:Seconds TODO : Display time depending on the locale of the client.- Parameters:
isDisplayTime-
-
setCalendar
-
getCalendar
-
getDatePattern_
-
decode
- Specified by:
decodein classUIFormInputBase<String>
-
processRender
- Overrides:
processRenderin classUIComponent- Throws:
Exception
-