file another issue with a new quickstart.

-igor

On Tue, Nov 23, 2010 at 8:45 PM, Alec Swan <[email protected]> wrote:
> Hello,
>
> Thank you for promptly fixing the problem with the upload progress bar in
> nested forms. I applied the fix by merging SVN changes into 1.4.13 branch
> and rebuilding the JAR files.
>
> I verified that the original problem was fixed with the patched jars.
> However, here is a new problem. If I have two upload forms, then upload
> initiated in the first form shows progress bar in the second form. So, if
> the second form happens to be hidden (setVisible(false)), then the upload
> progress bar does not show up at all.
>
> Should I file another JIRA issue, add to the existing 3181 issue or change
> my code?
>
> Thanks
>
>
> On Sat, Nov 20, 2010 at 5:59 PM, Alec Swan <[email protected]> wrote:
>
>> I opened JIRA issue 3181:
>> https://issues.apache.org/jira/browse/WICKET-3181. I attached a ZIP
>> file with complete source to reproduce the issue and instructions on
>> how to run it (I am sure you didn't need them).
>>
>> Please let me know if you can think of any other solutions for
>> displaying a modal window from nested upload form.
>>
>> Thanks,
>>
>> Alec
>>
>> On Sat, Nov 20, 2010 at 1:35 PM, Igor Vaynberg <[email protected]>
>> wrote:
>> > not sure yet :) but a quickstart will give me a playground to explore
>> > the options.
>> >
>> > -igor
>> >
>> > On Sat, Nov 20, 2010 at 12:20 PM, Alec Swan <[email protected]> wrote:
>> >> 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]
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > 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]

Reply via email to