your quickstart was missing the UploadWebRequest. see progress bar's javadoc.
-igor On Mon, Nov 29, 2010 at 5:23 PM, Alec Swan <[email protected]> wrote: > Right, that works. However, the progress bar shows up but doesn't show any > progress. It basically sits there without updating and then disappears. Am I > missing some customization steps? > > What I am trying to do is to have the progress bar to be a sort of modal > dialog expanding over the outer form preventing the user from entering or > clicking nested form elements. Is this possible? > > Thanks, > > Alec > > > On Mon, Nov 29, 2010 at 9:56 AM, Igor Vaynberg <[email protected]>wrote: > >> yeah, just add it to the outer form :) >> >> -igor >> >> On Mon, Nov 29, 2010 at 8:52 AM, Alec Swan <[email protected]> wrote: >> > Igor, thanks for fixing JIRA 3191. Based on your comment the progress bar >> > will show up in all nested file upload forms when a single form is >> > submitted. >> > >> > Is there a way to make the progress bar a child component of the outer >> form >> > and display the bar on submission of any (or all) nested forms? >> > >> > Thanks, >> > >> > Alec >> > >> > On Wed, Nov 24, 2010 at 10:29 AM, Alec Swan <[email protected]> wrote: >> > >> >> Done. JIRA 3191. >> >> >> >> Thanks >> >> >> >> On Tue, Nov 23, 2010 at 10:39 PM, Igor Vaynberg < >> [email protected]> >> >> wrote: >> >> > 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] >> >> > >> >> > >> >> >> > >> >> --------------------------------------------------------------------- >> 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]
