Wow! That was fast. Ok, thanks! I'll give one of those a try.
Cheers, Dave On Thu, 2007-07-19 at 23:49 -0700, Eelco Hillenius wrote: > On 7/19/07, David Leangen <[EMAIL PROTECTED]> wrote: > > > > I'm trying to figure out how to override the button displays for only > > specific steps during the Wizard. > > > > Essentially, I have a kind of license that a user needs to agree to, so > > rather than "Next >", I'd like to override with "I agree". > > > > > > No problem for overriding for all steps, but that doesn't work for me. > > > > When I try to receive the parent of the WizardStep to do this > > dynamically, I only get null, so that approach is not working... > > > > > > Any suggestions? > > Provide a custom button bar by overriding Wizard#newButtonBar. Pass in > the wizard to the steps as well (like the default do) and let the > steps work with either the wizard's model object or the current wizard > step (getActiveStep) and see what you need to do. You could even try > doing something like > > interface IMyWizardStep extends IWizardStep { > getNextButtonLabel(); > } > > and let your button call that. > > Eelco > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user