jford 2004/04/09 08:27:05
Added: tutorial/xdocs/6 index.xml
Log:
Chapter 6 conversion to xdoc
Revision Changes Path
1.1 jakarta-jetspeed/tutorial/xdocs/6/index.xml
Index: index.xml
===================================================================
<?xml version="1.0"?>
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<document>
<properties>
<author email="[EMAIL PROTECTED]">David Sean Taylor</author>
<title>The Portlet Interface</title>
</properties>
<body>
<section name="The Portlet Interface">
<p>
Tutorial 6 introduces the Portlet interface. This section covers:
</p>
<p>
<ul>
<li>1. <a href="mediatypes.html">Media Types</a></li>
<li>2. <a href="lifecycle.html">Portlet Life Cycle</a></li>
<li>3. <a href="initparams.html">Init Parameters, Attributes and Titles</a></li>
<li>4. <a href="modes.html">Portlet Modes</a></li>
<li>5. <a href="deploy.html">Deploy</a></li>
</ul>
</p>
<p>
Let's get started. From the JPortal distribution root directory, type:
</p>
<p>
<source>
<![CDATA[
ant tutorial-6
]]>
</source>
</p>
<p>
Recommend bringing up these files in your editor:
</p>
<p>
<ul>
<li>1. webapp/WEB-INF/conf/t6-portlets.xreg</li>
<li>2. webapp/WEB-INF/psml/user/anon/html/default.psml</li>
<li>3. webapp/WEB-INF/psml/user/turbine/html/default.psml</li>
<li>4.
src/java/com/bluesunrise/jportal/portal/portlets/HelloPortletInterface.java</li>
<li>5. webapp/WEB-INF/conf/JPortalJetspeed.properties</li>
</ul>
</p>
<p>
since we will reference them in tutorial 6.
</p>
<p>
Portlets generate content fragments (from the <b>getContent()</b> method) that are
aggregated together in a portal page as shown below. Jetspeed takes the content
generated by each portlet, and includes it in a portlet window. The location on the
page for the portlet window is controlled by the administrator or user when
customizing a portlet page. The Portlet interface is the contract between the portlet
developer and Jetspeed defining how a portlet behaves and interacts with the Jetspeed
environment.
</p>
<p>
<img src="../images/image006-1.jpg" width="553" height="541"/>
</p>
</section>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]