You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by MattyDE <uf...@gmail.com> on 2011/07/19 15:40:58 UTC

FileUpload + locked PageMap

Hi,

I've implemented the /org.apache.wicket.markup.html.form.upload.FileUpload
/and /FileUploadField /components to upload big files (> 200MB).

In the meantime of uploading the client (user browser) is not able to
complete any other Ajax-Call even in another Tab (Firefox /
InternetExplorer).

This is a problem. But a bigger one is this Exception:

   org.apache.wicket.RequestCycle     -
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is
still locked 

which occurs, if the File is much bigger.

How can i fix this problem. I think my other problem depends on it?

Thanks a lot in Advance for any helpful answer.

Matty

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3678158.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: FileUpload + locked PageMap

Posted by MattyDE <uf...@gmail.com>.
Okay i think i understand UploadWebRequest now, but i see no reason why the
user cant do anything else on the meantime while uploading.

Is there anywhere in the RequestCycle-processing a blocking part which holds
till the Upload is done?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680109.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: FileUpload + locked PageMap

Posted by MattyDE <uf...@gmail.com>.
Okay.. and what is the way in Wicket 1.4 ;) ?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680072.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: FileUpload + locked PageMap

Posted by Martin Grigorov <mg...@apache.org>.
I mean org.apache.wicket.request.resource.IResource with
org.apache.wicket.request.resource.ResourceReference.
MultipartServletWebRequestImpl wraps the current IResource.Attributes#getRequest

On Wed, Jul 20, 2011 at 9:21 AM, MattyDE <uf...@gmail.com> wrote:
> Hi Martin,
>
> have u any futher informations to this topic?
> With "Wicket Resource" u mean a custom component extending from
> MultipartServletWebRequestImpl?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680069.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: FileUpload + locked PageMap

Posted by MattyDE <uf...@gmail.com>.
Hi Martin,

have u any futher informations to this topic? 
With "Wicket Resource" u mean a custom component extending from
MultipartServletWebRequestImpl?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680069.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: FileUpload + locked PageMap

Posted by Martin Grigorov <mg...@apache.org>.
Using FileUploadField may lead to such problems.
You can create a Wicket Resource that will handle file uploads by
using directly MultipartServletWebRequestImpl.
This way the upload will not lock the access to a page.

On Wed, Jul 20, 2011 at 8:48 AM, MattyDE <uf...@gmail.com> wrote:
> Am i the first one who wants to use the FileUpload Components for uploading
> big files? i doubt this ;)
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680039.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: FileUpload + locked PageMap

Posted by MattyDE <uf...@gmail.com>.
Am i the first one who wants to use the FileUpload Components for uploading
big files? i doubt this ;)

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-locked-PageMap-tp3678158p3680039.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org