[
https://issues.apache.org/jira/browse/DELTASPIKE-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg updated DELTASPIKE-277:
-------------------------------------
Component/s: JSF-Module
> 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
> Components: JSF-Module
> 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