Re: Handling futures

2011-07-24 Thread Hans Lesmeister
Did you already take a look at wicketstuff-progressbar? Regards Hans Am 23.07.11 17:02 schrieb Bertrand Guay-Paquet unter ber...@step.polymtl.ca: I haven't actually done it yet, but the 3 steps you list are what I have in mind. After these, I plan to use a javascript timer that polls the

Re: Loading wicket components from javascript

2011-07-24 Thread Michael Petritsch
I am using wicket 1.4.16, the markupplaceholder is there (checked with firebug). I have also tried it with a simple visible label: public class MyPanel extends Panel { Label myUpdatedLabel; public MyPanel() { add(new AbstractDefaultAjaxBehavior() { @Override

Re: Loading wicket components from javascript

2011-07-24 Thread Martin Grigorov
On Sun, Jul 24, 2011 at 5:10 PM, Michael Petritsch michael.petrit...@gmail.com wrote: I am using wicket 1.4.16, the markupplaceholder is there (checked with firebug). I have also tried it with a simple visible label: public class MyPanel extends Panel {  Label myUpdatedLabel;  public

Re: Loading wicket components from javascript

2011-07-24 Thread Michael Petritsch
Yes, I removed the visibility related code and anything else for simplicity and to focus on the actual problem. What I actually want to achieve is something like: public class MyPanel extends Panel { Panel myAjaxLoadedPanel; public MyPanel() { add(new AbstractDefaultAjaxBehavior() {

Re: Loading wicket components from javascript

2011-07-24 Thread Martin Grigorov
On Sun, Jul 24, 2011 at 5:40 PM, Michael Petritsch michael.petrit...@gmail.com wrote: Yes, I removed the visibility related code and anything else for simplicity and to focus on the actual problem. What I actually want to achieve is something like: public class MyPanel extends Panel {  

Re: Loading wicket components from javascript

2011-07-24 Thread Michael Petritsch
I am using this behaviour because I found an example for this. I don't know if there is anything better. :) Ok, the problem is I have some javascript diagrams (from http://highcharts.com/, don't want to advertise, but since you've asked ;)) that I use in our wicket app. and when I click on a

IE 8: FileUpload#getClientFileName() returns full file path

2011-07-24 Thread Alec Swan
Hello, I have an upload form in Wicket 1.4.17 and noticed that FileUpload#getClientFileName() returns just the file name in Firefox 4.0 and the entire absolute path in IE 8.0. My code is almost identical to the one in upload file Wicket example, which works in IE 8.0. Any ideas on what could

Re: IE 8: FileUpload#getClientFileName() returns full file path

2011-07-24 Thread Alec Swan
Looks like other people experienced the same problem with file upload in IE. Is there a JIRA issue for this? Here are some related threads: http://apache-wicket.1842946.n4.nabble.com/upload-in-IE-tp3045562p3045562.html

Re: IE 8: FileUpload#getClientFileName() returns full file path

2011-07-24 Thread Alec Swan
What still baffles me is why IE upload works in 1.4.17 Wicket examples http://wicketstuff.org/wicket14/upload/single? On Sun, Jul 24, 2011 at 10:22 AM, Alec Swan alecs...@gmail.com wrote: Looks like other people experienced the same problem with file upload in IE. Is there a JIRA issue for

Re: Loading wicket components from javascript

2011-07-24 Thread Martin Grigorov
On Sun, Jul 24, 2011 at 6:18 PM, Michael Petritsch michael.petrit...@gmail.com wrote: I am using this behaviour because I found an example for this. I don't know if there is anything better. :) Ok, the problem is I have some javascript diagrams (from http://highcharts.com/, don't want to

Re: Handling futures

2011-07-24 Thread Bertrand Guay-Paquet
Hans: I hadn't looked at that project, thanks for mentioning it. Thank you all for your input. It seems the only viable solution is to keep track of Futures in another scope than the relevant components so I'll go with that. On 24/07/2011 1:21 AM, Rodolfo Hansen wrote: Have you thought