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
SKFUser() ) );
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?
--
View this message in context:
http://www.nabble.com/Effect-for-Ajax-tp18138812p18138812.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]