Yes, but the problem is that I use endless indents from an attribute called 
depth that makes hard to use <optgroup> (I think so, have not tried it though), 
this is how I use depth.
O1-Depth1
        02-Depth2
                O3-Depth3
O4-Depth1
And so on.

I think I found a solution using filter="off" in the options tag.

/Robert A

-----Original Message-----
From: Nicolas De Loof [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 20, 2006 11:35 AM
To: Struts Users Mailing List
Subject: Re: html:option, how to print html characters in the label.


If you're looking for a way to indent options in a select box, you 
should use the <optgroup> HTML tag.

Nico.

Robert Alexandersson a écrit :
> Hello, i want to output the String "&nbsp;Level 2" in my optionlists,
> but the label attribute of options does not return this but the
> transforemed &amp;nbsp; mending it prints the text instead, is there any
> way around this?
>
>
> <html:options collection="items" property="id" labelProperty="title" />
>
> Regards
> Robert A
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to