It should be possible once we get the velocity tags all set up. I'm thinking that it'd be something like this:
#tag (Action "id=a") ... $stack.findValue("#a") The reason you can't just do $a is because actions are placed in the ActionContext but not the ValueStack. The $ notation causes a query to the valustack, but unfortunately you can't do $#a (syntax error I'm betting). Maybe ${#a} will work, who knows. But $stack.findValue("#a") will work for sure. -Pat -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Douglass Sent: Sunday, October 19, 2003 12:42 AM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] actions from vm It isn't possible, is it? -Robert Hi all. After calling an action from a velocity template, #tag( Action "name=com.Foobar"), how does one reference the action object? ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork