How To Specify a Second Date Pattern in an af:selectInputDate

(Doc ID 413462.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: and later   [Release: and later ]
Information in this document applies to any platform.


You have created an ADF Faces page including a selectInputDate, say to display SCOTT.EMP.HIREDATE
Your page looks like the following:
<af:selectInputDate value="#{bindings.Hiredate.inputValue}"
   <af:validator binding="#{bindings.Hiredate.validator}"/>
   <f:convertDateTime pattern="#{bindings.Hiredate.format}"/>
Note the f:convertDateTime with the pattern attribute that will pick the Date format pattern you specified at the Entity Object level (or View Object).

However, your end-users would like to use a second date pattern.
How can you specify this second pattern?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms