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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -