org.apache.wicket.extensions.wizard
Interface IDefaultButtonProvider
- All Known Implementing Classes:
- WizardButtonBar
public interface IDefaultButtonProvider
Optional interface that can be implemented by button bars if they can provide what button should
be the 'default' one - the one that is selected when a user presses enter. Note that this is not
completely water proof as it depends on non-standard browser behavior (i.e. the fact that most
browsers select the first button they encounter).
- Author:
- eelcohillenius
- See Also:
Form.setDefaultButton(IFormSubmittingComponent)
getDefaultButton
IFormSubmittingComponent getDefaultButton(IWizardModel model)
- Gets the default button - the button that is selected when a user presses enter - based on
the current state.
- Parameters:
model
- wizard model
- Returns:
- the default button
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.