Which version of the scriptaculous contrib are you using? And which version of wicket?

It looks okay btw...

Mathias P.W Nilsson wrote:
I'm trying this really simple example on wicket-stuff but nothing happens

public class RegisterPage extends RootPage{
        
        public RegisterPage(){
                
                final FeedbackPanel panel = new FeedbackPanel("information");
                info( "Fade this" );
            panel.setOutputMarkupId(true);
            add(panel);
                Form form = new Form( "registerForm" , new 
CompoundPropertyModel( new
user() ) );
                add( form );
                add( ScriptaculousAjaxBehavior.newJavascriptBindingBehavior() );
                
                add( new AjaxLink("clicker"  ) {
                          public void onClick(AjaxRequestTarget target) {
                                  target.addComponent( panel );
                            target.appendJavascript(new Effect.Shake( panel  
).toJavascript());
                          }
                }.setOutputMarkupId( true ) );
        
        }
        
        
}

What's missing?

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to