Matej Knopp a écrit :
I just tried it, 1.x and firefox. Works like charm for me :)
Are you sure you have caching turned of? The javascripts are cached
quite aggressively.
Ok, sorry to disturb you. I will check my sources.
Thanks
-Matej
Vincent Demay wrote:
Matej Knopp wrote:
That should
That's all right. Javascript header contribution is a very tricky thing
and while it's considered stable now, there still might be bugs in it,
so please, if the problem persists, id would be great if you provided a
quick start that can reproduce it.
-Matej
Vincent Demay wrote:
Matej Knopp a
Hi all,
I add a new script (a new function that never been render before) in
headerContributor tag of an ajaxTarget. After ajaxResponse, I tried to
call this function but it seems it has not been defined (function x
not defined)
I took a look at wicket-ajax.js and processScript method.
Matej Knopp wrote:
That should work. I see no reason why ajax header contribution should
fail adding function. Do you use lastest wicket (any branch). If so,
can you please provide a quickstart app, so that I can look at it?
Just try to put an alert('foo'); in a header contributor
Hi all,
I add a new script (a new function that never been render before) in
headerContributor tag of an ajaxTarget. After ajaxResponse, I tried to
call this function but it seems it has not been defined (function x
not defined)
I took a look at wicket-ajax.js and processScript method.