Hi,
Thnx for the reply, but your solutions won't fix my problem because the
isEnabled in FinishButton is implemented like this:
/**
* @see org.apache.wicket.Component#isEnabled()
*/
public final boolean isEnabled()
{
IWizardStep activeStep = getWizardModel().getActiveStep();
return (activeStep != null &&
getWizardModel().isLastStep(activeStep));
}
Regards,
Martin
jcgarciam wrote:
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
--
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