Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See the iJAG FAQ for instructions on checking out an Eclipse project.

Message Handling 

Default message Message handling is configured in applicationContext.xml-- the Spring configuration for servicesservice objects.  See edu.mit.appname.service for further information. 

Message content can also be overridden and customized in the ApplicationResources.properties file.  Objects of class edu.mit.mortar.controller.action.SAPBaseAction attempt to first find and display messages configured in ApplicationResources.properties based on ID, NUMBER, MESSAGE_V1, MESSAGE_V2, MESSAGE_V3, and MESSAGE_V4.  If none are found then MESSAGE is used for display.  An example of message overrides in ApplicationResources.properties:

Image Removed

ZVP and 00 are examples of the ID.  032, 043, and 255 are examples of the NUMBER.  The variables are within the curlycue brackets (0, 1 ,2 3) and reference MESSAGE_V1 - MESSAGE_V4information on how to configure default message handling and override message content.

Building and Running an Application in Eclipse

...