You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Sergey Kashin <ay...@ngs.ru> on 2009/08/19 13:31:07 UTC

Re[2]: How to create Ajax request from t:select

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 <ay...@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-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>

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




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


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