button.var= "MyCommand" >your name?4. The focus has come, how can you write the background of the Actioncommand and the front desk JSP connection, but also with your portlet?Look at the code first and then explain: PackageMvc.portlet.portlet;ImportCom.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand;ImportCom.liferay.portal.kernel.portlet.bridges.mvc.MVCActionCommand;ImportCom.liferay.portal.kernel.util.ParamUtil;Importjavax.portlet.ActionRequest;ImportJavax.portlet.ActionResponse
We can develop theme to let the system not use the default style.
When we create a theme project with the wizard and compile it, the project structure is shown in the following illustration:
where all the docroot below the _diffs directory are liferay from the default copy of the resource file. All we need to change is to build a parallel directory under the _diffs directory.
Example 1, change the page or style sheet:
For changes to the page and
[Liferay] Liferay enables single-point logon and single-point liferay
Last article: single-point logon using Liferay-OpenLDAP
This article does not introduce concepts, but focuses on implementation.
Liferay : 6.1.1 CE GA2 OpenLdap for Windows :openldap-2.4.38-x86 Apache
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. The interface can be more concise. After all, no Portlet is needed. Look at Xuan Hu, it's
Last article: single-point logon using liferay-OpenLDAP
This article does not introduce concepts, but focuses on implementation.
Liferay : 6.1.1 CE GA2 OpenLdap for Windows :openldap-2.4.38-x86 Apache Directory Studio : Apache Directory Studio 2.0.0-M3 CAS : cas-server-3.5.2 Windows : 7 x64
Chapter 2 CAS Configuration
Download installation: https://www.apereo.org/cas/download
The version used in th
1, download liferay-portal-src-5.2.3 and liferay-portal-ext-5.2.3 2, build ext: In the Portal project Build.xml in turn to execute clean, start, build-ext tasks; 3, Portal and ext items are added under the App.server.zcb.properties file, the file name "ZCB" for the computer's login, as follows: Lp.ext.dir=f://eclipse_project//liferay b-
Liferay has released version 4.1.0. The newest version provided des a message board and Web 2.0-style mail Portlet, Geronimo support, and improved LDAP integration.
Now in its sixth year of development, liferay is JSR-168 compliant and runs on almost any major application server, database, and operating system, rendering over 700 deployment combinations.
Additional features include:
-Assigned communities t
Because our application is running on the Liferay application server, some optimizations for the server are of course our first thought.
We have done a lot of testing before, because Liferay will have css-fast-load, and js-fast-load, these parameters will be a number of CSS files or several JS files merged into a single large file, which can significantly reduce the number of network IO overhead, We develo
portal. that# happens by because the counter service would look up the properties# prefixed with "jdbc.default." To create its data Source. See the jdbc# properties prefixed with "Jdbc.default." For more information.## Setting a different value for the counter J DBC prefix allows better# fine tune the counter data source with its own set of configuration# settings for high AV Ailability installations. Note that these settings,# though separate, is a copy of the default settings with the newly#
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 the configuration file-Portlet. properties similar to portal. properties.
The procedure is as follows:
1. Create the Portlet. properties in classpath, such as the WEB-INF/src directory
line.chart.types=line,spline,column,bar,t
Last time, in this blog http://supercharles888.blog.51cto.com/609344/897825, We're talking about how to fix the multiple dependencies on slf4j that arise when using Maven's Service-builder, and now we're going to show you how to customize the plugin. This allows you to avoid this error by using our own plug-ins instead of the default Liferay-maven-plugin in your project:
Authoring of Plug-ins:
Specific writing details will not say, anyway, is to use
The following is a typical startup process for Liferay server:
01.May 3:09:32 AM Org.apache.catalina.core.AprLifecycleListener Init02.info:the APR based Apache Tomcat Native Library which allows optimal performance in production environments is not fo und on the Java.library.path:d:\charles\softwares\java\jdk1.6.0_05\bin;03.May 3:09:34 AM org.apache.coyote.AbstractProtocol Init04.info:initializing Protocolhandler ["http-bio-8080"]05.May 3:09:34 AM or
Introduction:
In the previous article, we explained from a macro perspective how Liferay deploys war packages to trigger listeners and complete the deployment process. However, we did not talk about the core deployDirectory, it is used to parse the contents of a temporary directory after the war package has been expanded to this directory, after re-processing and finally copying to the final deployment directory deployDir, we will study this content h
Document directory
I. Custom Fields
2. Monitoring)
Iii. Plug-in configuration
4. Page Template
5. website template
Vi. Server Management
VII. Portal instances
8. Plug-in Installation
IX. Summary
I. Custom Fields
Custom fields are a method of adding attributes to many types of sets in a portal. For example, if you use liferay to create a book rating site, you can add custom fields to many collections in the portal. For example, you can add
Installation and use of Liferay
The latest version of the current Liferay is Liferay portal 7.0.5, download address: http://sourceforge.net/projects/lportal/;
Here is the download Liferay and Tomcat6 binding version, and with jdk1.6, download after the need to do the following several steps can easily run up
I. Installation and Use of liferay
The latest version of liferay is liferay portal 7.0.5,: http://sourceforge.net/projects/lportal;Here we download the version of liferay bound to Tomcat 6, which comes with jdk1.6. After the download, we need to perform the following steps to easily run
Tags: BSP classname NEC that is comm local efault AAC minHow to change database in Liferay?Often encountered someone asked Liferay how to change the database, how to modify the database connection. The first time we start Liferay, there will be a configuration wizard where we can select the database and configure the database connection information. What if I now
examples to solve most of the problems we encounter in our daily development, in addition to the dynamic Query API provides some more advanced extension methods (Eqall, Geall, etc.), these people will explore together, later use to update.from the example above, we can see that the dynamic Query API provided by Liferay is essentially a set of Java methods that compose SQL statements and execute and get res
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.