Af:inputDate Not Working As Expected With Min And Max Property
(Doc ID 2719369.1)
Last updated on OCTOBER 14, 2020
Applies to:Oracle JDeveloper - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
In An ADF application that has header with details page where the header information is displayed on top and Line information is displayed on a table below it, the following issue is observed:
When the start date and end date is given for the header, it is required that the user enters Line dates within the Header Date range; hence, the property min and max are used at line level dates.
Moving the Header start date to beyond Lines Start date then trying to click on Line Date shows the previous dates as active.
It is only after making a dummy selection on Lines date that the Min Max property is seen coming into effect.
This is a problem as the user is not able to understand the issue at glance.
The issue occurs in 188.8.131.52 and 184.108.40.206.
The issue can be reproduced by the following steps:
- Compile the application that has a model and view controller projects in JDeveloper 220.127.116.11
- Run the jspx web page in the view controller project which should display a table with data fields in it.
- When the page is displayed, notice the following:
in the HeaderId 1 Section, the StartDate is set to 12/30/1991 (min)
in the lineId 1, it is also set to 12/30/1991. If you click on the Date picker of the StarDate in the LineId 1 row,
you should see that the date shows December 1991 and the day 30 is enabled.
Any days before 30 are disabled which is expected and all days after 30 are enabled which is also expected.
- Now try to change the StartDate in the headerId 1 section to 12/28/1991 and click the Tab key.
- Now click on the Date picker of the StartDate in LineId 1, you will notice that 28 is disabled and it is still
showing the old StartDate (30 dec 1991). It should show 28 enabled and all days before it disabled and all days after 28 enabled.
Which is not the case. This is the bug.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document