Mark Struberg created DELTASPIKE-277:
----------------------------------------

             Summary: Typesafe Messgaes for JSF: add JsfMessage<?> feature
                 Key: DELTASPIKE-277
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-277
             Project: DeltaSpike
          Issue Type: New Feature
    Affects Versions: 0.3-incubating
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 0.4-incubating


As discussed on the list here is the proposal how we could provide typesafe 
messages in JSF:


usage:
{code}
@Inject
JsfMessage<MyCustomMessage> msg;

msg.addError().userNotLoggedIn();
{code}

Since the FacesMessage has a summary and a detail text we need a way to support 
multiple variants of a typesafe message. This could be provided by extending 
the Message by a 'category'



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to