Implementation Guide for Oracle Self-Service E-Billing > Using and Customizing Email Notifications >

Customizing the Default Display Patterns Used in Email Notifications


You can change the default display patterns Oracle Self-Service E-Billing uses to display the following data in email notifications:

  • Date
  • Time
  • Date and time
  • Integers
  • Decimals (double)
  • Amounts

The default notification display patterns are defined in the notification.cfg.xma.xml file. The valid display patterns are defined in the ApplicationResourcesNew.properties file, as shown:

#################### Date,Time,Number ########################

global.pattern.number.integer=#,##0
global.pattern.number.decimal=#,##0.00
global.pattern.number.percent=#0.00%
global.pattern.number.amount=\u00A4#,##0.00
global.pattern.number.amount2=\u00A4#,##0.00;\u00A4(#,##0.00)
global.pattern.number.amount3=#,##0;(#,##0)
global.pattern.number.amount4=#,##0.00;(#,##0.00)
global.pattern.date.short=M/d/yy
global.pattern.date.medium=MM/dd/yyyy
global.pattern.date.long=MMM/dd/yyyy
global.pattern.date.input=MM/dd/yyyy
global.pattern.time.short=HH:mm
global.pattern.time.long=HH:mm:ss
global.pattern.date.time=MM/dd/yyyy HH:mm:ss

The defaults set in the notification.cfg.xma.xml are used in all three Oracle Self-Service E-Billing applications: Billing and Payment, Customer Service Representative, and the Command Center. For example, you can change the default date pattern from global.pattern.date.medium (M/d/yy), to global.pattern.date.long (MMM/dd/yyyy).

To customize the default display patterns used in email notifications

  1. Edit the notification.cfg.xma.xml file, located in the following directory:
    • UNIX. EDX_HOME/xma/config/com/edocs/common/notification\
    • Windows. EDX_HOME\xma\config\com\edocs\common\notification\
  2. Edit the appropriate values in the patternConfig property in the <bean id="GlobalConfigurationBean" JavaBean. Specify one of the display patterns defined in the ApplicationResourcesNew.properties file:

    - <property name="patternConfig">

    - <map merge="default">

    - <entry key="defaultDatePattern">

    <value>global.pattern.date.medium</value>

    </entry>

    - <entry key="defaultTimePattern">

    <value>global.pattern.time.long</value>

    </entry>

    - <entry key="defaultDateTimePattern">

    <value>global.pattern.date.time</value>

    </entry>

    - <entry key="defaultIntPattern">

    <value>global.pattern.number.integer</value>

    </entry>

    - <entry key="defaultDoublePattern">

    <value>global.pattern.number.decimal</value>

    </entry>

    - <entry key="defaultAmountPattern">

    <value>global.pattern.number.amount</value>

    </entry>

    </map>

    </property>

Implementation Guide for Oracle Self-Service E-Billing Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.