Hi,

I'm using Tapestry 5.3.

In a Tapestry component, I'm trying to implement an event handler that creates 
responses to AJAX requests.

I know that I can call MarkupWriterFactory#newPartialMarkupWriter to get an 
instance of MarkupWriter and then generate the response using this MarkupWriter 
instance. The built-in mixin Autocomplete generates responses to AJAX requests 
in this way.

However, I wonder if there is a chance to create such response using a Tapestry 
block rather than generating the response "manually" via MarkupWriter. If I 
just return an instance of block from the event handler, an exception is thrown.

Thanks.

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

Reply via email to