I can file a bug, but I am curious how you are planning to fix this?
I tried passing the OUTER form to UploadProgressBar, i.e.
nestedForm.add(new UploadProgressBar("progress", outerForm)), but that
caused the following error to be logged in Firebug:
Wicket.WUPB.get(def.statusid) is null
[Break on this error] Wicket.WUPB.get(def.statusid).innerHTML='Upload
starting...';
progressbar.js (line 41
While I am filing a bug and waiting for a fix, are there any
suggestions on how to show a modal window during files upload
initiated from a nested form?
Thanks
On Sat, Nov 20, 2010 at 1:05 PM, Igor Vaynberg <[email protected]> wrote:
> sounds like a bug. open a jira ticket, attach a quickstart.
>
> -igor
>
> On Sat, Nov 20, 2010 at 11:22 AM, Alec Swan <[email protected]> wrote:
>> Hello,
>>
>> I have a page which contains a form around a table. Each row in the
>> table contains a nested form which allows user to upload a file for
>> the row. I added an UploadProgressBar to the upload form in each row.
>> However, the upload progress bars are never shown.
>>
>> I understand that Wicket replaces a nested <form> with <div> and adds
>> onsubmit event handler to display UploadProgressBar. However, since
>> the <form> was replaced with <div> onsubmit handler never fires.
>>
>> How can I display a progress bar or at least a modal window during a
>> file upload from a nested form?
>>
>> Thanks!
>>
>> ---------------------------------------------------------------------
>> 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]