|
|
WizardForm, Preview (PDF) then action...
Hi, I'm searching a good way to resolve this problem.
-------------------- What I want to do. --------------------
I'll ask the user through several pages to select recipients of a message.
Each of these pages works as a filter.
Exemple : Select a zip code,
Select a status,
etc.
So, I'll be able to get a list of recipients which matches these filters.
Afterwards, I'll ask a message from the user.
Next, i'll provide a resume which will display how many recipients have been found and a link to a pdf preview version of the message. This link will open a new page with the pdf in it.
Then by closing this preview and coming back to the summary, the user could say quot;Validquot; or quot;Go Backquot; (he can do this without asking for the preview of course).
quot;Validquot; produces a pdf for each recipient.
quot;Go Backquot; go to the message form page for correction.
----------------------------------------------------------------------
-------------------- What I've done. --------------------
I started by creating a Controller which implements AbstractWizardFormController.
I've written a few jsp pages for each step.
Both work fine, and I've got the list I want to grab.
By an additional page in the wizard, I'm able to get the message.
But now, I don't know what to do. I've got my list and the message stored in the command object. But I don't know how to throw it to my other Controler which will call the preview.
-------------------------------------------------------------------
I'm trying to do everything in my wizardFormController but it isn't maybe the right way.
Could someone help me to design this ?
Thank you by advance
Steph
I think the complexity of what you're trying to do warrants a look at Spring Web Flow: conf...y/WEBFLOW/Home.
Erwin
Thank you, I have a look.
Steph |
|