| Package | Description |
|---|---|
| org.ujorm.wicket.component.tabs |
| Class and Description |
|---|
| UjoTab
Convenience class that takes care of common ITab functionality
|
| UjoTabbedPanel
A child of Wicket AjaxTabbedPanel class can restore the last selected tab
from a session after a page reloading and supports a user tab CSS class.
|
| UjoWizardBar
The WizardBar
Example
// Create a step list:
List<UjoTab> tabs = new ArrayList<>();
tabs.add(new UjoTab("Step 1", "step1", Step1.class).setModel(model));
tabs.add(new UjoTab("Step 2", "step2", Step2.class).setModel(model));
// Wizard Panel:
add(tabbedPanel = new UjoWizardPanel<UjoTab>("wizard", tabs));
tabbedPanel.setVisibilityAllowed(true);
// Wizard Bar:
add(new UjoWizardBar("wizardBar", tabbedPanel) {
protected void onUpdate(AjaxRequestTarget target) {
// Refresh jQuery components:
target.appendJavaScript("location.reload(false);");
}
});
|
| UjoWizardPanel
The ajax wizard is a child of UjoTabbedPanel class.
|
Copyright © 2017. All rights reserved.