• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring web flow-tiles

 
rajesh guru
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get the values(dropdown, table) in the List from the jsp of spring webflow.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic