Hi,
If you have some format mask that you want to use on multiple occasions you can store them in formatinfo.xml file which resides at following location
C:\Documents and Settings\<Username>\Application Data\JDeveloper\system<jdev-version>\o.BC4J
e.g.
Suppose we would like to display some dates in “July, 7 2011” format to use in different applications
We will follow the below steps to achieve this
- Open format.xml file
- Add the following entry under “DOMAIN CLASS="oracle.jbo.domain.Date" entry <FORMAT text="MMM, dd yyyy" />
- Open Jdeveloper and entity object contains Date attribute
- Go to UI Hints tab, choose format type to Simple Date and you can see the newly added format mask is available in the list
This could safe some amount of time in big projects
Hope you like it happy Jdeveloping
Zeeshan Baig
Hello,
ReplyDeleteI am working with Oracle ADF Release 2, I am wondering why I can't edit "Format Type" and "Format" Fields in the UI Hints Tab.
Any idea why they are disabled?