Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

spring web flow-tiles

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to get the values(dropdown, table) in the List from the jsp of spring webflow.
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you explain a little bit more on what exactly you are looking for. Are you trying to get the values you want in the drop down set. So you can use <evaluate> to call a method that creates a List of objects, then say assign it to a flowScope variable. Now that variable will be available to your .jsp page. Using the spring tag library you can use the <form:select> I don't remember the exact tag. But you can assign the <form:select??? values to that variable, and now the drop down with have all those values.

Here is the docs on how to use the form:select tag
http://static.springframework.org/spring/docs/2.5.x/reference/view.html#view-jsp-formtaglib-selecttag

Mark
 
rajesh guru
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using spring2 webflow with tiles we are not using the spring mvc controller and register, but we want to pass the List of values from the jsp page and it has to be catch from the view state so that i can pass this value to the fusion middleware and i have to get back and show it later.Main thing i want is only using webflow(without spring mvc)is it possible to pass the values as List to the view state and use it in method to pass it again to db.
 
Mark Spritzler
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by rajesh guru:
I am using spring2 webflow with tiles we are not using the spring mvc controller and register, but we want to pass the List of values from the jsp page and it has to be catch from the view state so that i can pass this value to the fusion middleware and i have to get back and show it later.Main thing i want is only using webflow(without spring mvc)is it possible to pass the values as List to the view state and use it in method to pass it again to db.



Yep, exactly what I posted above.

Mark
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic