I want to update a select, based on a value from another select.

I have tried the OnEvent mixin from the t5components, but only the first selected value is printed to the screen. When I select another value after that, it always prints the first selected value.

How can I do this with Tapestry 5 at the moment?

Here is a part of the java page code:

@OnEvent(component = "productSelect", value = "change")
   Object onProductSelectChanged(String value)
   {
    System.out.println("Value: " + value);
   return null;
}

Leon




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to