What I have to do is to pass values fron wickets java code to javascript function using target.
For which I have use method to call javascript function from wickets java class using target.
My java code is:
target.addJavascript("show();");
Html code. Scipt function
But it not calling javascript function - what shall i do?
addJavascript()
has been deprecated. Have you tried usingappendJavascript()
instead?