You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John Reid <jr...@openconnect.co.uk> on 2002/07/17 15:07:48 UTC
HTML special characters in options tags
Hi all
My designer wants me to pad labels in option tags with . I am using
the <html:options /> custom tag with two Vectors to produce my options list.
When the page is rendered, the 's that I put in the labels Vector are
automatically converted to &nbsp;. Is there any way that I can disable
this behaviour?
John
John Reid
----------------
OpenConnect (Ireland) Ltd
+44 (0)2893 329 321
www.openconnect.co.uk
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 15/07/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: HTML special characters in options tags
Posted by Andrew Hill <an...@gridnode.com>.
A quick and dirty solution might be to cut and paste the code for the entire
html:options tag to create your own version which doesnt encode the option
text.
(Im sure there is a better way though!)
-----Original Message-----
From: John Reid [mailto:jreid@openconnect.co.uk]
Sent: Thursday, July 18, 2002 16:27
To: Struts Users Mailing List; Struts-Atlanta@open-tools.org
Subject: RE: HTML special characters in options tags
>
> try filter="false"
>
>
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://www.open-tools.org/struts-atlanta
>
>
> > My designer wants me to pad labels in option tags with .
> I am using
> > the <html:options /> custom tag with two Vectors to produce my
> > options list.
> > When the page is rendered, the 's that I put in the labels
> > Vector are
> > automatically converted to &nbsp;. Is there any way that I
> can disable
> > this behaviour?
> >
Thanks for the reply James. Unfortunately, filter is Struts 1.1, and I am
using 1.0.
John
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 15/07/2002
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: HTML special characters in options tags
Posted by John Reid <jr...@openconnect.co.uk>.
>
> try filter="false"
>
>
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://www.open-tools.org/struts-atlanta
>
>
> > My designer wants me to pad labels in option tags with .
> I am using
> > the <html:options /> custom tag with two Vectors to produce my
> > options list.
> > When the page is rendered, the 's that I put in the labels
> > Vector are
> > automatically converted to &nbsp;. Is there any way that I
> can disable
> > this behaviour?
> >
Thanks for the reply James. Unfortunately, filter is Struts 1.1, and I am
using 1.0.
John
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 15/07/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: HTML special characters in options tags
Posted by James Mitchell <jm...@telocity.com>.
try filter="false"
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta
> -----Original Message-----
> From: John Reid [mailto:jreid@openconnect.co.uk]
> Sent: Wednesday, July 17, 2002 9:08 AM
> To: Struts Users Mailing List
> Subject: HTML special characters in options tags
>
>
> Hi all
>
> My designer wants me to pad labels in option tags with . I am using
> the <html:options /> custom tag with two Vectors to produce my
> options list.
> When the page is rendered, the 's that I put in the labels
> Vector are
> automatically converted to &nbsp;. Is there any way that I can disable
> this behaviour?
>
> John
>
> John Reid
> ----------------
> OpenConnect (Ireland) Ltd
> +44 (0)2893 329 321
> www.openconnect.co.uk
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.377 / Virus Database: 211 - Release Date: 15/07/2002
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>