Versions Compared

Key

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

...

Panel
bgColor#ffffff
borderStylenone
Children Display
alltrue
excerpttrue
excerptTypesimple

Message Handling 

Default message handling is configured in applicationContext.xml-- the Spring configuration for services.  See services 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 Added
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_V4.

Building and Running an Application in Eclipse

...