In liferay-portlet.xml we have to add the following 3 elements. 1. Mapper class 2. Mapping url 3. Route xml file In all cases ,...
How to use JFree charts in java?
How to use JFree chart in java? Add the following jar files in class path: jcommon -1.0.16.jar, jfreechart -1.0.20.jar import ...
How to display web content in custom portlet?
In view.jsp: <%@ page import = "com.liferay.portal.kernel.language.LanguageUtil" %> <%@ taglib uri = "htt...
How to read xml file in java?
How to Read Xml File In java: import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; import o...
how to write xml file in jva?
import java.io.File; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import java...
How to display a html page on Pop-up Box using J-query & HTML ?
<html> <head> <title>jQuery Show Popup on Page Load</title> <link rel="stylesheet" href=...
Deploying the themes in Liferay
Step 1: Take the zip file of two themes and extract the zip file. Step 2: Place these two themes (1.Liferay_New-theme) in Plugins...