Garner, Shawn wrote:
I need to create a custom message severity.

I wanted to create a confirmation message severity but Severity has a private constructor?

Shouldn’t this be public so you can add your own?

I guess the API doesn't intend people to create custom severities.

The official javadocs are part of the JSF specification, and this page doesn't indicate any public or protected constructor so MyFaces is probably *required* not to provide one in order to be "JSF compliant":

http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/application/FacesMessage.Severity.html

Regards,

Simon

Reply via email to