Class DateConverter

java.lang.Object
org.imixs.workflow.office.forms.DateConverter
All Implemented Interfaces:
jakarta.faces.convert.Converter, Serializable

public class DateConverter extends Object implements jakarta.faces.convert.Converter, Serializable
Custom Date Converter support empty values For implementation details also see this discussions https://github.com/eclipse-ee4j/mojarra/issues/5378 https://jakarta.ee/specifications/faces/4.0/apidocs/jakarta/faces/component/uicomponent#getAttributes() https://stackoverflow.com/questions/7684465/valueexpression-map-of-a-jsf-component Component attributes map breaks Map semantics #640
See Also:
  • Field Summary

    Fields inherited from interface jakarta.faces.convert.Converter

    DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getAsObject(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent component, String value)
     
    getAsString(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent component, Object value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DateConverter

      public DateConverter()
  • Method Details

    • getAsObject

      public Object getAsObject(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent component, String value)
      Specified by:
      getAsObject in interface jakarta.faces.convert.Converter
    • getAsString

      public String getAsString(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent component, Object value)
      Specified by:
      getAsString in interface jakarta.faces.convert.Converter