johan, ok, i've attempted that, and ran into the same blocking-type behaviour. I've added the following to the init() of my Application: DynamicByteArrayResource dbar = new DynamicByteArrayResource() { protected byte[] getData() { if(RequestCycle.get()!=null) { ProgressSession sess = (ProgressSession) RequestCycle.get().getSession(); if(sess!=null) { int count = sess.getCount(); String countStatus = "count: "+count; return countStatus.getBytes(); } } return "".getBytes(); } public String getContentType() { return "text/html"; } }; Application.get().getSharedResources().add("statusResource", dbar); ProgressSession being a Session implementation holding property count. And then in a Page component, I've grabbed a ResourceReference and printed out the accessor url with this: ResourceReference ref = new ResourceReference( "statusResource"); String url = ""> System.out.println("url:"+url); And the resource gets pulled up fine without the upload occuring at the same time. but once the upload occurs, it seems to exhibit a blocking behaviour. any ideas? it shouldn't behave this way right? i'm using 1.1 final. -kin On Nov 23, 2005, at 3:02 PM, Johan Compagner wrote: just an idea. |
- Re: [Wicket-user] Upload Progress bar Andrew Lombardi
- Re: [Wicket-user] Upload Progress bar Nick Heudecker
- Re: [Wicket-user] Upload Progress bar Igor Vaynberg
- Re: [Wicket-user] Upload Progress bar Johan Compagner
- Re: [Wicket-user] Upload Progress bar Igor Vaynberg
- Re: [Wicket-user] Upload Progress ba... Johan Compagner
- Re: [Wicket-user] Upload Progres... Igor Vaynberg
- Re: [Wicket-user] Upload Pro... Johan Compagner
- Re: [Wicket-user] Upload Pro... Eelco Hillenius
- Re: [Wicket-user] Upload Progress bar Johan Compagner