I hope to not mislead you...
My knowledge is that your component/page will call the service and pass
as an argument to the service, the data values necessarily to construct
a URL to that service.
The service, when it receives the request, having constructed the URL,
will have the knowledge to de-construct the url and build the response.
I wrote a couple of services for a tapestry-based portal that I started
and working off and on. You can look at these services and see how they
are invoked.
HTH.
http://www.rhoderunner.com/viewcvs/viewcvs.cgi/portal/src/java/com/rhoderunner/portal/#dirlist
Steve Wells wrote:
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...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]