I guess, you can try to override protected void onBeforeRender() and make
something like:

protected void onBeforeRender(){
  this.setEnabled(true);
  super.onBeforeRender();
}



Martin Tilma wrote:
> 
> Hello,
> 
> I have a Wizard with a FinishButton. I want the button always be 
> enabled. Because the method isEnabled is final I cant override it.
> 
> I think coping the button and change the isEnabled method to always 
> return true is a bit ugly. What is de best way to do it?
> 
> Regards,
> 
> Martin
> 
> 
> -- 
> Martin Tilma
> Func. Internet Integration
> W http://www.func.nl
> T +31 20 4230000
> F +31 20 4223500
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/override-isEnabed-of-FinishButton-tp22927709p22930094.html
Sent from the Wicket - User 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