Hi,
I've created a new wizard widget for SmartGTW.
How can I upload it to smartgwt-extensions?
Best regards
Dekel
I've created a new wizard widget for SmartGTW.
How can I upload it to smartgwt-extensions?
Best regards
Dekel
public class SimpleWizard extends GWTWizard { public SimpleWizard() { super("Simple Wizard"); } @Override protected List<WizardPage> createPages() { List<WizardPage> pages = new ArrayList<WizardPage>(); pages.add(new Page1(this)); pages.add(new Page2(this)); return pages; } @Override protected boolean performFinish() { return true; } } public class Page1 extends WizardPage { public Page1(Wizard wizard) { super(wizard); } @Override public boolean canFinish() { return false; } @Override public String getTitle() { return "Page1 title"; } @Override protected Canvas createContent() { VLayout vLayout = new VLayout(); vLayout.setHeight100(); vLayout.setWidth100(); vLayout.addMember(new Label(getTitle())); return vLayout; } }
Comment