Hi @all, i want to use jgrowl for the alertmanager, in my .tml i have: <t:jquery.jgrowl params="${jgrowlparams}" />
and in my .java: public JSONObject getJgrowlParams() { JSONObject retour = new JSONObject(); retour.put("position", "center"); retour.put("header", "Error"); retour.put("beforeClose", "function(e,m,o){alert('About to close this notification!');}"); return retour; } The browser renders: "jGrowlAlertManager" : [ { "dismissURL" : "/index.layout.jgrowl:dismiss", "jgrowl" : { "position" : "center", "beforeClose" : "function(e,m,o){alert('About to close this notification!');}", "header" : "Error" } } ] when i click on close i get the following error in the browser: TypeError: o.beforeClose.apply is not a function ...o.beforeClose.apply( notification , [notification,message,o,self.element] ) != f... in line 253 of the jquery.jgrowl.js I've tried tapestry-jquery versions 3.3.1 and 3.3.6 but anyway both versions include jGrowl 1.2.6 What can i do? Kind regards David --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org