Re: DownloadLink hanging

2007-08-28 Thread Thomas Singer
you will be creating a ton of shared resources - one per file which isnt the greatest Why you think it is not good? We don't have too much available files ( 20). Would it be better to give each file resource a unique name instead of the empty string? while being a bit more secure iin terms

Re: DownloadLink hanging

2007-08-28 Thread Igor Vaynberg
see all these kinds of questions start coming up, that is why download link is made the way it is. you have none of these worries and it is very secure by default. so i think when it comes to these issues what i will be concentrating on is making downloadlink not block. whether it will be for 1.3

Re: DownloadLink hanging

2007-08-27 Thread Thomas Singer
Isn't fixing bugs the task of the Wicket developers? We don't have a problem ordering support, but I could not find information where to get it. -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor Vaynberg wrote: if it is that

Re: DownloadLink hanging

2007-08-27 Thread Gerolf Seitz
well, it kind of is the task of the developers, but it's totally up to them to choose when they fix (or not fix) which bugs. also, what keeps you from contributing? anyway, companies providing commercial support are listed in the wiki:

Re: DownloadLink hanging

2007-08-27 Thread Eelco Hillenius
On 8/27/07, Thomas Singer [EMAIL PROTECTED] wrote: Isn't fixing bugs the task of the Wicket developers? We don't have a problem ordering support, but I could not find information where to get it. It's unfortunate you have an urgent problem. Sorry about that. However, everyone of the development

Re: DownloadLink hanging

2007-08-27 Thread Thomas Singer
Your best bet on getting quick support is to fix it yourself and send in a patch. Well, if that would be possible, I would have done that or worked around it myself (like done with some own components). http://www.wicket-support.com/ Sorry to say, but I hate websites where you can't find

Re: DownloadLink hanging

2007-08-27 Thread Matej Knopp
I've commited a possible fix. Can you plase try if it helps your problem? -Matej On 8/27/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 8/27/07, Thomas Singer [EMAIL PROTECTED] wrote: Isn't fixing bugs the task of the Wicket developers? We don't have a problem ordering support, but I

Re: DownloadLink hanging

2007-08-27 Thread Eelco Hillenius
On 8/27/07, Thomas Singer [EMAIL PROTECTED] wrote: Your best bet on getting quick support is to fix it yourself and send in a patch. Well, if that would be possible, I would have done that or worked around it myself (like done with some own components). http://www.wicket-support.com/

Re: DownloadLink hanging

2007-08-27 Thread Matej Knopp
On 8/27/07, Thomas Singer [EMAIL PROTECTED] wrote: Your best bet on getting quick support is to fix it yourself and send in a patch. Well, if that would be possible, I would have done that or worked around it myself (like done with some own components). http://www.wicket-support.com/

Re: DownloadLink hanging

2007-08-27 Thread Thomas Singer
I think the email address is quite obvious. I'm talking about real addresses. But as Eelco already stated, it might be hard to list them because you are scattered over the world. I'll accept that. Ever heard of open source? Just think about it a little. You have a product that a group of

Re: DownloadLink hanging

2007-08-27 Thread Matej Knopp
The blocking is necessary in order not to corrupt session state. We have as fine grained locking as possible (under the circumstances). Web applications are by nature multi-threaded. If you don't synchronize the access to certain resources (sessions) you can get bugs that are very difficult to

Re: DownloadLink hanging

2007-08-27 Thread Igor Vaynberg
here is a download link that doesnt block. notice that unlike the original it has no security - it's urls are stable and it will stream any file off your harddrisk. you can use it as a starting point to build a download link suited for your app. -igor /* * Licensed to the Apache Software

Re: DownloadLink hanging

2007-08-26 Thread Thomas Singer
BTW, as long as this issue is not fixed, we can't take our Wicket-based website online. This is a show-stopper bug for us. :( -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Thomas Singer wrote: Done:

Re: DownloadLink hanging

2007-08-24 Thread Thomas Singer
Done: https://issues.apache.org/jira/browse/WICKET-878 Tom Igor Vaynberg wrote: yep -igor On 8/23/07, Thomas Singer [EMAIL PROTECTED] wrote: Should I report a bug in JIRA? -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor

Re: DownloadLink hanging

2007-08-24 Thread Jean-Baptiste Quenot
* Igor Vaynberg: yep, DownloadLinks will block because requests to the same page are serialized. Igor, that's a good point. Thomas, did you try to follow the approach shown in the static pages examples? See http://wicketstuff.org/wicket13/staticpages/ -- Jean-Baptiste Quenot aka

Re: DownloadLink hanging

2007-08-23 Thread Thomas Singer
inside shared resource you can simply call Session.get() to get to wicket session. Unfortunately, it looks like this is not possible, because I'm getting following exception: java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle

Re: DownloadLink hanging

2007-08-23 Thread Thomas Singer
Should I report a bug in JIRA? -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor Vaynberg wrote: hm, this looks like an old bug. johan didnt we fix this a while ago? -igor On 8/23/07, Thomas Singer [EMAIL PROTECTED] wrote:

Re: DownloadLink hanging

2007-08-23 Thread Igor Vaynberg
yep -igor On 8/23/07, Thomas Singer [EMAIL PROTECTED] wrote: Should I report a bug in JIRA? -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor Vaynberg wrote: hm, this looks like an old bug. johan didnt we fix this

Re: DownloadLink hanging

2007-08-22 Thread Igor Vaynberg
you can register a shared resource and build a url for it. inside shared resource you can simply call Session.get() to get to wicket session. see application.getsharedresources(); alternatively you can extend WicketSessionFilter which will also allow you to perform Session.get() -igor On

Re: DownloadLink hanging

2007-08-21 Thread Igor Vaynberg
On 8/21/07, Thomas Singer [EMAIL PROTECTED] wrote: Hi Igor, yep, DownloadLinks will block because requests to the same page are serialized. Sorry, I don't understand, why links to downloadable resources should be blocking or serialized. Usually downloads are the larger parts of an

Re: DownloadLink hanging

2007-08-21 Thread Thomas Singer
Disclaimer: I'm not experienced with filters or wicket resources. Is it possible to create a (shared) wicket resource which can be filtered, so it only is accessible when the right flag is set in OurWebSession? Or would you suggest to write an own javax.servlet.Filter which does this

DownloadLink hanging

2007-08-20 Thread Thomas Singer
Hi, We are using Wicket 1.3 beta 2 running in Tomcat and have a couple of DownloadLinks on a page (created with 'new DownloadPage(parameters)') for larger files (a couple of MB). I open different tabs of the same page in Opera and click these download links, so the downloads should happen in