You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Petr Janata <pe...@gmail.com> on 2013/05/30 16:06:10 UTC

How to add a link to a file stored in directory?

Hi I have table with file names. I need to add link for files stored in 
directory to download them.

Any idea?

Petr

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to add a link to a file stored in directory?

Posted by "mailinglist@j-b-s.de" <ma...@j-b-s.de>.
Hi Petr!

Have a look at:
http://tawus.wordpress.com/2011/07/30/tapestry-jfreechart-integration/

Here you can see how to stream any kind of data.


StreamResponse was discussed here before:
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/T5-1-Return-a-file-as-response-of-a-ActionLink-event-td2437679.html


And you can find more here:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/StreamResponse.html

or on JumpStart which is a great source to start from anyway

http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/returntypes1



Jens

Sent from my iPhone

On 30.05.2013, at 16:06, Petr Janata <pe...@gmail.com> wrote:

> Hi I have table with file names. I need to add link for files stored in directory to download them.
> 
> Any idea?
> 
> Petr
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org