On 8/25/07, Nick Ward <[EMAIL PROTECTED]> wrote: > I want to have a separate servlet to go along with my wicket application > that can serve streaming files. However, it needs to have access to the > wicket session to know what to stream. I was thinking about using a > WicketSessionFilter to help me do this. I am using wicket as a filter, and > it seems to save the wicket session as wicket:MyWicketApplication:session. > There is an init-param to the WicketSessionFilter to specify the middle part > of that key, however, it prepends a '/' to the beginning of the string > provided - hence trying to find a session call > wicket:/MyWicketApplication:session and not finding anything. > > Is there a better way I should be doing this? Is this a bug in > WicketSessionFilter?
Yeah, turned out this was a bug. Darn thing never worked for 1.3, or at least didn't for quite a while. Works now though. See https://issues.apache.org/jira/browse/WICKET-897. Also added an example in wicket-examples and updated the javadocs. Thanks for reporting, and have fun, Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
