You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Steamus <st...@gmail.com> on 2013/02/06 19:45:52 UTC

A couple of problems with MultiFileUploadField

I was trying to use the MultiFileUploadField class (with
PropertyModel<Collection&lt;FileUpload>>) to upload multiply files.

And I was little confused with a couple of things. 

At first it is strange to have uploaded file path name on the panel with
prefix – “C:\fakepath\”. Difficult to explain… but I can’t show the control
with that prefix to serious customer.  Sorry, but it looks little stupide.
:)

Another one thing – why it is impossible to multiply files selection (for
HTML5 browsers)? It is 2013 year. May be It should switch on?

So, I found the JIRA issue WICKET-4861. The issue fix both problems. But
looks like the issue wasn’t applied. I don’t see any changings in the
version Wicket 6.5.0.

Now I am thinking what to do with it:

There is some decision which I missed?
To wait for some new version with fix? 
To get sources from github (patch from WICKET-4861) and implement own class?
To provide as is and laughing with customer together?

Something else?

Anybody already had this problem?

Thank you for your opinion.




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-couple-of-problems-with-MultiFileUploadField-tp4656131.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: A couple of problems with MultiFileUploadField

Posted by Martin Grigorov <mg...@apache.org>.
Hi,


On Thu, Feb 7, 2013 at 6:18 PM, Steamus <st...@gmail.com> wrote:

> >  I'll try to apply the patch for 6.6.0.
>
> It would be good! Thank you, Martin.
>

Done. The patch is applied.


> One little remark: It looks like it is impossible to use UploadProgressBar
> with MultiFileUploadField (according to parameters it works with
> FileUploadField only).
>

Patches are welcome.
You have a week before 6.6.0 is released :-)


>
> > third example allows multiple files to be uploaded with modern browser.
> Yes, sure, I was trying to use this approach. But due to impossibility to
> edit already selected files it is enough useless. Also I can’t add a new
> files from other directory.
>
> Thank you for your help.
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/A-couple-of-problems-with-MultiFileUploadField-tp4656131p4656165.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 <http://jweekend.com/>

Re: A couple of problems with MultiFileUploadField

Posted by Steamus <st...@gmail.com>.
>  I'll try to apply the patch for 6.6.0.

It would be good! Thank you, Martin.
One little remark: It looks like it is impossible to use UploadProgressBar
with MultiFileUploadField (according to parameters it works with
FileUploadField only).

> third example allows multiple files to be uploaded with modern browser.
Yes, sure, I was trying to use this approach. But due to impossibility to
edit already selected files it is enough useless. Also I can’t add a new
files from other directory.

Thank you for your help.





--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-couple-of-problems-with-MultiFileUploadField-tp4656131p4656165.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: A couple of problems with MultiFileUploadField

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Here is an option:
http://www.wicket-library.com/wicket-examples-6.0.x/upload/single?0 the
third example allows multiple files to be uploaded with modern browser.

I'll try to apply the patch for 6.6.0.


On Wed, Feb 6, 2013 at 7:45 PM, Steamus <st...@gmail.com> wrote:

> I was trying to use the MultiFileUploadField class (with
> PropertyModel<Collection&lt;FileUpload>>) to upload multiply files.
>
> And I was little confused with a couple of things.
>
> At first it is strange to have uploaded file path name on the panel with
> prefix – “C:\fakepath\”. Difficult to explain… but I can’t show the control
> with that prefix to serious customer.  Sorry, but it looks little stupide.
> :)
>
> Another one thing – why it is impossible to multiply files selection (for
> HTML5 browsers)? It is 2013 year. May be It should switch on?
>
> So, I found the JIRA issue WICKET-4861. The issue fix both problems. But
> looks like the issue wasn’t applied. I don’t see any changings in the
> version Wicket 6.5.0.
>
> Now I am thinking what to do with it:
>
> There is some decision which I missed?
> To wait for some new version with fix?
> To get sources from github (patch from WICKET-4861) and implement own
> class?
> To provide as is and laughing with customer together?
>
> Something else?
>
> Anybody already had this problem?
>
> Thank you for your opinion.
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/A-couple-of-problems-with-MultiFileUploadField-tp4656131.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 <http://jweekend.com/>