Martijn Dashorst schrieb:
> If you use the AjaxUploadField it does. But you can't submit a
> multipart form using ajax.
>
> Martijn
>
>
> On 2/1/07, Henning Bredel <[EMAIL PROTECTED]> wrote:
>   
>> Martijn Dashorst schrieb:
>>     
>>> Hmm,
>>>
>>> Seems more like a bug to me. Apparently the raw input is not kept in
>>> the components when doing the backgroung ajax upload.
>>>
>>> Can you file a JIRA issue for this?
>>>
>>> Martijn
>>>
>>> On 2/1/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
>>>
>>>       
>>>> You have to force Wicket to avoid reloading the page after the file has 
>>>> been
>>>> uploaded. I've used the following code in the Form#onSubmit() method:
>>>>
>>>>
>>>>              // avoid redirection
>>>>              // Tell Wicket we're going to do the redirect ourselves.
>>>>              getRequestCycle().setRedirect(false);
>>>>              // Make sure no output for the current cycle is ever sent.
>>>>
>>>> getRequestCycle().setRequestTarget(EmptyRequestTarget.getInstance());
>>>>
>>>>
>>>>
>>>>
>>>> - Paolo
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 2/1/07, Henning Bredel < [EMAIL PROTECTED]> wrote:
>>>>
>>>>         
>>>>> Hi,
>>>>>
>>>>> is there a way, to handle an upload with ajax?
>>>>>
>>>>> I have a form with some textfields and an upload (like the example).
>>>>> After uploading, the form loads again and all made entries in the
>>>>> textfields
>>>>> are gone.
>>>>>
>>>>> thanks in advance
>>>>>
>>>>> Henning
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> -------------------------------------------------------------------------
>>>>
>>>>         
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>>>
>>>>>           
>>>> easier.
>>>>
>>>>         
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>
>>>>>
>>>>>           
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>
>>>>         
>>>>> _______________________________________________
>>>>> Wicket-user mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>>>
>>>>>
>>>>>           
>>>> -------------------------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job
>>>> easier.
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Wicket-user mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>>
>>>>
>>>>
>>>>         
>>>
>>>       
>> hmm, i do not know if i misunderstood . . . is the upload working with
>> ajax in the background?
>> i currently do not use any ajax for uploading -- the example does not,
>> and it didn´t work when
>> i tried it with an AjaxSubmitButton.
>>
>> regards
>>
>> henning
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job 
>> easier.
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>     
>
>
>   
uh?! Why AjaxUploadField exists, when multipart isn´t supported?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to