Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 37850 invoked from network); 4 Sep 2007 15:30:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2007 15:30:37 -0000 Received: (qmail 26064 invoked by uid 500); 4 Sep 2007 15:30:27 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 26037 invoked by uid 500); 4 Sep 2007 15:30:27 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 26026 invoked by uid 99); 4 Sep 2007 15:30:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 08:30:27 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of awiner@gmail.com designates 209.85.198.188 as permitted sender) Received: from [209.85.198.188] (HELO rv-out-0910.google.com) (209.85.198.188) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 15:31:34 +0000 Received: by rv-out-0910.google.com with SMTP id c27so1080269rvf for ; Tue, 04 Sep 2007 08:29:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e/e2XtDnX0VSuJb5HL2jaDC3ZJOASLhS3G3HzmnNxINzbC5wy6U8wV/xKSXqIbufkOkBYeC8WaPdEBkvHz3wcFvTtV21PmuNFCyGBXQ2DZ++moq2SypKc5jeZ+9b64UhLRbvtOYLNnCNP2Haxk9rJBqhCILArThuQr2pKYpPRIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LnhLOfjR6JbxJzimX6Vtrn/9WDlPrYoOgw+sFkKWviwJnlCNOhCiTgBxRb+P2jREgTK05RAIdiTh9Aw3xu5XVlgpHcgmaiSRIzcmY8X6iZJDJ3/hx7Wa/Lez+2vvtr603OqBF9AKcKZKrO9pCwaBkNqr4pnRAJ5TxM9aEKhDZo4= Received: by 10.141.88.3 with SMTP id q3mr1591770rvl.1188919798331; Tue, 04 Sep 2007 08:29:58 -0700 (PDT) Received: by 10.141.172.7 with HTTP; Tue, 4 Sep 2007 08:29:58 -0700 (PDT) Message-ID: <6dac79b90709040829x535f008fy463402e120f5f6a7@mail.gmail.com> Date: Tue, 4 Sep 2007 08:29:58 -0700 From: "Adam Winer" To: "MyFaces Discussion" Subject: Re: trinidad outputFormat and f:param support In-Reply-To: <5bbf92e70709040554r134b5f6sdd91c77430e273f6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <12385896.post@talk.nabble.com> <5bbf92e70708291210s25ef941od28ac6ac77d6bbc@mail.gmail.com> <12401317.post@talk.nabble.com> <6dac79b90709032225s6bc47750xc6eb4306fbaeae73@mail.gmail.com> <5bbf92e70709040554r134b5f6sdd91c77430e273f6@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org -0.5; outputText performance is really critical to overall performance, and even adding a boolean attribute slows it down a bit. -- Adam On 9/4/07, Danny Robinson wrote: > Should we look at providing this variable replacement functionality into > outputText. Although I'm against just parsing the text by default, as this > would just add unnecessary parsing in 99% of the cases. Should we instead > look at an extra attribute that forces parsing of the string for variable > substitution. > > Danny > > On 9/4/07, Adam Winer wrote: > > BTW, for all of these examples, you should just use tr:outputText > > instead of tr:outputFormatted. > > > > outputFormatted really has nothing to do with "outputFormat". > > What tr:outputFormatted gives you is support for (a subset of) > > HTML formatting without opening the security hole of > > escape="false". > > > > -- Adam > > > > > > > > On 8/30/07, Andrew Robinson wrote: > > > Well you could do: > > > > > > > > > > > > where you could write format1, format2, etc. EL functions to do the > work. > > > > > > You could also do: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 8/30/07, Paul Mander < paul.mander@chordiant.com> wrote: > > > > > > > > > > > > > > > > Andrew Robinson-5 wrote: > > > > > > > > > > Well, that is not localizable > > > > > > > > > > I think the use case that he means is more like: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > messages.properties > > > > > str = Test {0} param > > > > > > > > > > > > > > > > > > That's a better example. > > > > > > > > -- > > > > View this message in context: > http://www.nabble.com/trinidad-outputFormat-and-f%3Aparam-support-tf4347417.html#a12401317 > > > > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > -- > Chordiant Software Inc. > www.chordiant.com