Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF
by Peter Koletzke, Duncan Mills
Define Global Format Masks
Many systems have a requirement to standardize various key presentation formats, such as dates or currency amounts. You would like a standard format mask to be easily changeable and available in one place so that a single change can affect the entire application.
Within ADF BC, we have seen how you can apply control hints to all usages of a particular entity object attribute. However, it would be better if the format mask were applied to every applicable field in the application, not just to those related to a single entity object.
If you examine one of the Salary fields in the TUHRA system, you will see something like the following definition:
<af:outputText value="#{bindings.Salary.inputValue}"> <f:convertNumber groupingUsed="false" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access