*
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
Author

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.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

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...

by
arjun
 
wood burning stoves
 
subject: Interface method import problem
 
Similar Threads
Transfer data from Java beans to portlet
liferay portlet - form parameters missing from request
How to import classes in a subpackage from another sub-package?
problems in subpackage and imports
Basic Form