Zone Update with POST

2016-01-08 Thread Torsten Weber
Hello, I am using an editor written in javascript. When someone clicks on "save" data should be sent to Tapestry and a zone should be updated. Currently in javascript I call: zoneManager.deferredZoneUpdate(zoneId, zoneUrlWithContent). zoneUrlWithContent contains the content of the editor

Re: Zone Update with POST

2016-01-08 Thread Kalle Korhonen
For handling POST, I'd utilize Tynamo's tapestry-resteasy ( http://www.tynamo.org/tapestry-resteasy+guide/). JS could be something like this: $.ajax({ url: 'http://my.server.com/editor/save', data: data, error: function() { }, dataType: 'json', success: function(data) { },