Hi, I'm newbie in tapestry and I'm using asynchronous ajax request to a class page method:
<script type="text/javascript" src="${asset:context:js/jquery.js}"> </script> <script type="text/javascript"> var $jq = jQuery.noConflict(); /* $jq(document).ready(function() { });*/ function enviaAjax(idOpcion) { alert(idOpcion); $jq.getJSON("http://localhost:8080/Lgcc/promotor/aplicaencuesta.radio1/" + idOpcion, function(data){ alert(data.valor1); }); } </script> @OnEvent(component = "Radio1") Object onActionFromRadio1(Integer idOpcion) { log.debug("----->ajaxRequest"); log.debug("----->idOpcion: " + idOpcion); JSONObject json = new JSONObject(); json.put("valor1", "llave1"); return json; } My question is: is there any problem with it since tapestry uses a page pool ? -- View this message in context: http://www.nabble.com/Jquery-%2B-Ajax-tp22746204p22746204.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org