Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15A41DD21 for ; Sat, 6 Oct 2012 09:22:03 +0000 (UTC) Received: (qmail 20997 invoked by uid 500); 6 Oct 2012 09:22:02 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 20911 invoked by uid 500); 6 Oct 2012 09:22:02 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 20885 invoked by uid 99); 6 Oct 2012 09:22:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2012 09:22:02 +0000 Date: Sat, 6 Oct 2012 09:22:02 +0000 (UTC) From: "Mark Struberg (JIRA)" To: deltaspike-dev@incubator.apache.org Message-ID: <1788118863.4775.1349515322577.JavaMail.jiratomcat@arcas> In-Reply-To: <1760148543.4771.1349515202901.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (DELTASPIKE-277) Typesafe Messgaes for JSF: add JsfMessage feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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