>> With something like: >> return new JSONObject().put("totalPriceZone", getTotalPrice()); >> > In this case a JSONObject is returned to the caller which can be any > javascript and then the object can be > used in any way. If you want to update the zone you have to do it yourself
Ok that makes sense, but are there any examples of how to do this? I get the idea that I need to do something like: $.updateWithJSON(data); Where data is the JSONObject passed back to the client, but I'm not sure how to first, get a reference to data on the client side of things and second, call $.updateWithJSON method after the handler method has returned. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org