mogulwraith wrote: > > How do I get the text returned by the service? >
Have a look at this example on the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToCreatePieChartsInAPage You want to do the same thing but something like: TextStreamResponse onEvent() { // get the service text // ... return new TextStreamResponse("text/html", serviceText); } Note that if you're using non ASCII characters you'll need to derive a new TextStreamResponse class that takes an encoding parameter (UTF-8 etc). There's a JIRA ticket for that already. Cheers, Nick. -- View this message in context: http://www.nabble.com/T5-confused-about-Services-and-XmlHttpResponse-tf4160459.html#a11839004 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]