On Thu, 31 Oct 2013 15:42:35 -0200, Asma Merchant <amerch...@renau.com> wrote:

Hi Thiago,

Hi!

jQuery(document).ready( function(){

       Query(document).on("click", ".pulseMode", function () {

       var radioId = jQuery(this).data('id');

       jQuery(".modal-footer #yesButton").attr("href", '?id=' + radioId);

This is overwriting the href attribute. You should have been adding '?id=' + radioId to the URL which already existed there, not replacing it by '?id=' + radioId. Do what the thread I linked said: use ComponentResources.createEventLink() and etc. That's the right way to do it.

jQuery(document).ready( function(){

       Query(document).on("click", ".pulseMode", function () {

       var radioId = jQuery(this).data('id');

       jQuery(".modal-footer #yesButton").attr("t:parameters",
'{prop:\'id\':'+ radioId +'\'}');

That's very wrong.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to