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
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
blic void renderOption(PropertySelection component, IMarkupWriter
writer, IRequestCycle cycle, IPropertySelectionModel model, Object
option, int index, boolean selected) {
Object selectedValue = component.getValue();
if ( option != null ) {
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?
---