I am a newbie in Tapestry. I tried to search on web on how to pass
parameters from javascript to tapestry but couldn't find much information. 

Here's my Javascript code:

jQuery(document).ready( function(){             

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

var radioId = jQuery(this).data('id');   //I can get my button's id here   

//how do I pass it to tapestry?               

});

                     

Here's the modal's yes button code:

<div class="modal-footer">

<a id="yesButton" t:type="web/eventlinkex" t:event="changePulseMode"
href="#" class="btn btn-primary" t:parameters="prop:{'mode':'?'}"
>${message:yes }</a>

<a href="#" class="btn" data-dismiss="modal">${message:no }</a>

</div>

 

Reply via email to