Class UIFormDateTimeInput

All Implemented Interfaces:
UIFormInput<String>

public class UIFormDateTimeInput extends UIFormInputBase<String>
Created by The eXo Platform SARL Author : Tran The Trong trongtt@gmail.com Jul 14, 2006 A date picker element
  • Constructor Details

    • UIFormDateTimeInput

      public UIFormDateTimeInput(String name, String bindField, Date date, boolean isDisplayTime)
    • UIFormDateTimeInput

      public UIFormDateTimeInput(String name, String bindField, Date date)
  • 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

      public void setCalendar(Calendar calendar)
    • getCalendar

      public Calendar getCalendar()
    • getDatePattern_

      public String getDatePattern_()
    • decode

      public void decode(Object input, WebuiRequestContext context)
      Specified by:
      decode in class UIFormInputBase<String>
    • processRender

      public void processRender(WebuiRequestContext context) throws Exception
      Overrides:
      processRender in class UIComponent
      Throws:
      Exception