Re: t-prevent-submission

2011-07-14 Thread Kalle Korhonen
Well, this is bit more advanced, but the fallback approach has the same idea: http://valums.com/ajax-upload/ (tapestry5-jquery has an upload component based on this, see https://github.com/got5/tapestry5-jquery/issues/16). Kalle On Thu, Jul 14, 2011 at 7:56 PM, Ray Nicholus wrote: > Hmm, I'm no

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
Hmm, I'm not sure I follow. Can you provide an example. On Thu, Jul 14, 2011 at 4:32 PM, Kalle Korhonen wrote: > The typical way to do this is to put the upload on a separate iframe, > displayed as a "field" on the parent form (ajax or not). There's some > amount of coordination that needs to ha

Re: t-prevent-submission

2011-07-14 Thread Kalle Korhonen
The typical way to do this is to put the upload on a separate iframe, displayed as a "field" on the parent form (ajax or not). There's some amount of coordination that needs to happen to make it all behave nicely but it can be done. Kalle On Thu, Jul 14, 2011 at 2:25 PM, Ray Nicholus wrote: > d

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
doh! On Thu, Jul 14, 2011 at 4:16 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 14 Jul 2011 18:08:50 -0300, Ray Nicholus > wrote: > > My upload component is not actually in a zone. Rather, it is in a form, >> and the form has a zone parameter that points to a zone ou

Re: t-prevent-submission

2011-07-14 Thread Thiago H. de Paula Figueiredo
On Thu, 14 Jul 2011 18:08:50 -0300, Ray Nicholus wrote: My upload component is not actually in a zone. Rather, it is in a form, and the form has a zone parameter that points to a zone outside of the form. Is this still the same issue? Yes. Any AJAX form submission including file upload

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
My upload component is not actually in a zone. Rather, it is in a form, and the form has a zone parameter that points to a zone outside of the form. Is this still the same issue? On Thu, Jul 14, 2011 at 4:06 PM, Robert Zeigler wrote: > Hm, yes, upload in a zone won't work. > > There's a pendin

Re: t-prevent-submission

2011-07-14 Thread Robert Zeigler
Hm, yes, upload in a zone won't work. There's a pending spec for supporting uploads via XmlHttpRequest, and it's supported by current versions of at least Safari, Chrome, and FF (IE, anyone?), but the upload component doesn't support it. That said, check out: http://tawus.wordpress.com/2011/06/

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
It looks like there is some issue with the update component and zone updates involving a form. When I comment out the upload component (which I am using in my form), I can submit again. On Thu, Jul 14, 2011 at 2:41 PM, Ray Nicholus wrote: > This seems to prevent submission of the form though, d

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
This seems to prevent submission of the form though, doesn't it? My success handler is no longer called, & my zone is not refreshed. ... ... On Thu, Jul 14, 2011 at 2:36 PM, Robert Zeigler wrote: > So that Tapestry knows to re-route the normal f

Re: t-prevent-submission

2011-07-14 Thread Robert Zeigler
So that Tapestry knows to re-route the normal form submission via ajax. Robert On Jul 14, 2011, at 7/142:33 PM , Ray Nicholus wrote: > Why is tapestry adding this class to my form? It only seems to happen when > add a zone param to the form. ---

t-prevent-submission

2011-07-14 Thread Ray Nicholus
Why is tapestry adding this class to my form? It only seems to happen when add a zone param to the form.