-
Viewing a pdf
Hi,
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.
Thanks
-
Hello
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
-
My working solution
Here is a link to the solution I have working.
Solution
-
Ya, the links comtent is a good way, in fact, you can find another way to solve it in the same website.