Hi,

I want to format options in a select (using
<html:select> and <html:options>). It should look
like:

<pre>
Select me      I am 1
No, select me! I am 2
</pre>
(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 <pre>&nbsp</pre>;
characters, but it then displays as exactly that.
Looking in the generated html, I see :
&amp;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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to