Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
devaraj s
customize liferay portlets to add another our own jsp
January 2, 2013 2:37 AM
Answer

devaraj s

Rank: Regular Member

Posts: 206

Join Date: May 21, 2012

Recent Posts

Hi,
I need to customize liferay default portlet , Need to render from liferay jsp page to my jsp.

In liferay (view_entry.jspf) jsp I have created render url and hyperlink like below..

<portlet:renderURL var="sampleURL">
<portlet:param name="jspPage" value="/html/portlet/announcements/contentview.jsp"/>
</portlet:renderURL>

hyperlink ;
<a href="<%=sampleURL %>">click me</a>

contentview.jsp:
<html>
<head>
</head>
<body>
<h1>Hi </h1>
</body>
</html>

after clicking click me option its not taking me to contentview.jsp ..I think i am not specifying jsp file path properly. but still not able to resolve.
plz can anyone help me where i am doing mistake.

Thanks in advance

I
devaraj s
RE: customize liferay portlets to add another our own jsp
January 2, 2013 3:48 AM
Answer

devaraj s

Rank: Regular Member

Posts: 206

Join Date: May 21, 2012

Recent Posts

got solution by this link.. emoticon
http://www.liferay.com/community/forums/-/message_boards/message/13872298..