You could modify the getXXX method in your ActionForm to format the special characters prior to the return statement.
-----Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 18 July 2002 10:00 To: Struts Users Mailing List Subject: RE: HTML special characters in options tags 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:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 16:27 To: Struts Users Mailing List; [EMAIL PROTECTED] 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> For optimum solutions that save you time, visit www.ds-s.com. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>