[ https://issues.apache.org/jira/browse/WICKET-6096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-6096. ------------------------------------- Resolution: Not A Problem > jwicket effects - javascript error > ---------------------------------- > > Key: WICKET-6096 > URL: https://issues.apache.org/jira/browse/WICKET-6096 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 7.1.0, 7.2.0 > Reporter: Marc G. > Attachments: myproject.zip > > > When using the effects from wicketstuff-jwicket-ui-effects a javascript error > occurs. I've created a quickstart. > {code} > final Explode explode = new Explode(); > > final Label versionLabel = new Label("version", > getApplication().getFrameworkSettings().getVersion()); > versionLabel.setOutputMarkupId(true); > add(versionLabel); > AjaxLink<String> theLink = new AjaxLink<String>("effectLink") { > @Override > public void onClick(AjaxRequestTarget target) { > explode.fire(target, versionLabel); > } > }; > add(theLink); > {code} > {code} > Wicket.Ajax: Wicket.Ajax.Call.processEvaluation: Exception evaluating > javascript: TypeError: effectElement0.effect is not a function, text: > (function(){{var effectElement0=jQuery('#version2');var > originalStyle0=effectElement0.attr('style');effectElement0.effect('explode',function(){effectElement0.attr('style',originalStyle0);originalStyle0=null;effectElement0=null;});}})(); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)