Re: Velocity in Struts2

2007-04-17 Thread Michael
The problem was in my spring config. I was proxying the Action with the TransactionProxyFactoryBean. When that was removed (juggling the Hibernate Session management somewhere else) the Action was correctly set into the Velocity context. Thanks for the prompt reply, it forced to me to review my s

Re: Velocity in Struts2

2007-04-17 Thread Musachy Barroso
I'm not sure what the problem is, but adding $action to example.vm in showcase, I see that it prints " [EMAIL PROTECTED]" on the page, so the reference is there. Can you post more details, like the mapping for your action, the package declaration, etc? regards musachy On 4/17/07, Michael <[EMAIL

Re: Velocity in Struts2

2007-04-17 Thread Martin Gainty
. - Original Message - From: "Michael" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 17, 2007 11:04 AM Subject: Velocity in Struts2 Hello, I have scratched my head and googled this for hours to no avail, so maybe you folks can give me a hand. I am trying to migrate a

Velocity in Struts2

2007-04-17 Thread Michael
Hello, I have scratched my head and googled this for hours to no avail, so maybe you folks can give me a hand. I am trying to migrate a Struts1 site to Struts2 (from maven, struts-core 2.0.6). So far everything is fine, except for Velocity (verison 1.4). The Action is being called and returning