Forums

angle-left Back

renderRequest cannot be resolved to a variable in liferay 6.1

SB
Siddesh Kumar B, modified 5 Years ago.

renderRequest cannot be resolved to a variable in liferay 6.1

New Member Posts: 17 Join Date: 8/2/13 Recent Posts
Hi,

am getting the renderRequest cannot be resolved to a variable(renderRequest) in the jsp page of the plugin.
Even i added below details to the jsp.

<%@ page import="javax.portlet.PortletPreferences" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<portlet:defineObjects />

Please let me know what i need to do so that i can solve this.
Zsigmond Rab, modified 5 Years ago.

RE: renderRequest cannot be resolved to a variable in liferay 6.1

LIFERAY STAFF Liferay Master Posts: 650 Join Date: 1/4/10 Recent Posts
Hi Siddesh,

I think this forum thread can help you.

Regards,
Zsigmond
SB
Siddesh Kumar B, modified 5 Years ago.

RE: renderRequest cannot be resolved to a variable in liferay 6.1

New Member Posts: 17 Join Date: 8/2/13 Recent Posts
Thanks for your response Zsigmond.

Still its not resolved. Please help me in this.
Zsigmond Rab, modified 5 Years ago.

RE: renderRequest cannot be resolved to a variable in liferay 6.1

LIFERAY STAFF Liferay Master Posts: 650 Join Date: 1/4/10 Recent Posts
Hi Siddesh,

which type of plugin is this?

Regards,
Zsigmond
SB
Siddesh Kumar B, modified 5 Years ago.

RE: renderRequest cannot be resolved to a variable in liferay 6.1

New Member Posts: 17 Join Date: 8/2/13 Recent Posts
Hi Zsigmond,

I'am upgrading the portlet plugins from liferay 5.2 to liferay 6.1. And i've modified the necessary changes in Java level and added some lib files also.

Now in the jsp's, am getting error in "renderRequest" variable only. Please suggest me in this.

Regards,
Siddesh
Nishikant sapkal, modified 5 Years ago.

RE: renderRequest cannot be resolved to a variable in liferay 6.1

Junior Member Posts: 79 Join Date: 2/15/10 Recent Posts
Siddesh B:
Hi Zsigmond,

I'am upgrading the portlet plugins from liferay 5.2 to liferay 6.1. And i've modified the necessary changes in Java level and added some lib files also.

Now in the jsp's, am getting error in "renderRequest" variable only. Please suggest me in this.

Regards,
Siddesh


Hello Siddhesh,

Can u please paste the tags that you have imported in view.jsp and init.jsp? Feels like you are missing below tag.
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
SB
Siddesh B, modified 4 Years ago.

RE: renderRequest cannot be resolved to a variable in liferay 6.1

New Member Posts: 17 Join Date: 8/2/13 Recent Posts
Thank you so much sapkal.
This issue is resolved.

Regards
Siddesh