2 Replies Latest reply: May 2, 2012 11:20 AM by 725598 RSS

    How to get the af:inputDate to use #{applCorePrefs.dateFormatPattern}

    725598
      I am using 11.1.1.6.0

      I have the following code
      <af:inputDate id="id-1c5" simple="true" value="#{row.bindings.EffectiveStartDate.inputValue}"
      label="#{bindings.manageSalesPredictorRulesRuleFolderView.hints.EffectiveStartDate.label}"
      required="#{bindings.manageSalesPredictorRulesRuleFolderView.hints.EffectiveStartDate.mandatory}"
      shortDesc="#{bindings.manageSalesPredictorRulesRuleFolderView.hints.EffectiveStartDate.tooltip}">
      <f:validator binding="#{row.bindings.EffectiveStartDate.validator}"/>
      <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}"/>
      </af:inputDate>

      The date is being shown in mm/dd/yy rather than mm/dd/yyyy as define din the af:convertDateTime pattern.