wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes Liferay 6.0.6 + Struts 2.2.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Liferay 6.0.6 + Struts 2.2.3" Watch "Liferay 6.0.6 + Struts 2.2.3" New topic
Author

Liferay 6.0.6 + Struts 2.2.3

E. Tse
Greenhorn

Joined: Oct 13, 2007
Posts: 19
Dear all,

Have you encountered similar problems when developing portlet using struts 2 portlet plugin 2.2.3 ?

Screen Flow:
- input
- update
- if success -> set action message "blah blah blah is success", clear form value
- if failed -> set error "blah blah blah has error", retain form values


My Struts Config:
<package name="xxadminView" namespace="/admin/view" extends="struts-portlet-default">

<action name="input" method="input" class="com.ActionSupportAction">
<result name="success">/WEB-INF/jsp/view/input.jsp</result>
</action>

<action name="update" method="update" class="com.ActionSupportAction">
<result name="success" type="redirectAction">
<param name="actionName">input</param>
<param name="portletMode">view</param>
</result>
<result name="error" type="chain">input</result>
</action>
</package>

Results:

The requested resource (/my-portlet/view/input) is not available

Thanks,
Eric
E. Tse
Greenhorn

Joined: Oct 13, 2007
Posts: 19
so surprised that no one use struts 2 plugins in Liferay.....
manish jaiswal
Greenhorn

Joined: Aug 15, 2011
Posts: 5
Hi Eric ,

I think there was some issue in 6.0.5 Liferay for struts portlet . I dont know if it is OK in 6.0.6 Version for more refer to forums and blog in liferay.com


Regards
Manish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Liferay 6.0.6 + Struts 2.2.3
 
Similar Threads
Validation error mesage is not display in browser
Compiler error in Action class - configuring data source in struts-config.xml. Please help!
Struts2 newbie - HTTP Status 404 - No result defined for action authentication.User and result SUCCE
Need an attribute to be available in different places (SOLVED)
Struts2 Issue with localization: Messages not picked up from properties file for forward actions.