Meaningless Drivel is fun!
The moose likes Portals and Portlets and the fly likes Interface method import problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Interface method import problem" Watch "Interface method import problem" New topic

Interface method import problem

Arjun Palanichamy
Ranch Hand

Joined: Jul 15, 2006
Posts: 51
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.setParameter("struts_action", "/edcs/search/search_reports");
portletURL.setParameter("tabs1", tabs1);

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


names="<%= tabNames %>"
url="<%= portletURL.toString() %>"


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


Jeff Handa

Joined: Mar 30, 2005
Posts: 15
Hi Arjun,

Try including these in your portal:

Arjun Palanichamy
Ranch Hand

Joined: Jul 15, 2006
Posts: 51
Hi Jeff Handa

thank you so much...

I agree. Here's the link:
subject: Interface method import problem
It's not a secret anymore!