Hello Fellas,
today i'm sharing my learning, to how to Disable future date on our ADF page.
Take a Input date component on your page.
Make a managed bean, and simply create a method, and put this snipet of code on your bean,
make the date of type oracle.jbo.domain.Date
you can get the actual java class from this link .XBean.java
and make max value of the input date component from the source code.
you can download the actual code from here
FutureDateApp
today i'm sharing my learning, to how to Disable future date on our ADF page.
Take a Input date component on your page.
Make a managed bean, and simply create a method, and put this snipet of code on your bean,
public Date getDate() { Date date=new Date(new java.sql.Date(new java.util.Date().getTime())); return date; }
make the date of type oracle.jbo.domain.Date
you can get the actual java class from this link .XBean.java
and make max value of the input date component from the source code.
actual result
thank you :)
you can download the actual code from here
FutureDateApp