Your listener could return an ILink which would be a service-link created 
by your service's getLink() method which contains all necessary parameters.

Or you could display a result-page with an appropriate download link to you
service (ServiceLink component)

> -----Original Message-----
> From: Steve Wells [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 25, 2006 10:04 AM
> To: [email protected]
> Subject: Wiring up an Export service
> 
> 
> Like many folks I have a requirement to stream out reports 
> (or whatever)
> in various formats eg pdf, xls 
> 
> Following some threads here I've started writing a Service to handle
> this but am having trouble wiring it into my pages (some basic Tap
> knowledge is eluding me here)
> 
> The basic flow is:
> ReportCriteria page to collect parameters eg. date range, 
> export format
> Form submit listener calls ReportResult page to get the 
> report data and
> spit out to user in selected format...
>   ...OR should the listener call the service, if so how? 
> 
> Any more detailed code examples or tips would be fantastic.  I'm
> starting to feel a bit dumb right now as I can't see how a 
> page talks to
> a service.
> 
> Thanks...
> -- 
>   Steve Wells
>   [EMAIL PROTECTED]
> 
> -- 
> http://www.fastmail.fm - Or how I learned to stop worrying and
>                           love email again
> 
> 
> ---------------------------------------------------------------------
> 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