Re: [T5.3.6] combining JSON response and zone update

2013-02-22 Thread dfom
Ok. I found the solution by myself. Just added a js callback to the zone update response. The callback function now sends a second request responding the json array. Don't know if this is "best practice" but it's working... -- View this message in context: http://tapestry.1045711.n5.nabble.co

[T5.3.6] combining JSON response and zone update

2013-02-21 Thread dfom
I need to respond to an AJAX request with 1. a standard tapestry zone update combined with 2. a JSONArray response. Is there a "best practice" to achieve this? Some background: I use a form to set a filter. The form's zone should update. Additionally the server has to send a then filtered JSONArr

Re: [T5.3.6] auto-submitting ajax checkbox

2013-02-21 Thread dfom
Thank you for your help. The hidden submit button was all I needed. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-6-auto-submitting-ajax-checkbox-tp5719986p5720148.html Sent from the Tapestry - User mailing list archive at Nabble.com.

[T5.3.6] auto-submitting ajax checkbox

2013-02-12 Thread dfom
Hi, I need a checkbox that submits the form automatically when clicked. Additionally it must use ajax. I put a "zone" parameter into the "form" tag to activate ajax. Into the "checkbox" tag I added an "onclick" parameter with javascript that submits the form. The effect is that a regular submit b