You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dennis Hörsch <ho...@his.de> on 2012/04/10 15:37:31 UTC
FacesMessage Severity for 'success'
Hi,
does anybody know why there is no severity for success messages?
Is that a special case that nobody needs?
We have a workaround to save/display them separated of the standard
faces messages.
Thanks and greetings,
Dennis Hoersch
--
HIS Hochschul-Informations-System GmbH
Goseriede9| 30159 Hannover | _www.his.de_ <http://www.his.de/>
Dennis Hörsch
Unternehmensbereich Hochschul-IT
Arbeitsbereich Personalmanagement
Telefon +49 (0)511 1220-403 | Fax +49 (0)511 1220-250
E-Mail hoersch@his.de <ma...@his.de>
Registergericht: Amtsgericht Hannover, HRB 6489
Geschäftsführer: Prof. Dr. Martin Leitner
Vorsitzender des Aufsichtsrats: Prof. Dr. Dr. Godehard Ruppert
Re: FacesMessage Severity for 'success'
Posted by Mike Kienenberger <mk...@gmail.com>.
The severity levels can be used however they make the most sense in
your application.
For example, what you call a hint, I generally put in WARN severity
(although I probably only have one hint message). I use INFO for
"saved successfully" messages.
You are however free to pick whatever levels you like for whatever
organization of messages makes the most sense. My recommendation is
that you use INFO as the severity.
On Tue, Apr 10, 2012 at 2:19 PM, Hoersch, Dennis <Ho...@his.de> wrote:
> On Tue, Apr 10, 2012 at 9:37 AM, Dennis Hörsch <ho...@his.de> wrote:
>>> does anybody know why there is no severity for success messages?
>>> Is that a special case that nobody needs?
>>>
>>> We have a workaround to save/display them separated of the standard faces
>>> messages.
>>
>>What's wrong with SEVERITY_INFO?
>
> In my opinion/understanding 'Info' is something like a hint ('Note that ... '). 'Success' is used by us for messages like '... saved successfully', 'The job is finished' which are styled a bit different.
>
>
> ---
> HIS Hochschul-Informations-System GmbH
> Goseriede 9 | 30159 Hannover | www.his.de
>
> Dennis Hörsch
> Unternehmensbereich Hochschul-IT
> Arbeitsbereich Entwicklung
> Telefon +49 (0)511 1220-403 | Fax +49 (0)511 1220-250
> E-Mail hoersch@his.de
>
> Registergericht: Amtsgericht Hannover, HRB 6489
> Geschäftsführer: Prof. Dr. Martin Leitner
> Vorsitzender des Aufsichtsrats: Prof. Dr. Rolf-Dieter Postlep
AW: FacesMessage Severity for 'success'
Posted by "Hoersch, Dennis" <Ho...@his.de>.
On Tue, Apr 10, 2012 at 9:37 AM, Dennis Hörsch <ho...@his.de> wrote:
>> does anybody know why there is no severity for success messages?
>> Is that a special case that nobody needs?
>>
>> We have a workaround to save/display them separated of the standard faces
>> messages.
>
>What's wrong with SEVERITY_INFO?
In my opinion/understanding 'Info' is something like a hint ('Note that ... '). 'Success' is used by us for messages like '... saved successfully', 'The job is finished' which are styled a bit different.
---
HIS Hochschul-Informations-System GmbH
Goseriede 9 | 30159 Hannover | www.his.de
Dennis Hörsch
Unternehmensbereich Hochschul-IT
Arbeitsbereich Entwicklung
Telefon +49 (0)511 1220-403 | Fax +49 (0)511 1220-250
E-Mail hoersch@his.de
Registergericht: Amtsgericht Hannover, HRB 6489
Geschäftsführer: Prof. Dr. Martin Leitner
Vorsitzender des Aufsichtsrats: Prof. Dr. Rolf-Dieter Postlep
Re: FacesMessage Severity for 'success'
Posted by Mike Kienenberger <mk...@gmail.com>.
On Tue, Apr 10, 2012 at 9:37 AM, Dennis Hörsch <ho...@his.de> wrote:
> does anybody know why there is no severity for success messages?
> Is that a special case that nobody needs?
>
> We have a workaround to save/display them separated of the standard faces
> messages.
What's wrong with SEVERITY_INFO?