Package org.ujorm.wicket.component.tabs

Class Summary
UjoTab Convenience class that takes care of common ITab functionality
UjoTabbedPanel<T extends UjoTab> 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.
UjoWizard The Wizard component
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<T extends UjoTab> The ajax wizard is a child of UjoTabbedPanel class.
 



Copyright © 2015. All Rights Reserved.