-
Feb 12th, 2010, 08:24 AM
#1
Visible multiple entity objects from a controller to the view
I need to make visible multiple entity objects from a controller to the view.
Spring webflow Version: 2.0.3
Thank you for your attention
-
Feb 12th, 2010, 02:17 PM
#2
From one controller method making visible several entities to the view.
thanks in advance
-
Feb 15th, 2010, 11:16 AM
#3
I'm not sure about what you have and what you want exactly but what about a method returning a List or a Map with your entities.
I mean, why isn't that an option?
-
Feb 16th, 2010, 01:10 AM
#4
I saw a solution for my problem. Use ScopeType to save
all objects that need to load the view.
something like this:
public String canSend(RequestContext context) {
Entity entity ...
List(Delegates) ....
ScopeType.FLASH.getScope(context).put("delegates", delegates);
ScopeType.FLASH.getScope(context).put("entity", entity);
}
Thanks for your response
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules