Re: Partial markup via block

2016-06-03 Thread Jaroslav Ciml
Hi Thiago, Thanks for your help. I have already gotten it working. I have tested my event handler in two ways. 1. Just typed the appropriate URL to browser address line. Of course, this is not an AJAX request. It works when using a MarkupWriter but produces an exception when returning a

Re: Partial markup via block

2016-06-02 Thread Thiago H de Paula Figueiredo
On Thu, 02 Jun 2016 04:59:10 -0300, Jaroslav Ciml wrote: Hi, Hi! I'm using Tapestry 5.3. If you want to render a block or component or anything that can be coerced to a RenderCommand, Tapestry 5.4 has the PartialTemplateRenderer service:

Partial markup via block

2016-06-02 Thread Jaroslav Ciml
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