You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Message content can also be overridden and customized in the WEB-INF/classes/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 not found, the unaltered MESSAGE field is used by default.  An example of message overrides in ApplicationResources.properties:

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.

  • No labels