For most HTTP requests, if we can get them to provide these resources in the form of compressed files, they can also be enormously efficient. All we need to do is turn on gzip, and then we can reduce the amount of network time it takes to download
(1) For particularly common files, such as the CSS files to be used by the EXT-JS library, you can have 2 choices:
Option 1: Put it in the root/html/common/themes/top_head.jsp:
..
" rel= "stylesheet" type= "Text/css"/> " "rel=" stylesheet
If we write a servlet ourselves, then define this and
Example:
For example, we have 2 servlet, one is called Ecvcheckservlet, one is called Sitespecservlet, we have the following servlet definition in Web.xml:
URL parameters are written in two different ways:
1.
var rank
= document.getElementById ("Rank"). Value;
var Parentcolumnwindow = window.open (' LiferayWindowState.POP_UP.toString ()%> ">
&rank= ' +rank+ '
',
' ParentColumn ', '
Portal Functions
A solution should not just work, it should work for you. The award-winning liferay portal stands out as an appropriate balance, practical features, availability, and technological innovation.
Portal website
Content
Collaboration and Society
Simplified user interface development
Liferay portal simplifies the development of internal, external, and channel websites-especially those that al
From: http://www.networkworld.com/news/2006/041006-goodwill-open-source-liferay.html
A hallmark of the open source software community is the opportunity for IT executives to get close to developers and influence product development. goodwill Industries International helped drive the Security overhaul of the new version of Open Source liferay portal software, expected to be announced the week of limit L 10.
Life
Original: Http://www.liferay.com/community/wiki/-/wiki/Main/Embedding+a+portlet+in+the+theme
Introduction #
Themes are developed using the Velocity template language. Liferay provides tools available within Velocity ' s context to perform special-operations as such a portlet. You can embed a built-in Liferay portlets or a plugin portlet, and you can also the embed instanceable or non-instanceable port Lets
.
============
I modified the following (by the way the port was changed from 8080 to 80), and then restarted with bin/shutdown.sh and bin/startup.sh:
connectiontimeout= "20000"
Redirectport= "8443" maxhttpheadersize= "8192" uriencoding= "UTF-8"/>
Port= "protocol=" http/1.1 "
connectiontimeout= "20000"
Redirectport= "8443" maxhttpheadersize= "8192" uriencoding= "UTF-8"/>
-
======================
But the shutdown and start execution is too fast and the seconds level is complete. Start th
Custom CAS login verification
Reprinted by the author:
By: 88250
Blog: http:/blog.csdn.net/dl88250
MSN Gmail QQ: DL88250@gmail.com
Directory
Summary 1
Environment 1
Create Project 1
Add dependency package 2
Write Test Case 2
Write implementation code 3
Engineering Structure 5
Testing and packaging 5
Enable customized login verification 6
Integration Test 7
Conclusion 7Summary
This article uses liferay and CAS integration as an example to customize C
10 JavaScript framework with rich UI component
June 8th, 2011Aditia Rahman/No Comments Tweet
There are using JavaScript framework that available to use on the Internet, most of them offering a simple solution to build modern web application, but not all offering a full rich UI component. some framework like jquery, mootools, prototype only cover the core feature like animating, effect, Dom manipulation.
This rich feature whether you called it component, widget or any other, can help
simple scope of the platform-dependent files added for the Windows platform looks like this:
Win32 {SOURCES + = Hello_win.cpp }
When you've created your project file, it's easy to build makefile, all you have to do is go to the project file you generated and type it in:
Makefile can be generated like this by a ". Pro" File:
Qmake-omakefile Hello.pro
For VisualStudio users, Qmake can also generate a ". DSP" file, for example:
Qmake-tvcapp-o HELLO.DSP Hello.pro
++++++++++++++++++++++++ A pro
to the Class file or reference the bin \ flex-iframe-1.5.swc3, create a new MXML application, add a red part of the code, fill in the page to be displayed in source Issue 2: Solve direct communication between flex and unity web player.
Unity web player calls the flex function. The key is to mark the function in red. In fact, iframe is checked into the Flex HTML, if the SwfContent object is found through the iframe script, the function in flex can be called to implement communication with fle
Liferay finally released the 4.0rc version this week, more than eight months after the previous official release of 3.6.1. After the download, I tried it on our server. It feels good.
(1) interface: First of all, I feel that the interface is quite beautiful. The default theme is no longer a huge font and looks quite comfortable; the Custom button of each Portlet appears only when you place the cursor at this position. It is cool. When you add a Portle
1 Project Path Map
2 Code
Package com.cpcnet.util;
Import Java.io.FileInputStream;
Import java.io.IOException;
Import Java.io.InputStream;
Import Java.net.URL;
Import java.util.Properties; The public class Propertiesutil {/* * * * Returns the result based on the name of the property file Onlineperformance.properties * Incoming parameter File:/d:/myliferay /eclipse/liferay-plugins-sdk-6/liferay-plugins-
+ = hello_win.cpp}========================================================== ========================================================== ==========================================When you have created your project file, it is easy to generate the makefile. All you have to do is first go to the project file you generated and enter:
Makefile can be generated by the. Pro file as follows:
Qmake-omakefile hello. Pro
For Visual Studio users, qmake can also generate the ". DSP" file, for example:
Qmake
platform looks like this:
Win32 {Sources + = hello_win.cpp}========================================================== ========================================================== ==========================================When you have created your project file, it is easy to generate the makefile. All you have to do is first go to the project file you generated and enter:
Makefile can be generated by the. Pro file as follows:
Qmake-omakefile hello. Pro
For Visual Studio users, qmake can also gene
" Administrator, or "admin = 2 | admin = 3" Super moderator and moderator, each Action corresponds to a script file named action. inc. php (*. inc. php) in the admin directory, such as admincp. php? Action = dodo, which is equivalent to executing the dodo. inc. php file under the admin directoryB) Foreground process control: the foreground process control is rela
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.