Hi Chris,
AFAIS, the only thing that I think it could typically cause an issue is
calcHeight(). But the error message is misleading, I would have expect a
calcHeight is undefined instead, so I am not really sure... Furthermore,
I don't know how/where you have included the calcHeight function. If
Sebastian, thank you for your answer!
Chris
Am 26.04.2015 um 20:38 schrieb Sebastien seb...@gmail.com:
Hi Chris,
Yes wicket includes it on demand (when it need it, like with wicket
events).
If you need to add a custom javascript, I recommend you to do it through a
Hi Sebastian,
thanks for your help.
the reason for this error seems that I load jquery-1.11.2.min.js in wicket head
next to jQuery-1.11.1 which is already loaded via wicket.
However, when I restrain from loading jquery-1.11.2.min.js in wicket head , the
javascript $(function () {…} is not
Hi Chris,
Yes wicket includes it on demand (when it need it, like with wicket
events).
If you need to add a custom javascript, I recommend you to do it through a
JQueryPluginResourceReference, so underlying jquery library will be
automatically loaded when you use it...
For instance, in
Hi Chris,
You cannot have 2 concurrent versions of jquery...
If you need to upgrade jquery version, please use:
this.getJavaScriptLibrarySettings().setJQueryReference(jQueryReference) -
in MyApplication#init()
Hope this helps,
Sebastien
On Sun, Apr 26, 2015 at 7:14 PM, Chris chris...@gmx.at
Hi Sebastian,
I just did this - but nevertheless, if I do not include the same version in
wicket:head, $(function () is not called in html head.
Does Wicket include it only for internal purposes, but not automatically for JS
placed in HTML?
Thanks, Chris
Am 26.04.2015 um 19:33 schrieb
Hi all,
how is it possible to load a JS function after a specific page refresh based on
an ajax link click?
Link link = new AjaxFallbackLink(link) {
@Override
public void onClick(AjaxRequestTarget target) {
target.add(getPage());
}
};
Hello,
On the arrival page you can do it in renderHead. Isn't it good for you?
chris.gr [via Apache Wicket] ml-node+s1842946n4670509...@n4.nabble.com
ezt írta (időpont: 2015. ápr. 27., Hét 4:16):
Hi all,
how is it possible to load a JS function after a specific page refresh
based on an ajax