Create a Tapestry service for building CSV files. The demo app has a custom 
service (Graph I think).
You can use ServiceLink to create links to the CSV files.

It is constructed using a couple of classes. You can also make it by 
starting out with an existing service like ExternalService.

Henrik

"Julian Wood" <[EMAIL PROTECTED]> skrev i en meddelelse 
news:[EMAIL PROTECTED]
> How do you do it?
>
> I would like to click a link, have a listener assemble a CSV file,  and 
> send it back as a download (ie change a few headers behind the  scenes 
> like Content-Type and Content-Disposition).
>
> It seems that I need to write my own component, but it would also  seem 
> this should be a pretty common request - yet I can't find it. I  do see it 
> in the (for purchase - no offense intended) book "Enjoying  Web 
> Development", but surely that's not the only example or  documentation on 
> the subject?
>
> So what's the normal way to do this? Just a pointer in the right 
> direction.
>
> Thanks,
>
> J
>
> --
> Julian Wood <[EMAIL PROTECTED]>
>
> Software Engineer
> Teaching & Learning Centre
> University of Calgary
>
> http://tlc.ucalgary.ca
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to