Re: Progressbar problems
I see that this indeed is not something easy to achieve ... :-/ See the code in org.apache.wicket.extensions.ajax.markup.html.form.upload.UploadStatusResource#getStatus() It uses: final HttpServletRequest req = (HttpServletRequest)attributes.getRequest().getContainerRequest(); UploadInfo info = MultipartServletWebRequestImpl.getUploadInfo(req, upload); Additionally I see that Wicket provides org.apache.wicket.util.upload.ProgressListener but it is not easy at all to set this listener with org.apache.wicket.util.upload.FileUploadBase#setProgressListener(). Feel free to file a ticket to improve this. On Wed, Jun 13, 2012 at 5:09 PM, Sandor Feher wrote: > Hi, > > Looks very nice. But how attach my uploadfield to > > // Get current progress from page field > @Override > protected Progression getProgression() > { > return new Progression(progress, "Item " + > item); > } > > ? > > thnx, Sandor > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Progressbar-problems-tp4649923p4649932.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Progressbar problems
Hi, Looks very nice. But how attach my uploadfield to // Get current progress from page field @Override protected Progression getProgression() { return new Progression(progress, "Item " + item); } ? thnx, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Progressbar-problems-tp4649923p4649932.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Progressbar problems
Hi, You may also try https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/progressbar-parent http://repo1.maven.org/maven2/org/wicketstuff/wicketstuff-progressbar/ On Wed, Jun 13, 2012 at 12:59 PM, Sandor Feher wrote: > Hi, > > I have two problems with my progressbar. > > 1. It does not show up if I use AjaxButton or AjaxSubmitLink. I dig the > archives, set setOutputMarkupPlaceholderTag(true) for progressbar but it did > not help. > If I change it to then it shows up. > > 2. If I try to upload a file from a shared folder attached to network drive > then it shows up but does not show the progress nor the text below (uploaded > nn % of 999 Mbites ) > If I upload from my local drives then it works fine. > > I really appreciate any help! > > thnx, Sandor > > > http://pastebin.com/wPb6aBeZ > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Progressbar-problems-tp4649923.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Progressbar problems
Hi, I have two problems with my progressbar. 1. It does not show up if I use AjaxButton or AjaxSubmitLink. I dig the archives, set setOutputMarkupPlaceholderTag(true) for progressbar but it did not help. If I change it to then it shows up. 2. If I try to upload a file from a shared folder attached to network drive then it shows up but does not show the progress nor the text below (uploaded nn % of 999 Mbites ) If I upload from my local drives then it works fine. I really appreciate any help! thnx, Sandor http://pastebin.com/wPb6aBeZ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Progressbar-problems-tp4649923.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org