Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get start date assign to end date

Thameera NawaratnaOct 9 2019 — edited Oct 14 2019

Hi,

I have a ADF application which required to select (Drop down calendar) "Start Date" and "End Date". Currently when select Start Date, End date not automatically adjust to Start Date. It shows current date.

Is there a way I can archive this without using Java bean?

I tried to add "pageFlowScope" to action and call the value to end date through minimum Value. This doesn't give result.

<af:inputDate id="id3" autoSubmit="true" autoComplete="on"
  converter="javax.faces.DateTime" immediate="true"
  action="#{pageFlowScope.dateOne}">
</af:inputDate>

<af:inputDate id="id4" autoSubmit="true" autoComplete="on"
  converter="javax.faces.DateTime" immediate="true"
  value='#{pageFlowScope.dateOne}"'>
</af:inputDate>

If Start Date Selected : "2019/05/05" End Date drop down should show as : "2019/05/05"

Jdeveloper : 11g

Deploy on Glassfish : 3.1

This post has been answered by Timo Hahn on Oct 10 2019
Jump to Answer
Comments
Post Details
Added on Oct 9 2019
9 comments
319 views