Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-07 Thread Bas Gooren
being submitted. I got uploadify working in a componentized form. Works like a charm for now. Bas - Original Message - From: "Igor Vaynberg" To: Sent: Thursday, August 06, 2009 4:32 AM Subject: Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-07 Thread Igor Vaynberg
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" >> To: >

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Igor Vaynberg
now. > > Bas > > - Original Message - From: "Igor Vaynberg" > To: > 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

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Bas Gooren
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 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 javas

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Igor Vaynberg
On Wed, Aug 5, 2009 at 4:10 PM, Bas Gooren 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

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Igor Vaynberg
ld you go about building a component or behavior for Uploadify? > Let's forget about the IFRAME solution for a second: flash-based uploading > replaces the IFRAME. > > Regards, > > Bas > > - Original Message - From: "Igor Vaynberg" > To: > Sent: Thurs

RE: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Russell Simpkins
cleaner or any help at all, but I do hope it helps. Russ > From: igor.vaynb...@gmail.com > Date: Wed, 5 Aug 2009 15:51:44 -0700 > Subject: Re: Handle file uploads in Behavior and respond using > AjaxRequestTarget > To: users@wicket.apache.or

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Bas Gooren
rds, Bas - Original Message - From: "Igor Vaynberg" To: Sent: Thursday, August 06, 2009 12:51 AM Subject: Re: Handle file uploads in Behavior and respond using AjaxRequestTarget well, its complex because you have to hack this in, browser's built in ajax support doesn

Re: Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Igor Vaynberg
well, its complex because you have to hack this in, browser's built in ajax support doesnt handle multipart requests yet. sounds like you are overcomplicating it by prerendering the iframe in the output. i think it would be easier to create the iframe on the fly via javascript, and give it style='

Handle file uploads in Behavior and respond using AjaxRequestTarget

2009-08-05 Thread Bas Gooren
Hi all, Since I've seen many great answers on this list it's time to ask one of my questions ;-) The thing that strikes me as odd is how hard it is right now to handle file uploads and respond as if it were an AJAX request. I've built (based on various sources) a solution which uses a Panel whi