tada, all done in trunk

-igor

On Wed, Aug 5, 2009 at 8:23 PM, Igor Vaynberg<[email protected]> wrote:
> yes, the form action is rewritten to the behavior url. the behavior
> url processes the form the same way it does when an ajax request is
> used, but because we do not use an ajax request the form contains its
> multipart data.
>
> i tested it on a small example and it works like a charm save
> javascript problems.
>
> -igor
>
> On Wed, Aug 5, 2009 at 8:16 PM, Bas Gooren<[email protected]> wrote:
>> 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]
>>
>>
>

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

Reply via email to