By Juergenkress-Oracle on Jan 25, 2015
There are tips and tricks related to the date format handling and ADF
bindings. When Oracle date type attribute is being used through ADF
binding expression, it will be converted to String with default format
(yyyy-MM-dd), no matter what original format was set. This is described
in API for the Oracle date type - Date constructor with String.
Below I'm going to explain how it works and how you could optimise ADF
application to handle date type attributes from ADF bindings layer.
Sample application (download it here - DateFormatApp.zip) is based on one simple VO with calculated attributes, both oracle.jbo.domain.Date type:
ADF UI implementation is standard - there are ADF Input Date components with regular date converters: Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.