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

Reply via email to