Announcement Announcement Module
Collapse
No announcement yet.
Visible multiple entity objects from a controller to the view Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    From one controller method making visible several entities to the view.

    thanks in advance

    Comment


    • #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?

      Comment


      • #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

        Comment

        Working...
        X