[Seaside] How to use optgroups

Ole Voß smalltalk at netrogue.de
Sun Mar 7 07:13:44 UTC 2010


It took me a while to understand, but now I got it. 
The beef was in 'renderNestedSelectionOn: html' in combination with 'nestedElements'.

Thank you for the hint.

Kind regards,
Ole.

On Mar 2, 2010, at 5:48 PM, Lukas Renggli wrote:

> See the senders of optionGroup in WAInputElementContainer.
> 
> Lukas
> 
> On 2 March 2010 17:21, Ole Voß <smalltalk at netrogue.de> wrote:
>> Hi everybody,
>> 
>> I'm trying to make use of the optgroup-Tag to create something like this:
>> 
>>                        <select id="selectmultiple5optgroups" name="InputfieldSelect" size="5" multiple="multiple" tabindex="8">
>>                                <optgroup label="Website">
>>                                        <option value="News">News</option>
>>                                        <option value="Blog">Blog</option>
>>                                </optgroup>
>>                                <optgroup label="Feeds">
>>                                        <option value="RSS" selected>RSS-Feed</option>
>>                                        <option value="Newsletter">Newsletter</option>
>>                                </optgroup>
>>                        </select>
>> 
>> But somehow I can't figure it out. How do I get the optgroup into the list for the select?
>> 
>> Kind regards,
>> 
>> Ole._______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> 
> 
> 
> 
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list