portlet « Folder « JSP-Servlet Q&A





1. Adding new link to the details.jsp page of directory portlet    liferay.com

Hi, I am using liferay 6.0.5 bundled with tomcat. I wanted to add link to details.jsp of directory portlet so that when user clicks on that link new page/portlet will be displayed for taking some information from user. For that i tried by adding in detail.jsp . <% /** * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. * * ...

2. How to refer to a jsp page located in my portlet's /WEB-INF/jsp/ folder    liferay.com

Hello, I'm trying to load one of my jsp file with ajax into a div. How can I refer to my portlets jsp? So far I have this, but the url is not good: $(document).ready(function(){ $("a").click(function(){ $.ajax({ ...

3. How to include /ROOT/html/common/init.jsp from portlet directory    liferay.com

Hi, The main problem is that the index.jsp lies outside of your web applications context. Therefore you should copy the init.jsp into your webapplication. It might be that you have to include some additional libraries in your web application. Another thing you might have to change is that you have to access liferays core functionality via the portal-service.jar . Best regards ...