-
Nov 25th, 2005, 09:23 AM
#1
MultiActionController and Command Object
Hi,
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 :
http://....toto.html?idAccount=1
In a dreamy world, i will be able to acces in my action methods to my command object with account populated....
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