Re: T5 : How to use the OptGroup in a selection box ?

2008-03-13 Thread Filip S. Adamsen
Hi, http://tapestry.formos.com/nightly/tapestry5/apidocs/org/apache/tapestry/SelectModel.html That should get you started. -Filip Stephane Decleire skrev: I can't find any documentation on how to integrate XHTML OPTGROUP in my selection boxes. Has anybody already done this or know whe

T5 : How to use the OptGroup in a selection box ?

2008-03-13 Thread Stephane Decleire
I can't find any documentation on how to integrate XHTML OPTGROUP in my selection boxes. Has anybody already done this or know where to find docs or samples on this ? Thanks in advance. Stephane

Re: Optgroup

2006-12-12 Thread Ron Piterman
blic void renderOption(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle, IPropertySelectionModel model, Object option, int index, boolean selected) { Object selectedValue = component.getValue(); if ( option != null ) {

Optgroup

2006-12-12 Thread Matthew Walsh
I have an implementation of IPropertySelectionModel that works fine, but I was looking for an easy way to divide them into groups using the tag like so: burger hot dog beer soda What is the easiest way to accomplish this without rewriting too much? ---