liferay university

Want to know liferay university? we have a huge selection of liferay university information on alibabacloud.com

Analysis of Liferay Layout_configuration

When clicking on the DockBar on the Add->more ... , he entered the layout_configuration: This is also a portlet (a special portlet in the Liferay kernel), portlet_id 87, see Liferay-portlet.xml: The page corresponding to this portlet is in/html/portlet/layout_configuration/view.jsp:

Four ways to create a primary key in Liferay _liferay

Primay key Field There are four ways to create the primary key:id-type= "class": In the use of a class to generate the primary, works for all Si Tuations id-type= "increment": Works for all databases supported but not in a clustered enviroment id-type= "identity": Wo Rks for DB2, MySQL, and MS SQL Server. Id-type= "id-type=" sequence "id-param=" id_sequence ": Works for DB2, Oracle, PostgreSQL, and SAP DB. Also LIFERAY-SERVICE-BUILDER_5_0_0.DTD

Liferay+cas SSO Configuration

Copy the following code to the Web. xml file for Liferay: Copy the following code to portal-ext.properties: Company.security.auth.type=userid Auto.login.hooks=com.liferay.portal.security.auth.basicautologin,com.liferay.portal.security.auth.casautologin # Disable Auth pipeline (we use CAS for all this via Auto.login.hooks) Auth.pipeline.pre= Auth.pipeline.enable.liferay.check=false Code to modify CAS client: Edu.yale.its.tp.cas.client.Util Fo

Paging search iner of liferay

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

Automatic installation and deployment of liferay using tarball 1-Overview

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

How to implement a method of your own definition in Liferay

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

Liferay 6.2 Transformation Series Eight: Modify the default installed Portlet Project War package

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-portlet-6.2.0.1.warIf you need to implement automatic deployment of other p

Liferay 6.2 Transformation Series 21: Modify Websphare under JSONWS service does not take effect the bug

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

Liferay: Hide unwanted portlet_liferay in the Portlet list temporarily

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

Liferay Research 20: How to prevent continuous repeated submissions

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

How to use a custom theme in Liferay

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

The parsing of database tables in Liferay is not complete

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

(Zt) A letter from Professor Zhu Qingsheng from Peking University: The University is a scientific guarantee.

This letter is from1949a (a letter from Professor Peking University to students). Liu Ping, Liu zizhen, and other students: You have gradually understood the significance of the University. It is not only a school for cultivating children, but also a place for training skills for future generations. It is not only an organization for instructors to teach human principles and social ideals, but also a scien

Resolving Cross-domain access Problems with Serveresource in Liferay

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

The use of portletpreferences in Liferay

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

Liferay Front-End Performance tuning (1) Evaluation tools YSlow

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

Liferay Control Panel Search user Analysis

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:

Liferay 6.2 Retrofit Series Three: Remove the Add-in feature from Docbar

In the/portal-master/portal-web/docroot/html/portlet/dockbar/add_panel.jsp fileThe following will be included:if (hasaddcontentandapplicationspermission) { "content,applications");} if (haslayoutaddpermission) { "page");}Modified to:if (hasaddcontentandapplicationspermission) { "applications");} if (haslayoutaddpermission) { "page");}Remove the following content:"/html/portlet/dockbar/add_ content.jsp" /> Liferay 6.2 Retrofit Series Three

Liferay 5.1 learning errors

Tutorial URL: Http://jiajia6f.blog.163.com/blog/static/162789359201061104935814/ Question 1: Tomcat driver reports the following errorClass com. liferay. Portal. kernel. Security. JAAS. portalprincipal not found! Class not added. Solution:Tomcat/CONF/Catalina. PropertiesChangeCommon. loader =$ {Catalina. Home}/lib, $ {Catalina. Home}/lib/*. jar, $ {Catalina. Home}/lib/EXT/*. Jar Question 2: DBCP always reports that the database connection ca

Liferay encoding Style

1. A single JSP file is directly suffixed with. jsp; a JSP file containing multiple JSP files is suffixed with. jspf. 2. Use single quotes in JS files Confirm (' 3. Use the field set to wrap the input box 4. Use the built-in liferay Separator

Total Pages: 15 1 .... 5 6 7 8 9 .... 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.