Interesting, it looks like you simply POST the form to the AJAX url using an IFRAME.

How does it work server-side? I would expect that it does not work, since the form action no longer contains it's usual value, and the new form action points directly to an interface (IBehaviorListener). But I guess that since you're using Wicket.Ajax.Call.submitForm, server-side knows a form is being submitted.

I got uploadify working in a componentized form. Works like a charm for now.

Bas

----- Original Message ----- From: "Igor Vaynberg" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 06, 2009 4:32 AM
Subject: Re: Handle file uploads in Behavior and respond using AjaxRequestTarget


On Wed, Aug 5, 2009 at 4:10 PM, Bas Gooren<[email protected]> wrote:

One of the working components I built using IFRAMEs is actually not that
complex (400 LOC),

i just wrote something that is about 30 lines of javascript that does
this. only works in firefox so far. see WICKET-2420.

-igor

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to