Hey there

For my project I need two chained select boxes.
I followed the example shown in the API
(http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Select.html),
but used my own SelectModel for my custom value type.

It all looks nice, but when I submit the form, the second select box
is always null.
When I add a @Validate("required") on both fields, the client
validation is happy with the boxes, but the server side validation
fails.
I added some debug output and of course the value turns out to be null
in onValidate()

Using Firebug I noticed that the second select in the zone changes its
name and id each time the zone updates, it's something like
"carModel_135e275b957"

Which leads me to the question: What did I do wrong? I never worked
with zones before, so do I need to do some kind of special handling?


Cheers and thanks in advance
Beat

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to