On Wed, 30 Oct 2013 11:49:33 -0200, lidijaldo . <lidija....@gmail.com>
wrote:
@OnEvent(component = DATATABLE_ID, value = EVENT_EDITOR_EDIT)
public Object edit(@RequestParameter("action") String action) throws
Exception {
.... // edit and save object
// refresh module box
logger.debug("request.isXHR() = " + request.isXHR()); //
this
outputs "true"
ajaxResponseRenderer.addRender("boxZone", boxZone);
return new TextStreamResponse("application/json",
response.toString());
}
You either use AjaxResponseRenderer.addRender() or return a
StreamResponse, but not both at the same time. It's like trying to give
two answers for the same requests. As you want to refresh a zone, you
shouldn't return a StreamResponse.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org