留言板

Jsp portlets Help needed

Bharani Ravi Kanth,修改在12 年前。

Jsp portlets Help needed

Junior Member 帖子: 63 加入日期: 12-1-20 最近的帖子
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
thumbnail
Ravi Kumar Gupta,修改在12 年前。

RE: Jsp portlets Help needed

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Create a render url for edit.jsp and put it on the first jsp.

<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
thumbnail
srikanth a,修改在12 年前。

RE: Jsp portlets Help needed

Regular Member 帖子: 144 加入日期: 11-2-21 最近的帖子
hi,
Create a renderUrl by giving the concern jspname for respective button in "jspPage" variable while creating the render url.

regards
Sri
Bharani Ravi Kanth,修改在12 年前。

RE: Jsp portlets Help needed

Junior Member 帖子: 63 加入日期: 12-1-20 最近的帖子
Thank you Guys it worked..And thanks for the immediate reply emoticon