Re: [Wicket-user] Add another WizardStep conditionally

2006-08-19 Thread Eelco Hillenius
> Yes I have seen UserRolesStep, however in that sample you need to > know the type and number of WizardSteps to add beforehand. > > In my use case I will not know how many of a particular item that a > user will be adding at runtime. In that case, you should use a custom IWizardModel. I based the

Re: [Wicket-user] Add another WizardStep conditionally

2006-08-19 Thread De Soca
Hi Eelco, thanks for your reply. Yes I have seen UserRolesStep, however in that sample you need to know the type and number of WizardSteps to add beforehand. In my use case I will not know how many of a particular item that a user will be adding at runtime. I hope this makes things a bit cl

Re: [Wicket-user] Add another WizardStep conditionally

2006-08-19 Thread Nick Heudecker
That's how I do it as well.  The solution I wanted was to not have to create the step if I wasn't going to use it, but evaluate() works fine.  On 8/19/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: On 8/19/06, De Soca <[EMAIL PROTECTED]> wrote:> Hi all,>> I have tried adding a WizardStep condition

Re: [Wicket-user] Add another WizardStep conditionally

2006-08-19 Thread Eelco Hillenius
On 8/19/06, De Soca <[EMAIL PROTECTED]> wrote: > Hi all, > > I have tried adding a WizardStep conditionally at runtime a few > different ways with limited success. > > Can someone recommend the best approach to accomplish this? Did you see UserRolesStep in the NewUserWizard example? That's a condi