Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-11-12 Thread Thomas Cucchietti
Hello Alex, About the flurry of my own responses, sorry if I seemed impatient : my only concern was to give an update of what I found as it could be useful for future searches. And I don't give up easily ;) However, next time, I'll try to less spam the mailing list. Thomas 2012/10/24 Alex

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-24 Thread Thomas Cucchietti
For information, with the help of people from the tapestry-jquery module, the bug has been found. It was located in the addScripts method of tapestry-jquery.js (v3.3.0) : the server reply inits wasn't executed. To resolve it, you can use tapestry-jquery v3.3.3. 2012/10/23 Thomas Cucchietti

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-24 Thread Alex Kotchnev
Thomas - indeed, the issue w/ tap5-jquery not evaluating the init was a pretty gnarly one. I ran into it myself, albeit in a somewhat different context (and unfortunately it didn't ring a bell when I looked at your questions). Just as a side note, seeing the flurry of your own responses,

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-23 Thread Thomas Cucchietti
I'm really disappointed, but i going to give up as it seems impossible to make it work using Tapestry mechanics. I think that we have to manage everything using js : input validation / ajax form submission / zone update. For information, my goal was to simulate a navigation using a zone wrapped

[T5.3]Zone parameter of a form null after ajax rendering?

2012-10-22 Thread Thomas Cucchietti
Hello, Is the following behavior intended, as it may be a bug ? With this structure : t:zone t:id=zoneToRefresh id=zoneToRefresh t:delegate to=activeBlock/ /t:zone t:block t:id=empty !-- empty block -- /t:block t:block t:id=manageBlock t:form t:id=manageForm zone=zoneToRefresh

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-22 Thread Thomas Cucchietti
I tried to manually link the zone to the form, but with no success. @BeginRender void fixZoneAjaxSupport() { Link link = resources.createEventLink(manualLinkToZone, null); clientBehaviorSupport.linkZone(manageForm, zoneToRefresh, link); } The linkzone in

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-22 Thread Thomas Cucchietti
I keep on trying a way to get this working. In a previous discussion (see the end of Christian's answer herehttp://markmail.org/thread/w6s3jtmwwfw6vfnx#query:+page:1+mid:jbwboaocfw4lkjqj+state:results), a workaround for the null id could be the use of a HeartBeat to defer the evaluation of the

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-22 Thread Thiago H de Paula Figueiredo
Or provide explicit static ids instead of letting them be autogenerated by Tapestry. On Mon, 22 Oct 2012 11:45:18 -0200, Thomas Cucchietti thomas.cucchie...@gmail.com wrote: I keep on trying a way to get this working. In a previous discussion (see the end of Christian's answer

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-22 Thread Thomas Cucchietti
Hello Thiago, I did it by setting explicitely the id (on top of the t:id) parameter of the form to manageForm, but it keeps adding some random value at the end of this (for example manageForm_13a88baf8ea). Something is missing for the clientid to be static? 2012/10/22 Thiago H de Paula

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-22 Thread Thomas Cucchietti
Still impossible to manage to have this zone update using the form inside the zone. From the browser console, I can see that the content of the partial render response contains what is needed for the zone to be updated : (...) inits : [{ formEventManager : [{ formId :