Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 72524 invoked from network); 24 Dec 2004 19:28:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Dec 2004 19:28:20 -0000 Received: (qmail 76751 invoked by uid 500); 24 Dec 2004 19:28:08 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 76044 invoked by uid 500); 24 Dec 2004 19:28:06 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 76028 invoked by uid 99); 24 Dec 2004 19:28:06 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtpauth09.mail.atl.earthlink.net (HELO smtpauth09.mail.atl.earthlink.net) (209.86.89.69) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 24 Dec 2004 11:28:03 -0800 Received: from [70.19.252.175] (helo=friedman) by smtpauth09.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1Chv6W-00055z-Tz for user@struts.apache.org; Fri, 24 Dec 2004 14:28:01 -0500 From: "David G. Friedman" To: "Struts Users Mailing List" Subject: RE: Problem with struts form select and html escape codes Date: Fri, 24 Dec 2004 14:28:05 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 In-Reply-To: <20041224132551.3723.qmail@web41212.mail.yahoo.com> Importance: Normal X-ELNK-Trace: b135f2a34802a90f6f36dc87813833b242db76727cc5621bae82316a81a86b043d7af79d50c20284350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 70.19.252.175 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Try adding filter="false" on your tag. The docs explain it this way: Filter Set to false if you do NOT want the option labels filtered for sensitive characters in HTML. By default, such values are filtered. [RT Expr] Regards, David -----Original Message----- From: Charl Gerber [mailto:charlgerber@yahoo.com] Sent: Friday, December 24, 2004 8:26 AM To: user@struts.apache.org Subject: Problem with struts form select and html escape codes Hi, I want to format options in a select (using and ). It should look like:
Select me      I am 1
No, select me! I am 2
(Ie, there are spaces in the options that should remain). This of course appears as two options in the select. I have made up the text with
 
; characters, but it then displays as exactly that. Looking in the generated html, I see : &nbsp; which is not what I want. It seems that struts does a parsing and replaces characters with the escape codes, but not for spaces. How can I format my select with struts html tags to keep the spaces intact? Thanks Charl --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org