Here's one from Catalyst::Plugin::Wizard. I'm not sure what you're looking for, or if you've seen this, but at least you could give us a bit of a direction that you're thinking of going by looking at this code:
# if this called without previous wizard (i.e. new wizard) then # creating wizard with '/users/list' as first step and '/users/las +t' as second # otherwise append steps '/users/list' and '/users/last' if they w +asn't added alread $c->wizard('/users/last', '/users/list'); # going next step ('/users/list'); $c->wizard->goto_next; # creating wizard with 'correct' (left to right) steps order $c->wizard(-first => '/users/list', '/users/last'); $c->wizard->goto_next; # appending step '/users/list' and '+/users/list' -- this will add + '/users/list' into wizard twice # you can prepend first '/' with any symbols you like -- just to m +ake your step unique, so it will be added # into wizard $c->wizard(-first => '/users/list', '+/users/list', '/users/last') +; $c->wizard->goto_next; # to /users/list $c->wizard->goto_next; # again to /users/list
Hope this helps!
/me makes a note to check in an example wizard app once this thread is solved.
In reply to Re: Anyone got any examples of Catalyst::Action::Wizard?
by stonecolddevin
in thread Anyone got any examples of Catalyst::Action::Wizard?
by locked_user sundialsvc4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |