Re: Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Chris Poulsen
; > but in Firefox console I get still > > TypeError: extendURL is not a function > buildUrl() > myBarRender.js:56 > > myBarRender.js:30 > jQuery.event.dispatch() > jquery.js:137 > jQuery.event.add/elemData.handle() > jquery.js:126 > jQuery.event.trigger() > >

Re: Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Chris Poulsen
you cannot expect that your parameters end up as event context (unless you encode them into your url in that way). I've had success using: var url = buildUrl( setupDialogLink, params ); ajax( url, { success: function(){ ... } }); var buildUrl = function( link, params ) { return utils.extendU