This has been asked several times in the last weeks.
U can use chenillikit's onEvent mixin:
http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/mixins/OnEvent.html
or do something like: http://tinybits.blogspot.com/

2009/8/19 Sergey Kashin <[email protected]>:
> Hello!
>
> In tapestry 4.1 I can create ajax request from select component a very
> simple way:
>
> @EventListener(elements = "city", events = "onchange", submitForm = "form", 
> validateForm = false)
> public void citySelected(IRequestCycle cycle) {
>  .....
>  cycle.getResponseBuilder().updateComponent("zip");
> }
>
>
> How to make that in tap 5.1?
>
>
>
>
> --
> Best regards,
>  Sergey
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to