liferay inc

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

Risks and considerations for using PHP inc files _php Tips

One of the major issues to be concerned with in database usage is access rights, the exposure of user names and passwords. In the programming for the convenience, generally will use a db.inc file to save, for example: Copy Code code as follows: $db _user = ' myuser '; $db _pass = ' mypass '; $db _host = ' 127.0.0.1 '; $db = mysql_connect ($db _host, $db _user, $db _pass); ?> User names and passwords are sensitive data that require special attention. They are writte

Liferay Learning (source debugging issues)

Environment Construction:Liferay-portal-tomcat-6.2-ce-ga4-20150416163831865.zip liferaytomcat ServerLiferay-ide-eclipse-windows-x64-2.2.4-ga5-201507230603.zip liferayide Development toolsLiferay-portal-sql-6.2-ce-ga4-20150416163831865.zip Liferay building a database statementLiferay-portal-src-6.2-ce-ga4-20150416163831865.zip Liferay Source PackageLiferay-plugins-sdk-6.2.zip

Additional research on liferay portal (III): Solution to the session loss problem of IFRAME Portlet

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 very clever. However, for many web application systems, after using the

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

Linux install MySQL start can ' t locate data/dumper.pm in @INC

Tags: begin can/usr MPI plugin install MySQL boot dump based serviceWhen installing MySQL via RPM package CentOS7 "Can ' t locate data/dumper.pm in @INC (@INC contains:/usr/local/lib64/perl5/usr/local/share/ Perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5/vendor_perl/usr/lib64/perl5/usr/share/perl5.) at/usr/bin/mysql_install_db Line 42. BEGIN failed--compilation aborted at/usr/bin/mysql_install_db line 42

Use MAVEN to create Liferay applications note archetype version

When we create Liferay applications (such as Portlet,theme) with Maven, we often have a version choice, as shown in the figure: The default show's last version of Archetype is selected, at which point we can only display the latest version of archetype, if we use the latest version of archetype development application, then eventually when the application deployed to the lower version of the container ( For example, the

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

PHP security prevents. Inc Configuration Information exposure

Discover that the current project is to put all the included files under the home directory, as shown in the following figure: The site Directory is public, in addition to the entry file, all the source code and configuration files, are outside the site directory.At the beginning did not realize why to do so, then thought, really very necessary, otherwise it is easy to the source code and some important information exposed:(1) For example, the. inc

Notes for using velocity in liferay

Having used to use velocity, I encountered a problem in Porting previous Turbine-based programs to liferay4.0rc, which had plagued me for many days. Today, I finally completely solved the problem, which is summarized as follows: 1. liferay uses COM. liferay. util. velocity. multipleresourceloader to load VM files. The setting of this loader is in COM. liferay. po

Liferay integrated CAS implementation single sign-on and application system integration

Introduction to Liferay Portal Liferay is a complete portal solution based on the Java EE architecture, using the EJB, JMS and other technologies, the foreground interface using the Struts MVC Framework, template technology and other open source mainstream technology, xml-based portlet configuration file can dynamically expand, using the W EB Services To support the acquisition of some remote information,

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

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

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

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

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

How to get Tomcat bundle Liferay to use a different database __ database

If you want to use a different database, you need to do the following. 1. Set up DBMS system, and have convenient database client for use 2. Find the appropriate JDBC driver 3. Download the Liferay database script (Http://prdownloads.sourceforge.net/lportal/liferay-portal-sql-4.1.3.zip?download) After you extract the compressed files, you will see three main directories: Create,portal and IndexThe script in

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.