Aug 19th, 2011, 10:53 AM
Viewing a pdf
I have a pdf that is passed a model object and then using AbstractPdfStamperView to populate the form fields. This is called from my controller.
I also have a flow setup where the end state displays the object and results on the screen.
I am trying to figure out how I can pass this model object from my flow to the controller to show the pdf? Right now I have the pdf as a link but I can't get the model to the controller.
Is this the correct way to do this?
If not, is there a better way to do this with webflow?
Im using webflow 2.3 and spring 3.0.5.
Aug 21st, 2011, 09:33 PM
If my memory doesnt fail me. SWF cant call or reuse a Spring MVC Controller, you should consider call a service directly or create an Action class and call the service from there, Action term is the same than a Controller in Spring MVC but Action is used for SWF
Read my tutorial about Spring Web MVC - Spring Web Flow Working With JasperReports
- Manuel Jordan
Kill Your Pride, Share Your Knowledge With All
The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7
Technical Reviewer of Apress
- Pro SpringSource dm Server
- Spring Enterprise Recipes: A Problem-Solution Approach
- Spring Recipes: A Problem-Solution Approach, 2nd Edition
- Pro Spring Integration
- Pro Spring Batch
- Pro Spring 3
- Pro Spring MVC: With Web Flow
- Pro Spring Security
Aug 23rd, 2011, 09:47 AM
My working solution
Here is a link to the solution I have working.
Jan 16th, 2013, 01:24 AM
Ya, the links comtent is a good way, in fact, you can find another way to solve it in the same website.
Tags for this Thread