I've managed to avoid the exceptionchanging the onBind method's
AttributeModifier from a standard Model to a LoadableDetachableModel, e.g. 
getComponent().add(new AttributeModifier("onmouseover", true, new
LoadableDetachableModel<CharSequence>() {
                        @Override
                        protected CharSequence load() {
                                return MyBehavior.this.getCallbackScript();
                        }
}));

Thank
/Johan
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/onmouseover-menu-tp2553581p2715045.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to