I have saw the solutions but is not the same as
@EventListener

solution from chenillekit.org is not universal, need javascript
programming for every situation and not contain submitForm = "form", 
validateForm = false


more universals
http://tinybits.blogspot.com/
with zone update but it much simple then @EventListener
they not contain submitForm = "form", validateForm = false

All that surprises from Howard in T5 caused me many and many hours of
work after working with T4.

:((((




Wednesday, August 19, 2009, 3:46:19 PM, you wrote:

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

JEM> 2009/8/19 Sergey Kashin <ayr...@ngs.ru>:
>> 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: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>

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




-- 
Best regards,
 Sergey                            mailto:ayr...@ngs.ru


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

Reply via email to