How to add a Date Validation in ADF

When imputing dates for Purchasing and Expiry there need to be a validation. That is the Expiry date must be always grater than the Purchased date. Using the following code in the .jsff code you can have the date validation.

 <af:validateDateTimeRange minimum="#{bindings.PurchasedDate.inputValue}"  
 maximum="#{bindings.ExpiryDate.inputValue}"  
 messageDetailNotInRange="Enter your message here"/>  

Comments

Popular posts from this blog

Getting started with MySQL using wamp server

Java ADF surfing through pages using buttons

SQL vs ORM