liferay database

Learn about liferay database, we have the largest and most updated liferay database information on alibabacloud.com

Liferay 6.1 Repair of a huge bug built with maven Service-builder

Today, my colleagues need to switch to maven in the Liferay service builder, because Maven 6.1 is already in the archetype, so I thought it was a simple question, and I know it's been hard for me 3 hours. The previous steps are the same, creating a service-builder archetype, as shown in the following figure: Then, when you run the command Liferay:build-service, the following problems always occur: Info: Global Lib directory/c:/users/asus/.m2/rep

Safety control of Portlet.xml in Liferay

There are portlet.xml in the portlet, and we can all see the following code for security settings: .. In fact, a lot of people including me have a question, is that some portlets even if not set I went through the next Liferay-in-action book, and in the P154 corresponding to the 4.5 section "Programmitic Security," you can see that only when you use programmatic access control in your code (such as IsUserInRole ()), To read the The code that

Fault during liferay startup

Today, I migrated the liferay of the development server to the newly purchased server of the company. When I started liferay, the following error was reported: 650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/FA/wKiom1Qg2-bBLl9AAAahhXgCIqI010.jpg "Title =" 1.png" alt = "wKiom1Qg2-bBLl9AAAahhXgCIqI010.jpg"/> View liferay's log reports an error as follows: 09:41:32, 171 info [localhost-startS

Liferay AuI framework Alloy

I. What is AuI? The AuI framework in liferay, officially called alloy, is a UI superframework that provides continuous and simple APIs for establishing network applications in three aspects of the browser, including structure, style, and performance. It integrates three design languages: HTML, CSS, and Java. Accurately speaking, AuI is a liferay Extension Based on Yui to facilitate some practical applica

Liferay 7.0 How to get the portal to re-execute after modifying the Service.xml Tables.sql

. Servicecomponentlocalserviceimpl.java is the core of the class, if you carefully study the code of this class will have other gains, here is only one example: you can see that this class actually supports the operation of upgrading the database, As long as the previous tablesql and the new TAblesql inconsistent, will perform the upgrade database operations, according to our thinking, we deployed two times

Additional research on liferay portal (5): support for multi-distribution command action (solution 1)

By default, the portletaction Extension Based on Struts action provided by liferay does not support multiple distribution commands, which are commonly used dispatchaction. However, in our daily Struts-based operations, a large number of dispatchaction processing methods have been used, such as "cmd = queryall. This article explains how to extend liferay to support multi-distribution command actions. First,

(Practice) Observe updates to the system information dashboard in Liferay System Management

Introduction: Sometimes we often encounter the server paralysis after Liferay runs for a period of time. In this case, we hope to log on to the Liferay Control Panel as an administrator (Dockbar-> Control Panel-> Server-> Service AdministrationAnd then call some operations in real time, such as garbage collection. Then, we can see the updated server memory or other situations from the dashboard. What kind o

Liferay portal simple demo

Create a simple web project in myeclipse: (1) create a class under SRC and inherit from genericportlet. The Code is as follows: Package COM. portlet; (2) Create Table. jsp and the display. jsp codes are as follows: 1. Table. jsp: 2. display. jsp: (3) download the liferay-portal-tomcat-4.2.1.zip and decompress it to the F:/liferay/tomcat directory (this is what I did on my machine) (4) To F:/

Liferay's a strange permission question

A strange problem has been discovered recently. A portlet, anonymous user access is not a problem, if the user logged on instead of a permission issue, the message shows "You do not have access to this portlet required permissions to the role." 7.1 Source Code Analysis Try to find out the cause of the problem by analyzing the source code. Find a resource file You-do-not-have-the-roles-required-to-access-this-portlet= you do not have a role to access the permissions required for this portlet. Fin

Detailed procedures for building Liferay theme using Ant

Record today Liferay project from ant Switch to maven lesson. For tomorrow's demo, we've switched all the Liferay projects that were built with Ant to Maven, and the results are not always visible when deploying a theme application built by MAVEN to a Liferay server. I worked for half an hour, only to find out why, because _diffs the following content is not cop

Detailed structure of the Liferay portlet

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: Liferay-display.xml file shows which category the Portlet is under in the Add menu T

Research on file uploading in Liferay portlets

We already know a lot of kinds of processing file upload code, more typical such as Apache famous FileUpload, of course, Liferay for us have considered, we can use Liferay upload files with the API to deal with file upload problem, This core interface is the Com.liferay.portal.kernel.upload.UploadPortletRequest interface. For the simplest example, we're going to upload a file into the portlet on the Portle

Parsing of Liferay template files

As we all know, Liferay's core framework consists of a set of velocity template files located in the $liferay_home\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\root\ Html\themes\classic\templates Directory, some colleagues today asked me where the variables in these templates are defined. In order to solve this problem, we found the Portal-impl.jar in the Velocityvariableimpl class file, so at a glance. Because the first line in PORTAL-NORMAL.VM

Examples of the use of Liferay theme

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 Control Panel adds basic document process analysis to the specified folder

Conclusion: When you log in with an administrator in Liferay, navigate to Control Panel->documents and Media, and add basicdocument under the specified folder, the server does the following things: (1) Add a record to the Dlfileentry table to represent the added document. (2) Add a record in the Dlfileentryversion table and associate it to the Dlfileentry table through the Fileentryid foreign key to record the version information of the newly added

The usage and examples of Liferay Mvcactioncommand

In Liferay7, the control layer in the Portlet is split into 3 parts:1.MVCActionCommand2.MVCRenderCommand3.MVCRecourceCommandAs for why to be torn out, before we write ActionURL, a JSP may have a lot of actionurl, is to write it in Mvcportlet class, when the code is large, not easy to manage, and the structure is not particularly clear.The following is a brief introduction to the use of Mvcactioncommand, with a simple small example say Hi to U portlet1. Build a common Mvc-portlet, previously thou

Additional research on liferay portal (4): Modify the default layout and content after User Logon

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

Research on Liferay Dynamic CSS Filter Method

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

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

Detailed analysis of Liferay theme upload logo

Conclusion: Theme Upload logo will do the following things: (1) Using Uploadportletrequest object to handle the (2) for the uploaded logo picture is empty, then throw an exception. (3) for the upload of the logo picture is not empty, the first from the database to find the current layout, for logo definition logoid, and bar logoid add to the current layout and then back to the database, and then set ac

Total Pages: 15 1 .... 3 4 5 6 7 .... 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.