Results 1 to 2 of 2

Thread: Webflow page with image URL where image will be dynamic?

  1. #1
    Join Date
    Apr 2011
    Posts
    5

    Exclamation Webflow page with image URL where image will be dynamic?

    Hello everyone,

    I have a Spring Web Flow application that collects data from the user. One of the views in this webflow will have an image but that image needs to be generated on the fly based on the value of the model in the flowscope.

    Right now, I have that page displaying an image with a url that is picked up by controller outside of the webflow, but this controller doesn't know and can't seem to access the flowscope variables.

    What's the best solution for this sort of thing?

  2. #2
    Join Date
    Feb 2006
    Location
    Los Angeles, CA
    Posts
    79

    Default

    A flow scoped bean will have access to that data and you can perform calculations there and simply emi the generated URL in your view template.
    Josh Long
    Spring Developer Advocate
    SpringSource, a division of VMware

    http://blog.SpringSource.org
    http://www.joshlong.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •