PDA

View Full Version : converting from SimpleFormController to AbstractWizardFormController


SHL7C
Apr 6th, 2008, 10:15 PM
Hello all,

I'm new to the framework and learning much all the time, so pardon if this question is nonsensical or elementary or any other thing...

So I'm trying to take what had been a SimpleFormController and make it into an AbstractWizardFormController...

I need to populate the select box and drop down fields of the view from a database, and when the form was a subclass of SFController we used the showForm method to achieve this goal. I'm wondering what method of AWFController I could stick the existing body of the showForm method (perhaps with necessary modifications) so that the model will be populated on load.

Can anyone provide any assistance toward this end? I tried following the jPetStore OrderFormController class example, but didn't see that data was populating the page.

Thanks for your time.
Sky