I just recently asked the same question on the list 
http://tapestry.1045711.n5.nabble.com/tapestry-push-proof-of-concept-td5697644.html
here 

The steps to do it are:
1. In the intital tapestry page request, use ComponentResources to generate
a Link to a component event (most likely without the context at this stage).
2. In your async event, append the event context to the URL (not entirely
sure how to do this yet, take a look at
ComponentResources.createEventLink(String eventType, Object... context)).
3. Instantiate a fake Request and Response (with OutputStream buffer) and
spoof them into RequestGlobals
4. Take a look at the code for TapestryFilter and copy it's behaviour to
process a request / response.
5. The HTML (and / or javascript) will be written to the fake response's
OutputStream

Cheers,
Lance.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-render-component-zone-block-widthout-request-and-response-tp5708658p5708703.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to