Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 483DB19F93 for ; Wed, 16 Mar 2016 18:51:34 +0000 (UTC) Received: (qmail 4862 invoked by uid 500); 16 Mar 2016 18:51:34 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 4786 invoked by uid 500); 16 Mar 2016 18:51:34 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 4561 invoked by uid 99); 16 Mar 2016 18:51:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 18:51:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 886242C1F5D for ; Wed, 16 Mar 2016 18:51:33 +0000 (UTC) Date: Wed, 16 Mar 2016 18:51:33 +0000 (UTC) From: "Hudson (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TOBAGO-1541) Use of ResourceBundles should support parameters 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/TOBAGO-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197918#comment-15197918 ] Hudson commented on TOBAGO-1541: -------------------------------- SUCCESS: Integrated in Tobago 3.0.x #285 (See [https://builds.apache.org/job/Tobago%203.0.x/285/]) TOBAGO-1541: Use of ResourceBundles should support parameters (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1735265]) * tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/util/MessageFormat.java TOBAGO-1541: Use of ResourceBundles should support parameters (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1735263]) * tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/util/MessageFormat.java * tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/20-format * tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/20-format/format.xhtml * tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/main.xhtml * tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml * tobago-3.0.x/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/TaglibGenerator.java > Use of ResourceBundles should support parameters > ------------------------------------------------ > > Key: TOBAGO-1541 > URL: https://issues.apache.org/jira/browse/TOBAGO-1541 > Project: MyFaces Tobago > Issue Type: New Feature > Components: Core > Reporter: Matthias Wronka > Assignee: Udo Schnurpfeil > > Working with resourceBundles for i18n in JSF-Views should support parameters for formatted messages similar to as described here: http://www.mkyong.com/jsf2/jsf-2-0-and-resource-bundles-example/ > The solution could look like this: > bundle.properties: > myStringWithParameters=Parameter 1 is {0}, parameter 2 {1}. > > > > The output should be (surprise): "Parameter 1 is First value, parameter 2 Second value." -- This message was sent by Atlassian JIRA (v6.3.4#6332)