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

2016-07-21 Thread Jochimsen, Janko
There is so much potential in this system, but even if you understand the main paradigm you can get lost in the details. -Ursprüngliche Nachricht- Von: Chris Poulsen [mailto:mailingl...@nesluop.dk] Gesendet: Donnerstag, 21. Juli 2016 23:06 An: Tapestry users Betreff: Re: Problem se

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() > >

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

2016-07-21 Thread Jochimsen, Janko
:126 jQuery.event.trigger() Any Idea? Thanks a lot Janko -Ursprüngliche Nachricht- Von: Chris Poulsen [mailto:mailingl...@nesluop.dk] Gesendet: Donnerstag, 21. Juli 2016 19:20 An: Tapestry users Betreff: Re: Problem sending data from a JS Element back to Tapestry you cannot expect tha

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

Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Jochimsen, Janko
Hello Everybody, I do have a problem with the communication between tapestry and java Script or to be more precise a JQuery Script. As a background Information I am using JQPlot Graphs that work quiet good and I can start them from tapestry without problems. Now I would like to increase the inter