You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/10/06 11:20:02 UTC

[jira] [Created] (DELTASPIKE-277) Typesafe Messgaes for JSF: add JsfMessage feature

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

[jira] [Resolved] (DELTASPIKE-277) Typesafe Messgaes for JSF: add JsfMessage feature

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DELTASPIKE-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved DELTASPIKE-277.
--------------------------------------

    Resolution: Fixed
    
> 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

[jira] [Updated] (DELTASPIKE-277) Typesafe Messgaes for JSF: add JsfMessage feature

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ 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