Announcement Announcement Module
No announcement yet.
MultiActionController and Command Object Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • MultiActionController and Command Object

    just a question about MultiActionController and his command object.

    Is it possible to acces to my command Object in my action Methods ? And how ?

    I work on a 1.2.4 spring version, and i don't see method like getCommand and setCommand (only newCommandObject).

    I think i've miss something about real interest of command object in MultiActionController.

    For my part, i've reports (no forms, just list) and desire to bind in my action methods informations from the list (ex : idAccount) into a bean.

    Example :

    Class MyBean
    private Account account;


    And i send to an action method something like that :


    In a dreamy world, i will be able to acces in my action methods to my command object with account populated....