Announcement Announcement Module
Collapse
No announcement yet.
Viewing a pdf Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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

    Comment


    • #3
      My working solution

      Here is a link to the solution I have working.

      Solution

      Comment


      • #4
        Ya, the links comtent is a good way, in fact, you can find another way to solve it in the same website.

        Comment

        Working...
        X