Fórumok
Common struts_action for all portlets. (possible?)
Glenn Powell, módosítva 16 év-val korábban
Common struts_action for all portlets. (possible?)
Junior Member Bejegyzések: 43 Csatlakozás dátuma: 2008.01.08. Legújabb bejegyzések
I'm trying to make all portlets have access to certain functionality. For instance, any portlet that shows a user's name/image should have a link to send that user a message. So I need a struts_action that the link will use that will be common to any and all portlets.
I know that I will get the error:
if I try to access any path that does not begin with the one indicated in liferay-portlet-ext.xml. But I do see in portel-web's struts-config.xml file, that there are global and common struts actions. How do I make global or common actions in ext?
I know that I will get the error:
The struts path common/ext does not belong to portlet *****. Check the definition in liferay-portlet.xm
if I try to access any path that does not begin with the one indicated in liferay-portlet-ext.xml. But I do see in portel-web's struts-config.xml file, that there are global and common struts actions. How do I make global or common actions in ext?