Foren

Struts path in two portlets

thumbnail
Azamat Sarsenbayev, geändert vor 12 Jahren.

Struts path in two portlets

Junior Member Beiträge: 34 Beitrittsdatum: 15.06.11 Neueste Beiträge
Hi friends!

I need to place this code in a calendar portlet

<portlet:renderurl var="membershipRequestURL">
                                <portlet:param name="struts_action" value="/communities/post_membership_request" />
                                <portlet:param name="redirect" value="currentURL" />
                                <portlet:param name="groupId" value="<%= String.valueOf(18791) %>" />
            </portlet:renderurl>

            <a href="<%= membershipRequestURL%>">aza</a>


I want users to enter community through calendar.

But when i do like in an above code liferay gives an error:
The struts path communities does not belong to portlet 8. Check the definition in liferay-portlet.xml


How can I solve this problem?