Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
8Activity
0 of .
Results for:
No results containing your search query
P. 1
14848685 Liferay Development Documentation 50

14848685 Liferay Development Documentation 50

Ratings: (0)|Views: 334 |Likes:
Published by sangnd

More info:

Published by: sangnd on Aug 26, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/23/2010

pdf

text

original

 
D
EVELOPMENT
D
OCUMENTATION
 
Development DocumentationSamuel Kong, EditorCopyright © 2008 by Liferay, Inc.This work is offered under the Creative Commons Attribution-Share Alike Unported license.You are free:
to share—to copy, distribute, and transmit the work
to remix—to adapt the workUnder the following conditions:
Attribution
. You must attribute the work in the manner specified by the author or licensor(but not in any way that suggests that they endorse you or your use of the work).
Share Alike
. If you alter, transform, or build upon this work, you may distribute the resultingwork only under the same, similar or a compatible license.The full version of this license appears in the appendix of this book, or you may view it online here:http://creativecommons.org/licenses/by-sa/3.0 Contributors: Joseph Shum, Alexander Chow, Redmond Mar, Ed Shin, Rich Sezov, Samuel Kong
 
Table of ContentsTable of Contents
1. Hot Deploy Development.............................................................................................................5
I
NITIAL
S
ETUP
.........................................................................................................................................................5I
NTRODUCTION
 
TO
J
AVA
S
TANDARD
P
ORTLETS
.................................................................................................................7
Creating A Portlet......................................................................................................................................................8Anatomy of a Portlet..................................................................................................................................................9
A Closer Look at the Default JSP Portlet..........................................................................................10C
REATING
L
IFERAY
T
HEMES
......................................................................................................................................12
Theme Concepts.......................................................................................................................................................13Anatomy of a Theme................................................................................................................................................13 JavaScript..................................................................................................................................................................14Settings.....................................................................................................................................................................15Color Schemes..........................................................................................................................................................16Portal predefined settings.......................................................................................................................................17
D
EPLOYMENT
.........................................................................................................................................................18A
DVANCED
D
EVELOPMENT
........................................................................................................................................18
Service Builder.........................................................................................................................................................18
Define the Database Structure..........................................................................................................19Generate Service Layer......................................................................................................................20Create the Service Layer Class..........................................................................................................20Security and Permissions Service....................................................................................................20
2. Customizing Liferay: Developing in the Extension Environment..............................................31
T
OOLS
S
ETUP
........................................................................................................................................................31 Java Development Kit.........................................................................................................................31ANT......................................................................................................................................................32MySQL .................................................................................................................................................32Liferay Source.....................................................................................................................................32
Setup Your Application Server and Liferay Portal................................................................................................32Create the Extension Environment........................................................................................................................32Configuring the Environment.................................................................................................................................33Setup the Database...................................................................................................................................................33Deploy the Extension Environment.......................................................................................................................34
C
USTOMIZING
L
IFERAY
.............................................................................................................................................34
File Structure Overview...........................................................................................................................................34
A
DVANCED
D
EVELOPMENT
........................................................................................................................................36
Liferay Services........................................................................................................................................................36
User Service........................................................................................................................................36iii

Activity (8)

You've already reviewed this. Edit your review.
1 hundred reads
vl4db0t liked this
Tung Tran Thanh liked this
tyty22 liked this
c_melas1306 liked this
Jose Merino liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->