I think the wizard is the correct approach... You can try use
DynamicWizardModel on your wizard.
javadoc:
* Wizard model that is specialized on dynamic wizards. Unlike the default,
static
* {...@link WizardModel wizard model}, this model isn't very intelligent, but
rather delegates much
* of the work and knowledge to the {...@link IDynamicWizardStep dynamic wizard
steps} it uses.
on IDynamicWizardStep you can implement the ordering and navegation rules
based on database and page params.
On Tue, Sep 8, 2009 at 11:20 AM, Muro Copenhagen <[email protected]>wrote:
> Hi,
>
> I could use some input on how to solve a problem i have.
>
> In my web-app i have some cases, and each cases have several questions.
>
> And i want the user to flow between the pages in a wizard manner like the
> example in:
> http://www.wicket-library.com/wicket-examples/wizard/
>
> The only problem i have is that all the questions are database driven, and
> is not a fixed set of pages.
>
> But the wizard example is in the link is fixed.
>
> How would i make a dynamic database driven wizard, where the content of the
> wizard pages are database driven?
>
> Or is the wizard approach not the right way of doing it...?
>
> What i want to achieve is a user browsing through several question in case,
> with the option of moving backwards between the question.
>
> Any input from anyone ...?
>
> Best Regards
> Muro
>