Re: [Wicket-user] nice url for DownloadLink

2007-06-13 Thread Jan Van Besien
Johan Compagner wrote: > somehow there is also txt/strings written to the output, can you set a > breakt point in the br.close() method and see what it wants to write? Indeed! It wanted to write a html page displaying a RuntimeException (file not found). Now I got it working. thnx Jan -

Re: [Wicket-user] nice url for DownloadLink

2007-06-13 Thread Johan Compagner
somehow there is also txt/strings written to the output, can you set a breakt point in the br.close() method and see what it wants to write? On 6/13/07, Jan Van Besien <[EMAIL PROTECTED]> wrote: > Jean-Baptiste Quenot wrote: > > The concepts described in the static pages examples are the same > >

Re: [Wicket-user] nice url for DownloadLink

2007-06-13 Thread Jean-Baptiste Quenot
* Jan Van Besien: > Jean-Baptiste Quenot wrote: > > The concepts described in the static pages examples are the same > > in 1.2.6. You would just have to copy > > URIRequestTargetUrlCodingStrategy in your project, it is > > compatible with 1.2.6. > > Ok, that's what I did. > > In the WebPage cla

Re: [Wicket-user] nice url for DownloadLink

2007-06-12 Thread Jan Van Besien
Jean-Baptiste Quenot wrote: > The concepts described in the static pages examples are the same > in 1.2.6. You would just have to copy > URIRequestTargetUrlCodingStrategy in your project, it is > compatible with 1.2.6. Ok, that's what I did. In the WebPage class I have something like (StaticLink

Re: [Wicket-user] nice url for DownloadLink

2007-06-12 Thread Maurice Marrink
wicket 1.3 is available if you include the following in your repositories tag of maven 2 pom.xml wicket-snaps http://wicketstuff.org/maven/repository true false Maurice On 6/12/07, Jean-Baptiste Quenot <[EMAIL

Re: [Wicket-user] nice url for DownloadLink

2007-06-12 Thread Jean-Baptiste Quenot
* Jan Van Besien: > Jean-Baptiste Quenot wrote: > > > If I were you I would look at the static pages examples: > > > > http://wicketstuff.org/wicket13/staticpages/ > > Looks promising indeed, but unfortunattely seems to be wicket > 1.3 features. I'm using latest stable 1.2.6, and will need t

Re: [Wicket-user] nice url for DownloadLink

2007-06-12 Thread Jan Van Besien
Jean-Baptiste Quenot wrote: > * Jan Van Besien: > If I were you I would look at the static pages examples: > > http://wicketstuff.org/wicket13/staticpages/ Looks promising indeed, but unfortunattely seems to be wicket 1.3 features. I'm using latest stable 1.2.6, and will need to verify if 1.3 i

Re: [Wicket-user] nice url for DownloadLink

2007-06-12 Thread Jean-Baptiste Quenot
* Jan Van Besien: > > Currently on my page the files (e.g. report1.csv, report2.csv, ...) have > url's like > > http://somehost/mycontextroot/?wicket:interface=:1:reports:0:fileLink::ILinkListener > http://somehost/mycontextroot/?wicket:interface=:1:reports:1:fileLink::ILinkListener > > I would

Re: [Wicket-user] nice url for DownloadLink

2007-06-12 Thread Igor Vaynberg
you need to create a shared resource that lets you stream those files and mount that. then create a link component that generates href with urlfor(resourcereference)+"/report1.csv"; or something like that. -igor On 6/11/07, Jan Van Besien <[EMAIL PROTECTED]> wrote: Hi all I have a page with

[Wicket-user] nice url for DownloadLink

2007-06-11 Thread Jan Van Besien
Hi all I have a page with a list of DownloadLinks that allow the user to download a bunch of text (csv) files. This works, but clients want to access these files with a script, without having to click trough the gui. This also works, but the url's that point to the files are somewhat cryptic o