On May 8, 2009, at 9:27 AM, Jacques Le Roux wrote:

From: "David E Jones" <[email protected]>
However, if there is a specific scenario you've run into where HTML is needed in the messages, please share that and we can discuss whether or not to change the direction that has been established. I think you were trying to list one below, but I'm not really sure as that looks like just the type of messages that we would WANT to be escaped so that none of the characters in it area interpreted as tags.

The only problem I see is how to render new lines (to clearly separate error/event message sub-contents in a sole message) to make those messages more readable (or even readable for BizznessTime) in an HTML rendering context. Actually it's why I beginned with all that... To eventually get more informations (sub-tasks) in https://issues.apache.org/jira/browse/OFBIZ-2330

The formatting should be handled by the template... that's kind of the whole point of keeping formatting out of the messages (they can mess up template formatting, and it makes them unusable for non-web purposes).

If you want multiple messages use the _ERROR_MESSAGE_LIST_ instead of an _ERROR_MESSAGE_.

-David

Reply via email to