[Seaside] How to use optgroups

Ole Voß smalltalk at netrogue.de
Tue Mar 2 16:21:49 UTC 2010


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.


More information about the seaside mailing list