Re: How to call Java Function from JavaScript

2015-06-04 Thread skdhir
Hi andunslg, I'm a newbie to Wicket and going through the same trouble. Can you please end to end complete example ? Thanks, Sanat. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-call-Java-Function-from-JavaScript-tp4660028p4671077.html Sent from the Users

How to call Java Function from JavaScript

2013-07-03 Thread Andun Sameera
Hi All, I have looked in to this topic in many places and found some ways. In this particular scenario, I have used https://cwiki.apache.org/confluence/display/WICKET/Calling+Wicket+from+Javascriptarticle as the reference. What I did in Java, public class HomePage extends WebPage { private

Re: How to call Java Function from JavaScript

2013-07-03 Thread Bas Gooren
Wicket's ajax functions require you to load the wicket ajax javascript. This is handled by the AbstractDefaultAjaxBahavior out of the box. However, since you do not call super.renderHead(component,response) in your code, the required javascript files are not loaded. Met vriendelijke groet,

Re: How to call Java Function from JavaScript

2013-07-03 Thread Andun Sameera
Thanks Bas! I have fixed the problem. On Thu, Jul 4, 2013 at 1:10 AM, Bas Gooren b...@iswd.nl wrote: Wicket's ajax functions require you to load the wicket ajax javascript. This is handled by the AbstractDefaultAjaxBahavior out of the box. However, since you do not call