You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by jcf1974 <es...@eresmas.com> on 2012/05/07 13:53:13 UTC

Calling wicket from javascript

Hello, 
 I'm new in this forum, and i love wicket!!!
My question is: 
What wrong with this code?

           @Override
            protected IAjaxCallDecorator getAjaxCallDecorator() {
                return new
AjaxPreprocessingCallDecorator(super.getAjaxCallDecorator()) {
                    private static final long serialVersionUID = 1L;

                    @Override
                    public CharSequence preDecorateScript(CharSequence
script) {
                        return "$('.buscador-avanzado').slideDown('slow',  "
+ script + " );";
                    }
                };
            }


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Calling-wicket-from-javascript-tp4614612.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.