liferay portlet

Alibabacloud.com offers a wide variety of articles about liferay portlet, easily find your liferay portlet information here online.

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 according to the Boolean variable to determine whether it is the logo associated to the hook

Liferay use maven to create theme

After learning the ant build theme, Liferay theme, we easily ported the theme project to Maven. The following are the specific steps: Assume: Because we used the http://supercharles888.blog.51cto.com/609344/890525 development structure as shown in the article, let's assume we put the theme we're developing in D:\WalmartProject. First: Let's use the Maven Theme Wizard to create a theme: Once created, because we want our pom.xml to inherit Father

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 the tables.sql is inconsistent, why not execute this code? Debugging finds that the Table

Liferay Login Page Analysis

Code fragment: As any Web site, the login page is an indispensable part, such as the corresponding map of the following login page: The corresponding code fragment is in the/html/portlet/login/login.jsp under root application: The corresponding code for the

Liferay uses MAVEN for multiple project development

The project team is now developing with Maven, and the original non-MAVEN project is migrating to the MAVEN project, and for our development, we assume the following directory structure: One of the items directly below the total project to create a walmart-parent-pom.xml, as Father Pom file, this file does not do anything, only to do with the environment-related settings. Each subproject (green, Yellow Square) has a pom.xml, and the pom.xml of these subprojects will inherit the Father Walmart

Resolves the bug! of portlet Application management errors in System Management in JETSPEED2 default installation package

Analyzed the whole day and managed to fix the problem: Modify the Jetspeed Deployment profile: web-inf/conf/jetspeed.properties, change the username and password inside to and Tomcat's conf/ The administrator's username and password in the

Internationalization in Portlet. xml

  Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 2 newestdynamicportlet 3 com. java. China. Portlet. newestdynamicportlet 4 5 text/html 6 View 7 8 ZH 9 en 10 resource 11 set the

Communication between two Portlet

"> Processaction (){String STR = "PP ";Actionresponse. setevent ("simple-Event", STR );} simple-event simple-event Lang. String Processevent (){Event event = request. getevent ();String STR = (string) event. getvalue ();}    

How to set the Portlet session and HTTP session to become a session

# # Find the Tomcat/conf/server.xml configuration file and find the connector element for the corresponding port number. Then configure Emptysessionpath= "true". Eg: #2 Session.setattribute in the class, add Portletsession.application_scope.

Liferay advanced query (1)

Code added to pointexchangelocalserviceimpl. Java /** * Query method in point management * * @ Param searchterms * @ Param companyid * @ Param groupid * @ Param start * @ Param end * @ Return * @ Throws systemexception */ // Query all records in

Liferay 6.2 Retrofit Series 12: Modify the Portal Settings page form content

Remove the unused content from the Portal Settings page:In the/portal-master/portal-impl/src/portal.properties file, the following configuration is available:# # Input A list of sections that would be included as part of the company# settings form. #

Liferay 6.2 Renovation Series Nine: Modify the user information filling rules

In order to make the user information closer to the actual needs, modify the following information:1, let the login name can use the number, ".", "_" and so onIn the/portal-master/portal-impl/src/portal.properties file, the following configuration

How to configure URL redirection on a liferay server

Demand: Suppose we have the following requirements: Assuming access to http://172.29.175.236:8080, the Http://172.29.175.236:8080/web/charles-site page is eventually accessed Assuming access to Http://172.29.175.236:8080/web, the final access

Liferay Front End Performance Tuning (5) Sprite pictures

Of course, for picture files, we can not use yui-compressor to compress, but we can bar a number of small pictures sprite into a large picture and then give the coordinates of each picture, thereby reducing the number of network IO overhead. The

Liferay table structure is modified in Service.xml, the tables in the database do not change

When booting Tomcat, console error:Com.liferay.portal.OldServiceComponentException:Build namespace ievents have Build number 444 which is newer than 438.This is because the Build.number is modified in the Service.properties file each time the

Liferay Front-End Performance tuning (4) artifact when the package is enabled Yui-compressor

In the previous chapter we introduced, from the browser to the server to get resources, you can use gzip to get the browser is compressed resources to reduce network download time, then we can consider from the source, that is, we from the source

Liferay Control Panel Create folder process analysis

Summarize: When we add a folder to the control Panel, we actually insert a row of records in the Dlfolder table of the database: The record information contains the information entered by the user and the user's Id,repositoryid. The most subtle

Liferay 6.2 Retrofit Series 19: Modifying the form contents of site Settings

In the/portal-master/portal-impl/src/portal.properties file, the following configuration is available:# Input A list of sections that would be included as part of the form when# updating a site. #sites.

Liferay 6.2 Transformation Series: Default off CDN Dynamic resources

CDN services are generally not available in industry customers, so the CDN Dynamic resource feature is turned off by default:In the/portal-master/portal-impl/src/portal.properties file, the following configuration is available:Truefalse do not

Liferay advanced query (1)

Code added to pointexchangelocalserviceimpl. Java /** * Query method in point management * * @ Param searchterms * @ Param companyid * @ Param groupid * @ Param start * @ Param end * @ Return * @ Throws systemexception */ // Query all records in

Total Pages: 15 1 .... 9 10 11 12 13 .... 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.