Ali Zaid wrote:
Thanks, It works!
Glad to hear it. You might want to tweak several pieces of the class,
which was written for my specific needs:
- There is a list of file types that show in the browser rather than
download as attachemnts. This is a small list for my own app.
You'll probably want to alter it.
- I set the last modification time every time to the current time.
You might want to use the file modification time.
- I specifically set the MIME type for MS Word documents. That
might not even be necessary, but it made my life easier. You
might want to remove this, or add other MIME types.
On 10/12/05, *Ali Zaid* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
Scott Man, Thanks allot, I will try it today, I wonder why a great
framework like wicket don't have a simple thing like
FileDownloadLink() or other simple solution.
I think the idea is to keep the core as small as possible. As long as
it is easy for users to build the extensions they need, this is to my
mind a good idea, as it keeps the core APIs smaller and easier to learn.
Good luck,
-- Scott
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user