On 10/7/05, sri <[EMAIL PROTECTED]> wrote:
Hi
I have a selectOneListBox with several entries. I need to organize them by indenting. I have added spaces, but obviously the spaces are ignored. I have added " " but that was converted to "&nbsp;" when rendered, so that didn't work either. Is there any way to ESCAPE the html for selectOneListBox like the escape attribure for an outputLabel.
I am trying to achieve some thing like below in the list box, I can do this in a static html.
Value Header 1
Value One1
Value Two1
Value Header 2
Value One2
Value Two2
Value SubHeader1
SubValue One
SubValue Two
.....
The follwoing works fine (static html)
<select name="templates" id="templates">
<option value='All'>All</option>
<option value=''>Public</option>
<option value='DonationRequest'> Class of 1999</option>
<option value='SchoolFestival'> Students of Mrs. XYZ</option>
<option value='DeathNotification'> Participants of ABC Sport Event</option>
<option value=''>Other Queries</option>
<option value=''> BADAMS (My Queries)</option>
<option value='DonationRequest'> Class of 1999</option>
<option value='SchoolFestival'> Students of Mrs. XYZ</option>
<option value='DeathNotification'> Participants of ABC Sport Event</option>
<option value=''> HPOTTER</option>
<option value='DonationRequest'> Class of 1999</option>
<option value='SchoolFestival'> Students of Mrs. XYZ</option>
<option value='DeathNotification'> Participants of ABC Sport Event</option>
<option value=''> JSMITH</option>
<option value='DonationRequest'> Class of 1999</option>
<option value='SchoolFestival'> Students of Mrs. XYZ</option>
<option value='DeathNotification'> Participants of ABC Sport Event</option>
</select>
TIA
Srikanth

