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 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 ofcourse.

I know of the feature to mount bookmarkable pages etc to give them nicer
url's, and now I'm looking for a solution to do something similar for
DownloadLinks.

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 like this to be something like

http://somehost/mycontextroot/reports/report1.csv
http://somehost/mycontextroot/reports/report2.csv

Thanks in advance
Jan

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to