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
would it be possible to acomplish this in a staged environment in other words preprocess all your code with Velocity Macros from Ant script http://vpp.sourceforge.net/ this way you can see your jsps and servlet code then feed the vpp output to struts2? M--- This email message and any files trans