The tapestry upload component is fine for single file uploads, in some
cases.  However, for apps that allow a user to upload n number of files, it
is the wrong tool IMHO.  Check out the file-uploader javascript project on
github.  tapestry5-jquery has also wrapped this library into a tapestry
component, so that is an option as well.
On Aug 15, 2012 2:22 AM, "Johannes Frey" <jf...@mhp.de> wrote:

> Hi folks,
>
> I'm pretty new to tapestry but I like what I've seen so far :) .. but
> unfortunately I've got a little problem. I try to use ajaxformloop in
> combination with the file upload and can't figure it out how to get that
> working.
>
> As I see it when you click on the addRow-Link then the onAddRow-method is
> called and should return an object of the type needed by the
> markup(component) so if I use <t:upload ...> inside ajaxformloop then I
> should return an object of UploadedFile, right? The Problem is that as I
> see it there is no easy way to instantiate that class. So how can I get
> that working.
>
> What I'm actually trying to accomplish is that there could be 0 or many
> images to an entity... and I need this for uploading an variable number of
> images.
>
> Thank you very much and regards
> Johannes
>

Reply via email to