A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Portals and Portlets
Fowarding to velocity template in Liferay with Struts2
Joined: Jan 15, 2008
Jun 10, 2009 09:11:40
We have problem in forward to a velocity template.
I am using:
1.Portlets(286) on LifeRay(5.2.3)-Tomcat5.2.27
2.Struts2 portlet plugin
3.Velocity (we are just evaluating this for our candidate architecture)...trying to replace
its scenario is simple.
we have search.vm which calls an action on form submit, which then forwards to a result.vm with a "success" forward name.
I am having problems with this. I get an exception. (
: Not allowed in a portlet)
Jonas X. Yuan
Joined: May 18, 2008
Jun 11, 2009 07:14:54
You may check this example (
2 in Liferay portal)
It is working fine in Liferay 5.1 or above.
-- Jonas Yuan
Liferay Portal 5.2 Systems Development
Liferay Portal 5.0 Enterprise Intranets
subject: Fowarding to velocity template in Liferay with Struts2
Struts2 with Portlet
Working with Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015