java - Wicket basic implementation of wizard steps -
is there basic implementation wicket 6.20 provides step overview functionality in this picture or like if other won't work?
when looking @ documentation couldn't find close it, started doing own implementation like
public list<string> getsteps(wizardmodel model){ iterator<iwizardstep> iterator = model.stepiterator(); list<string> steps = new arraylist<string>(); for(int = 1; iterator.hasnext(); i++){ steps.add(string.valueof(i)); iterator.next(); } //model.getactivestep(); unnecessary in context return steps; }
to possible steps in list. , go on getting index of current panel (if possible) , it's state iscolmplete();
mark in different color. can't believe, i'm first 1 problem.
should go on idea or there better option?
you can (have to) implement wizard yourself, not hard.
i use ajaxtabbedpanel
basis. have add 'next', 'back' , 'finish' bar below, , css
styling
Comments
Post a Comment