After the first login, liferay generates a default private homepage layout for the user. In earlier versions of liferay, you can configure the default group layout on the system administrator management interface. However, this function is not available in version 4.1, so by default, newly registered users first see the same private place content after login, these contents are provided by
Introduction:
Now let's discuss in the article to solve Question 3: What are the special measures for cache files that already exist and do not exist.
Analysis:
Now let's take a look at the processing method if the cached file already exists.:
Because we have already created a cache file, and its base name is$ CATALINA_TMPDIR/liferay/css/portal/6476841388170400461
650) this. width = 650; "src =" http://img1.51cto.com/attachment/201308/160623788.png
The liferay page can be implemented using a search container tag, which is very convenient.
HTML \ juneidongtaiportlet \ list_dongtai.jsp
HTML \ base \ init. jsp
/** * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation
Unconsciously, I have been in the United States for more than two months. In the face of over 120 hours of work per Sprint, I have no energy to maintain my blog, so it is not updated in 2 months. Now, on Labor Day in the United States, let's take a look at my learning experience during this time.
This topic describes how to use the tarball distribution package to automate Liferay installation and deployment.
Purpose:
As we all know, the process of d
We see this article is not very happy ah, I feel is very happy, we can finally follow their own wishes to write a code, in Liferay some basic additions and deletions of the code is automatically generated, but we want to achieve their own method, I am afraid that a little effort, You have to know that every technology is necessary to study and learning, not always feel that the automatic generation of things do not have any good research, in fact, you
The problem is that Websphare, Servletcontext.getcontextpath () Gets the value "/" rather than the empty string.The following code is in the/portal-master/portal-impl/src/com/liferay/portal/spring/context/portalcontextloaderlistener.java file:if (Serverdetector.iswebsphere () _portalservletcontextpath.isempty ()) { = Stringpool.blank;}Modified to:if (Serverdetector.iswebsphere () (_portalservletcontextpath.isempty () | | _portalservletcontext
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 portlet, you need to modify the
The general solution to the continuous repetition of the submission of the following methods.
Method A, commit after the submit button is disabled (most people do this)Method II, the use of Session, the second part of the token, set a value for the first time, after the request to the first and this token to compare;Method three, data processing success immediately redirect to another page
Liferay in the foreground uses the client script (may be jquer
It is very easy to get the portal site to use its own theme (subject) in Liferay, as follows:
(1) In Dock-bar, select Manage->page Layout->look and Feel
(2) then select "Define a specific look and feel for this page"
(3) then select our custom theme (for example, we developed a theme named Demo-theme and have deployed it to the Liferay server)
(4) Finally save, close the pop-up window, refresh the pag
Page layout1: Table layoutThe main fields are:
Field
Privatelayout
0 represents a public page
Field
LayoutID
If there are many interfaces in the same community, LayoutID represents each interface, in order
Field
Parentlayoutid
If there are sub-pages under a page you need to specify Parentlayoutid
Field
Priority
Indicate which pages in the same community are at the same level in priority order
Brief introduction:
It is well known that cross-domain problems are a very common requirement, such as having a client's EXT-JS control render a JSON object from the server side. We can solve them in many ways, such as JSONP. However, in Liferay, we can use the Serveresource method to gracefully resolve Cross-domain access issues.
Whiteboard Analysis:
Here is the whiteboard on the technical symposium:
Workaround:
First write a Serveresource met
In Liferay, if you can use good portletpreferences then it will be very powerful:
Brief introduction:
Portletpreferences is a combination of a set of information related to the current user, and we can allow a logged on user to share data through this portletpreferences on different pages of a portlet, at different stages, Without having to worry about other users stealing the data. The benefit of using this shared data is that it does not require s
Recently our team asked Liferay to do the front page tuning, of course, the evaluation tool is the most important, in order to see the specific page loading time and so on, our first choice of course is the Chrome Browser diagnostics tool, but the total feeling is not professional, based on my experience, I still recommend YSlow, it The index of the page will be graded, and then finally get the total score then rating, General level has A,B,C,D,E,F6 l
In the Liferay Control Panel, when you click the search user in the user panel:
The requests sent to the server are as follows:
Based on the configuration in Struts-config.xml, we find forward that match struts-action to/user_admin/view_users:
Then go to tiles-def.xml and find the page that matches forward for Portlet.users_admin.view:
So, we found the page is/portlet/users_admin/view.jsp:
Release date:Updated on:
Affected Systems:Liferay, Inc. Liferay Portal 6.1.1Description:--------------------------------------------------------------------------------Bugtraq id: 56589
Liferay Portal is a complete Portal solution. It is based on J2EE applications and uses EJB and JMS technologies.
The Liferay Portal 6.1 CE GA2 (6.1.1) and other versions have
Today, I opened two liferay-portlet environments on the E drive. They were all downloaded and bound. A bundles (with tomcat in it) + plugins-sdk (with portlet-related configurations ). Every time there is a ready-made one, the Manager will give it to us and we can use it directly. Today we don't know why we can't. Once we deploy A portlet, we will say build. cannot find D: \ develop \ bundles \ tomcat-6.0.18 \ lib in xml. I don't know. I used to be ab
IntroducedLiferay provides several ways to define complex queries that are used to retrieve data from a database.Typically, in each service entity, you can easily meet basic data query operations by defining some ' finder ' methods.However, there are times when we may encounter some of the following finder queries that are not sufficient:
Overly complex queries, such as sub-queries
Some aggregation operations need to be implemented, such as Min, Max, AVG, etc.
Want a composite o
article source: www.idatafox.comSupporting Video library:Http://u.youku.com/javafacehttp://ke.qq.com/cgi-bin/courseDetail?course_id=83481Many sites are community-based, interactive, and you may have started using a separate forum, a wiki repository, or a chat program to achieve this goal, but let these standalone applications: forums, wiki repositories, or chat programs seamlessly interface to customers for a good cross-app experience, It is often difficult, fortunately, that
, these filters are defined in liferay-web.xml based on our previous research.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/11222Q101-16.png "title =" 48.png"/>
The first time the request was/web/guest/logsearch, it matched with us. Then it took some filters and finally called invokerFilterChain. doFilter (servletRequest, servletResponse ).
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/11222V
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 the PortletAutoDeployerListener of the conta
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.