Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 11288 invoked from network); 10 Oct 2006 17:16:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 17:16:12 -0000 Received: (qmail 65093 invoked by uid 500); 10 Oct 2006 17:16:01 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 65062 invoked by uid 500); 10 Oct 2006 17:16:01 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 65051 invoked by uid 99); 10 Oct 2006 17:16:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 10:16:00 -0700 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_MOSTLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of vnguyen@ur.com designates 63.241.148.20 as permitted sender) Received: from [63.241.148.20] (HELO ironport.ur.com) (63.241.148.20) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 10:16:00 -0700 Received: from unknown (HELO UREXCHSRV5.ur.com) ([10.6.134.35]) by ironport.ur.com with ESMTP; 10 Oct 2006 13:15:35 -0400 X-OriginatingIP: 10.6.134.35 Content-Type: multipart/mixed; boundary="7myLb.47tWMA9B0.1/SrsS.4so1jcb" Received: from UREXCHVS3.ur.com ([10.6.138.34]) by UREXCHSRV5.ur.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 10 Oct 2006 13:12:25 -0400 x-mimeole: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Subject: render trademark symbol Date: Tue, 10 Oct 2006 13:13:24 -0400 Message-ID: <0D6A3C278F4DC346B98DF4D2F1397E8115D79FC0@UREXCHVS3.ur.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: render trademark symbol Thread-Index: Acbsj2TMy6/vtAanRB6iXzsXH9jzbg== From: "Van Nguyen" To: X-OriginalArrivalTime: 10 Oct 2006 17:12:25.0275 (UTC) FILETIME=[41A998B0:01C6EC8F] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --7myLb.47tWMA9B0.1/SrsS.4so1jcb MIME-Version: 1.0 Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6EC8F.64C18C98" ------_=_NextPart_001_01C6EC8F.64C18C98 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi, =20 I'm using struts 1.2.9 and am running into a problem rendering the trademark symbol using the bean taglib. =20 I have this string stored in my lucene index as: =20 W.Rose(tm) Convex Jointer =20 It stores it in my bean as such... but when I use the tag, it displays it as: =20 W.Rose? Convex Jointer=20 =20 I added some breakpoints in the WriteTag class inside the struts library, and I see that it comes in as=20 =20 W.Rose(tm) Convex Jointer =20 And it is being returned as the same string...=20 =20 Is there anything else that needs to be done to render the Trademark symbol as (tm)? =20 I've read online that HTML needs it to be ™ to render correctly. But I've tried changing the text in the bean to: =20 W.Rose™ Convex Jointer =20 But that did not work either... the tag just displays it as W.Rose™ Convex Jointer =20 Any suggestions? =20 =20 ------_=_NextPart_001_01C6EC8F.64C18C98 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m using struts 1.2.9 and am running into a = problem rendering the trademark symbol using the bean = taglib.

 

I have this string stored in my lucene index = as:

 

W.Rose™ Convex = Jointer

 

It stores it in my bean as such… but = when I use the <bean:write> tag, it displays it = as:

 

= W.Rose? Convex Jointer =

 

I added some breakpoints in the WriteTag class = inside the struts library, and I see that it comes in as =

 

W.Rose™ Convex = Jointer

 

And it is being returned as the same string… =

 

Is there anything else that needs to be done to = render the Trademark symbol as ?=

 

I’ve read online that HTML needs it to be &trade; to render correctly.  But I’ve tried changing the = text in the bean to:

 

W.Rose&trade; Convex = Jointer

 

But that did not work either… the <bean:write> tag just displays it as W.Rose&trade; Convex = Jointer

 

Any suggestions?

 

 

------_=_NextPart_001_01C6EC8F.64C18C98-- --7myLb.47tWMA9B0.1/SrsS.4so1jcb Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline United Rentals Consider it done.=E2=84=A2 800-UR-RENTS unitedrentals.com --7myLb.47tWMA9B0.1/SrsS.4so1jcb Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --7myLb.47tWMA9B0.1/SrsS.4so1jcb--