Re: upgrade to wicket 7.2 append javascript to AjaxRequestTarget
On Thu, Apr 28, 2016 at 9:37 PM, fachhochwrote: > the issue is due to a bug in my javascript , but wicket 6 never complained > about this, wicket 7 does it. > Yes, when not breaking it we try to improve it! :-) > Thanks > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/upgrade-to-wicket-7-2-append-javascript-to-AjaxRequestTarget-tp4674447p4674483.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: upgrade to wicket 7.2 append javascript to AjaxRequestTarget
the issue is due to a bug in my javascript , but wicket 6 never complained about this, wicket 7 does it. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/upgrade-to-wicket-7-2-append-javascript-to-AjaxRequestTarget-tp4674447p4674483.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: upgrade to wicket 7.2 append javascript to AjaxRequestTarget
Hi, > clickButtonWithId('id2fb') this is not Wicket's JavaScript. Show us the source of this method or even better create a quickstart. Regards Sven On 26.04.2016 22:51, fachhoch wrote: I upgraded from 6.19 to 7.2. append javascript to ajaxrequesttarget results error in client side Ib54b:1 Wicket.Ajax: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: TypeError: Cannot read property 'toUpperCase' of undefined, text: (function(){clickButtonWithId('id2fb')})(); I have two ajax links one hidden and other visible, click on visible it does some loading at server side then call append js to ajaxrequestatrget which clicks the hidden btn, no issues it works, but at client side I see the error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/upgrade-to-wicket-7-2-append-javascript-to-AjaxRequestTarget-tp4674447.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
upgrade to wicket 7.2 append javascript to AjaxRequestTarget
I upgraded from 6.19 to 7.2. append javascript to ajaxrequesttarget results error in client side Ib54b:1 Wicket.Ajax: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: TypeError: Cannot read property 'toUpperCase' of undefined, text: (function(){clickButtonWithId('id2fb')})(); I have two ajax links one hidden and other visible, click on visible it does some loading at server side then call append js to ajaxrequestatrget which clicks the hidden btn, no issues it works, but at client side I see the error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/upgrade-to-wicket-7-2-append-javascript-to-AjaxRequestTarget-tp4674447.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org