Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interface method import problem

 
Arjun Palanichamy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends..

I try to develop the liferay portlet, i used for that PortletURL portletURL = RenderRequest.createRenderURL(); code line in my portlet code , but this interface method getting error.

my source code here...



<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@page import="javax.portlet.PortletURL"%>
<%@page import="javax.portlet.WindowState"%>
<%@page import="javax.portlet.RenderResponse"%>
<%@page import="javax.portlet.RenderRequest"%>


<%
String tabs1 = ParamUtil.getString(request, "tabs1", "CODC1 one");

PortletURL url = null;

PortletURL portletURL = RenderRequest.createRenderURL();

portletURL.setWindowState(WindowState.NORMAL);

portletURL.setParameter("struts_action", "/edcs/search/search_reports");
portletURL.setParameter("tabs1", tabs1);

String tabNames = "CODC1 one ,CODC2 Two,CODC3 Three";

%>

<liferay-ui:tabs
names="<%= tabNames %>"
url="<%= portletURL.toString() %>"

/>



can you help me any one ... what is the exact import class for This interface method (createRenderURL()) .... ?

thanks
arjun

 
Jeff Handa
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arjun,

Try including these in your portal:

 
Arjun Palanichamy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff Handa

thank you so much...

by
arjun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic