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
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
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.
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