I also noticed that the icon is rendered in the messages header
instead of next to each message. As a result, the user will not know
which messages are errors and which are informational, etc.

Could this be enhanced, changed so that per list item, the icon and
then the text are rendered, and the header has the most severe icon?
To make it backward compatible, I would presume that the icon was not
added to each message or that the icon per-list item would have a
different style selector (like "af|messages::message::error-icon")?

On 9/4/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> While looking at the tr:messages component and its renderer, I
> couldn't find the ability for some functionality. In the
> MessageBoxRenderer._renderGlobalMessages function, it doesn't appear
> there is any why to style each message text based on severity. The
> icon is severity based, by not the text. For example, I'd like to have
> errors with red color, warnings in orange and info messages in black.
> Did I miss this ability, or is it not possible at the moment?
>
> Desired output simple example:
>
> <ul>
>   <li class="af|messages::error-text">test</li>
>   <li class="af|messages::warning-text">test</li>
> </ul>
>

Reply via email to