Liferay version : Liferay-portal-6.1.1-ce-ga2 Server : Tomcat 7.0.25 Liferay is very large. The portal comes with dozens of Portlet, but you can choose to load the Portlet that comes with the portal as needed. Benefits: 1. Improved startup speed (performance) 2. Th
After the Portlet is deployed, an exception is reported-cocould not initialize class com. liferay. util. Portlet. portletprops.
Briefly describe the Portlet. properties. During the development of the Portlet, you can customize th
When crystal-based static portlet development is complete, the portlet needs to be transformed into a dynamic portlet based on the test data before it is associated with the background service. The steps are as follows:Step into the Guide
Copy the Portlet project an
Liferay provides a very simple method of Web application integration and single point of login: IFRAME Portlet. IFRAME Portlet can be used to easily include an existing web application, and form post or get can be used for user login.
There is no problem with the liferay mechanism, and the implementation is also v
Session
Ii. the realization of Liferay
Liferay when building Actionrequestimpl and Renderrequestimpl, a portlet session is set, as shown in the following code: public Renderrequestimpl ( HttpServletRequest req, Portlet portlet, cacheportlet cachePortlet, Portletcontext por
A typical portlet should have the following structure:
Source code files:
Java source code is stored in the
Configuration file:
Configuration files are in the
Portlet.xml is a JSR-286-related configuration that acts as a deployment profile for a portlet
The remaining 3 configuration files are related to Liferay:
Li
Introduction:
Debugging analysis:
In fact, according to. From the conclusion above, we know that web. xml is added with a lot of additional content and then split into 2 files, 1 is the portal-web.xml file, which contains all the definitions of the filters except (Invoker Filter, the other is web. xml, it adds a lot of content, andMost importantly, it adds a PortletServlet definition in web. xml.
Therefore, go to the webapps on the server and check the web. xml in the Application Deployment
Introduction:
Deploying a portlet in Liferay is far simpler than deploying a web application to tomcat. This article shows the secrets of this deployment.
For example, when we drop a war package of logsearchportlet in $ LIFERAY_HOME/deploy:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/15463531P-0.png "title =" 21.png"/>
Analysis:
After this action occurs, it will be captured by
Introduction:
The project team asked me if A Portlet has multiple modes, for example, a previously developed portlet has both the view mode and the config mode), and the front-end uses the extjs mvc Architecture, and the main file is main. js, the main. js is defined in liferay-portlet.xml with the following
650) this. width = 650; "src =" http://www.bkjia.com/u
Liferay by default in the case of Tomcat, jetty and other servers, automatically install the Marketplace-portlet-6.2.0.1.war package, implement automatic deployment of the store, generally do not need the store, so delete the following package:/portal-master/portal-impl/src/com/liferay/portal/deploy/dependencies/plugins1/marketplace-
Original: http://blog.csdn.net/hantiannan/article/details/7311845
In the Menu Add button, list the portlet.
But in many cases our site uses only a subset of the content.
How to hide some unwanted portlets.
There are two ways of doing this:
The first is to modify the configuration file: Portal-web/docroot/web-inf/liferay-display.xml
Put what you don't need in the Category.hidden.
Your own
When we use to build a Nexus local warehouse, and configure Settings.xml to enable this repository for applications. We use the archetype of Liferay 6.1.10 to create the Liferay portlet, as shown in the following figure:
When we run the command MVN package Liferay:deploy, the following error occurs:
01.[debug] Using connector Wagonrepositoryconnector with pri
Liferay has two types of services:
1) Internal ServicesLiferay core services, such as portal-impl.jar
2) External ServicesThat is, portal APIs, such as portal-kernel.jar and portal-service.jar
The liferay internal service is updated frequently. Pay special attention to the liferay version upgrade. The liferay external
Seize the core--Wang XinThe core of Liferay file upload is the use of the Uploadportletrequest classInheritance relationshipJava.lang.ObjectExtended Byjavax.servlet.ServletRequestWrapperExtended Byjavax.servlet.http.HttpServletRequestWrapperExtended Bycom.liferay.util.servlet.UploadPortletRequestTo implement a relationship:Implemented Interfaces:
Javax.servlet.http.HttpServletRequest
Javax.servlet.ServletRequest
Single File UploadJSP
Original article: http://www.ja-sig.org/wiki/display/UPC/Portlet+Development+Framework
I spent a few weeks researching different approaches and frameworks to developing portlets. the basis for this research was to find a good methodology to developing portlets for uportal 3.0. A specific desire was to try to find a way to reuse as much functionality as possible using SS different portlets.
Portlets are diff
complete code can be downloaded from http://download.csdn.net/detail/kkdelta/4125924.
This example can run on the liferay Portal Server, the introduction of the Portlet and liferay can refer to the http://blog.csdn.net/kkdelta/article/category/1082877
Spring's Controller provides a method to process render request and action request. For requests that process ev
1 native Portlet development This is the simplest and most essential development method. You can develop a Portlet directly based on the Interface defined in the Portlet specification. The advantage is that the bottom layer is relatively flexible, and the disadvantage is tha
Objective:Develop a portlet application that conforms to the JSR-168 standard and deploys it to the Jetspeed2. Familiarize yourself with the development process of portlet applications and understand JETSPEED2 support for portlet applications.
Background information:JSR-168 Standard: The
read: Request.getparameter ("Id1");Step 5We can also use the following method to remove a public Render Parameter: Response.removepublicrenderparameter ("Id1")Example:JSP:view.jsp@ taglib URI="Http://java.sun.com/portlet_2_0"prefix="Portlet" %>@ taglib URI="Http://liferay.com/tld/aui"prefix="AUI" %>portlet:defineobjects/> Portlet:actionurlvar= "ActionURL"name= "Setrenderparameter"/> Aui:formAction= "Method= "POST">Aui:inputname= "Name"label= "S
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.