留言板
Jsp portlets Help needed
Hello Guys,
i am using Jsp pages(no struts or no JSF) to design portlets and how to navigate from one Jsp page to another jsp.For example if i click edit button in the portlet it should take me to edit.jsp but i am i am facing is http://localhost:8080/group/xyz/edit.jsp The requested resource was not found. Please help me in sorting out this.
Regards,
Bharani
i am using Jsp pages(no struts or no JSF) to design portlets and how to navigate from one Jsp page to another jsp.For example if i click edit button in the portlet it should take me to edit.jsp but i am i am facing is http://localhost:8080/group/xyz/edit.jsp The requested resource was not found. Please help me in sorting out this.
Regards,
Bharani
Create a render url for edit.jsp and put it on the first jsp.
See this page for more help http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/writing-the-my-greeting-portl-4
<portlet:renderurl var="editGreetingURL"> <portlet:param name="jspPage" value="/edit.jsp" /> </portlet:renderurl>
<p><a href="<%= editGreetingURL %>">Edit greeting</a></p>
See this page for more help http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/writing-the-my-greeting-portl-4