Excellent, Thanks

On 10/7/05, Mathias Brökelmann <[EMAIL PROTECTED]> wrote:
Try using SelectItemGroup. You can use it for nesting select items
hierarchically.

2005/10/7, Dennis Byrne <[EMAIL PROTECTED]>:
> try using various padding and width styles w/ CSS .
>
> ---- Original message ----
> >Date: Fri, 7 Oct 2005 13:50:13 -0400
> >From: sri <[EMAIL PROTECTED]>
> >Subject: Re: adding spaces to the select item label
> >To: [email protected]
> >
> >   Anybody has any ideas ?
> >
> >   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 "&nbsp;" but that was converted to
> >     "&amp;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'>&nbsp;&nbsp;Class of
> >     1999</option>
> >                                 <option
> >     value='SchoolFestival'>&nbsp;&nbsp;Students of
> >     Mrs. XYZ</option>
> >                                 <option
> >     value='DeathNotification'>&nbsp;&nbsp;Participants
> >     of ABC Sport Event</option>
> >                                 <option value=''>Other
> >     Queries</option>
> >                                 <option
> >     value=''>&nbsp;&nbsp;BADAMS (My Queries)</option>
> >                                 <option
> >
> value='DonationRequest'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cl
> ass
> >     of 1999</option>
> >                                 <option
> >
> value='SchoolFestival'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stu
> dents
> >     of Mrs. XYZ</option>
> >                                 <option
> >
> value='DeathNotification'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> Participants
> >     of ABC Sport Event</option>
> >                                 <option
> >     value=''>&nbsp;&nbsp;HPOTTER</option>
> >                                 <option
> >
> value='DonationRequest'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cl
> ass
> >     of 1999</option>
> >                                 <option
> >
> value='SchoolFestival'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stu
> dents
> >     of Mrs. XYZ</option>
> >                                 <option
> >
> value='DeathNotification'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> Participants
> >     of ABC Sport Event</option>
> >                                 <option
> >     value=''>&nbsp;&nbsp;JSMITH</option>
> >                                 <option
> >
> value='DonationRequest'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cl
> ass
> >     of 1999</option>
> >                                 <option
> >
> value='SchoolFestival'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stu
> dents
> >     of Mrs. XYZ</option>
> >                                 <option
> >
> value='DeathNotification'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> Participants
> >     of ABC Sport Event</option>
> >                             </select>
> >
> >     TIA
> >     Srikanth
> Dennis Byrne
>


--
Mathias

Reply via email to