Hi Thiago, all,

I appreciate your help here.

Unfortunately I've not managed to get any of your suggestions working...

It seems to all simplify to the problem of submitting the form in an AJAX
way.  So, the real question seems to be:

How does one cause a Tapestry form, with a zone attribute specified, to be
submitted via javascript such that it gets submitted in a way that Tapestry
recognizes it as an AJAX submission?

Cheers,

Levi


Thiago H. de Paula Figueiredo wrote:
> 
> Em Mon, 17 Aug 2009 20:19:26 -0300, xfile80303 <l...@grokers.net>
> escreveu:
> 
>> Hi Thiago,
> 
> Hi!
> 
>> Request.isXHR() returns 'false' as you expected...
> 
> Fist part of the problem solved: figuring out what went wrong . . . :)
> 
>> So I'm not sure how to proceed... I'm far better at Java than
>> Javascript, so please pardon my ignorance.
> 
> No problem. :)
> 
>> The ID of the radiobutton components are created as a result of the
>> loop iterator, so I'm not sure how I can use Even.observe (or where I
>> would place a script containing Event.observe calls) to initiate the
>> form submission...
> 
> You must place the Event.observe calls after your radio buttons. The  
> Event.observe first parameter is the observed element (tag) id, so you  
> need to generate this code dynamically.  
> http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained tells you  
> how to do it.
> 
> Anyway, I guess your problem is that you're submitting the form directly  
> and Tapestry.js not being notified of that. Try programatically clicking  
> in a submit button.
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/-T5.1--MultiZoneUpdate-can-not-be-handled-Error-tp3462182p3467137.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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

Reply via email to