aspose file tools*
The moose likes Other Application Frameworks and the fly likes spring web flow-tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "spring web flow-tiles" Watch "spring web flow-tiles" New topic
Author

spring web flow-tiles

rajesh guru
Greenhorn

Joined: Nov 13, 2008
Posts: 2
I want to get the values(dropdown, table) in the List from the jsp of spring webflow.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
rajesh guru
Greenhorn

Joined: Nov 13, 2008
Posts: 2
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

Joined: Feb 05, 2001
Posts: 17250
    
    6

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spring web flow-tiles