You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@portals.apache.org by at...@apache.org on 2012/12/16 23:55:26 UTC
svn commit: r1422709 [37/44] - in /portals/site-live/jetspeed-2.1.3:
2.1/schemas/ adminguide/ adminguide/css/ adminguide/images/
adminguide/images/logos/ css/ deployguide/ deployguide/css/
deployguide/images/ deployguide/images/ldap/ deployguide/images...
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/eclipse.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/04/eclipse.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/04/eclipse.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/04/eclipse.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Eclipse Integration</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Eclipse_Integration"></a><h2>Eclipse Integration</h2><p>
+ Before getting started, lets get Eclipse setup. Lets
+ create a Eclipse project for the jetexpress project.
+ Maven-2 can create Eclipse project and classpath files
+ from your Maven-2 project POM, automatically bringing in
+ all dependencies:
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress
+mvn eclipse:eclipse
+cp portal/.classpath .
+cp portal/.project .
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+mvn eclipse:eclipse
+copy portal\.classpath .
+copy portal\.project .
+
+ </pre></div>
+ <p>
+ Lets do the same for the
+ <i>express-demo</i>
+ portlet application. You may prefer to actually create a
+ new Eclipse project to represent the portlet app
+ subproject. We recommend this, since Eclipse doesn't
+ work very well multi-Maven projects. Best to break them
+ out into one Maven project == one Eclipse project:
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress/applications/express-demo
+mvn eclipse:eclipse
+# Windows
+cd \JetspeedTraining\workspace\jetexpress\applications\express-demo
+mvn eclipse:eclipse
+
+ </pre></div>
+ <p>
+ Now lets import these new projects. From the eclipse
+ menu, select File->Import:
+ </p><img src="../images/import-project.png" alt=""></img><img src="../images/import-project2.png" alt=""></img><p>
+ Repeat for both the applications/express-demo project.
+ </p><p>
+ Next, lets setup a classpath variable to point at the
+ Maven Repo, effectively resolving the jars for Eclipse.
+ In Eclipse, go to Window->Preferences->Java->Build
+ Path->Classpath Variables->New...:
+ </p><img src="../images/eclipse-classpath.png" alt=""></img><p>
+ If you would like to work with the Jetspeed source from
+ the SVN Trunk, you will need to install the Subversion
+ Plugin for Eclipse. After doing so, simply check out the
+ project using the Subversion plugin:
+ </p><img src="../images/svn1.png" alt=""></img><img src="../images/svn2.png" alt=""></img><img src="../images/svn3.png" alt=""></img><p>We are now ready to start developing with Eclipse.</p><p>
+ <a href="overview.html">Previous</a>
+ <a href="hello.html">Next</a>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/eclipse.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/hello.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/04/hello.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/04/hello.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/04/hello.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,95 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Hello World</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Hello_World_Portlet"></a><h2>Hello World Portlet</h2><p>
+ We are going to create a portlet using the Eclipse Java
+ perspective. Go to the
+ <i>express-demo</i>
+ project, click on the
+ <i>com.bluesunrise.portal.portlets.tutorial</i>
+ package, and create a new Java class:
+ </p><img src="../images/new-portlet.png" alt=""></img><p>
+ You will see a new portlet in Eclipse named
+ BonjourWorld. Go ahead Override and Implement the
+ following methods:
+ </p><img src="../images/override-impl.png" alt=""></img><p>
+ Each one of these methods is associated with a portlet
+ mode. Lets make these methods actually do something.
+ Since we are in the render phase when
+ doView/doEdit/doHelp are called, its probably best to
+ render something. The RenderResponse renders content to
+ the output stream of the portlet. Set the content type
+ on the response, and then print a
+ <i>hello world</i>
+ message using a Java Writer:
+ </p>
+ <div class="source"><pre>
+
+ protected void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException
+ {
+ response.setContentType("text/html");
+ response.getWriter().println("<b>Bonjour: View Mode</b>");
+ }
+
+ </pre></div>
+ <p>
+ Repeat the same process for Edit and Help modes. Now
+ lets edit the portlet.xml, and create a portlet
+ descriptor entry for our portlet. Notice that the
+ <supports> element contains that same portlet
+ modes that we support in our
+ <i>do</i>
+ methods.
+ </p>
+ <div class="source"><pre>
+
+ <portlet>
+ <description>Bonjour Monde Portlet</description>
+ <portlet-name>BonjourMonde</portlet-name>
+ <display-name>Bonjour Monde</display-name>
+ <portlet-class>com.bluesunrise.portal.portlets.tutorial.BonjourWorld</portlet-class>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ <portlet-mode>EDIT</portlet-mode>
+ <portlet-mode>HELP</portlet-mode>
+ </supports>
+ <supported-locale>en</supported-locale>
+ <portlet-info>
+ <title>Bonjour Monde</title>
+ <short-title>Bonjour</short-title>
+ <keywords>tutorial,bonjour,hello</keywords>
+ </portlet-info>
+ </portlet>
+
+ </pre></div>
+ <p>
+ <a href="overview.html">Previous</a>
+ <a href="tutorial-psml.html">Next</a>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/hello.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/overview.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/04/overview.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/04/overview.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/04/overview.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Portlet 101</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Portlet_Development_with_the_Portlet_API"></a><h2>Portlet Development with the Portlet API</h2><p>
+ This section of the tutorial covers Portlet Development
+ with the Java Portlet API.
+ </p><p>
+ <ul>
+ <li>Getting started with Eclipse</li>
+ <li>
+ Bonjour Monde Portlet: the staple Hello World
+ demo to get things rolling introduces the
+ portlet.xml, as well as basic Portlet API
+ concepts.
+ </li>
+ <li>
+ The Weather Portlet: using init parameters,
+ preferences, and request parameters
+ </li>
+ <li>
+ The Stock Quote Portlet: actions, JSP, Portlet
+ API Tag Library
+ </li>
+ <li>
+ Interportlet communication, more advanced
+ Portlet programming.
+ </li>
+ </ul>
+ </p><p>
+ <a href="../03/pages.html">Previous</a>
+ <a href="eclipse.html">Next</a>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/overview.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/taglib.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/04/taglib.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/04/taglib.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/04/taglib.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,170 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Taglibs</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="JSP_and_Portlet_API_Taglib"></a><h2>JSP and Portlet API Taglib</h2><p>
+ Lets create another portlet. This portlet will not have
+ a Java class. Instead it will be written entirely in
+ JSP. Note that you can mix JSP and a Java class for the
+ implementation of your Java class as you will see in the
+ Stock Quote portlet example. Go to the
+ <i>express-demo</i>
+ project, click on the
+ <i>src/webapp/WEB-INF/view/</i>
+ directory, and create a JSP file named
+ <b>tutorial.jsp</b>
+ . Enter the following JSP code:
+ </p>
+ <div class="source"><pre>
+
+<%@ page session="true" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix='c' %>
+
+<portlet:defineObjects/>
+
+<portlet:renderURL var="max" windowState='maximized'/>
+<portlet:renderURL var="normal" windowState='normal'/>
+<c:out value="${renderRequest.windowState}"/>
+<c:if test="${renderRequest.windowState == 'maximized'}">
+<a href='<%=normal%>'>Normal</a>
+</c:if>
+<c:if test="${renderRequest.windowState == 'normal'}">
+<a href='<%=max%>'>Max</a>
+</c:if>
+
+ </pre></div>
+ <p>
+ Every portlet JSP page is required to have the
+ <b>defineObjects</b>
+ tag at the top. Of course you also need the TLD
+ reference. Portlets need to write their links to go back
+ to the portal, not back to each individual servlet or
+ JSP. That is the main difference between writing
+ portlets and servlets. If you are using a framework like
+ Struts or JSF correctly, these details should be hidden
+ from you in the framework. The tag that we are using
+ here is the
+ <b><portlet:renderURL></b>
+ . It allows you to create a render phase link back to
+ this portlet, going through the portal. You can set
+ window states, request parameters, and portlet mode
+ changes on the URL. The other kind of link that you can
+ create is an action URL:
+ <b><portlet:actionURL></b>
+ , which is usually used with a HTML form to post back
+ parameters to the portlet and initial a blocking action
+ phase event for the targeted portlet. The
+ <b><portlet:defineObjects></b>
+ tag declares three variables for your page:
+ <table class="bodyTable"><tr class="b"><th>JSP variable</th><th>Description</th></tr><tr class="a"><td>renderRequest</td><td>The RenderRequest object</td></tr><tr class="b"><td>renderResponse</td><td>The RenderResponse object</td></tr><tr class="a"><td>portletConfig</td><td>The PortletConfig object</td></tr></table>
+ </p><p>
+ Here is the portlet.xml for our JSP portlet. It is based
+ on the
+ <b>GenericServletPortlet</b>
+ , provided by Portals Bridges in a jar file dependency.
+ Notice the init-param named
+ <b>ViewPage</b>
+ . This param defines which webapp-relative JSP to use
+ for View Mode. Similiarly we have are
+ <b>EditPage</b>
+ for edit mode, and
+ <b>HelpPage</b>
+ for help mode.
+ </p>
+ <div class="source"><pre>
+
+ <portlet>
+ <description>The 2nd Tutorial with JSP</description>
+ <portlet-name>TutorialPortlet2</portlet-name>
+ <display-name>Tutorial Portlet 2</display-name>
+ <portlet-class>org.apache.portals.bridges.common.GenericServletPortlet</portlet-class>
+ <init-param>
+ <name>ViewPage</name>
+ <value>/WEB-INF/view/tutorial.jsp</value>
+ </init-param>
+ <init-param>
+ <name>EditPage</name>
+ <value>/WEB-INF/view/tutorial.jsp</value>
+ </init-param>
+ <init-param>
+ <name>HelpPage</name>
+ <value>/WEB-INF/view/tutorial.jsp</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ <portlet-mode>EDIT</portlet-mode>
+ <portlet-mode>HELP</portlet-mode>
+ </supports>
+ <supported-locale>en</supported-locale>
+ <portlet-info>
+ <title>Tutorial Portlet</title>
+ <short-title>tutorial</short-title>
+ <keywords>tutorial,hello,JSP,taglib</keywords>
+ </portlet-info>
+ <portlet-preferences>
+ <preference>
+ <name>test</name>
+ <value>hello</value>
+ </preference>
+ </portlet-preferences>
+</portlet>
+
+ </pre></div>
+ <p>
+ Add this portlet window fragment to the tutorial default
+ page, underneath the BonjourMonde fragment:
+ </p>
+ <div class="source"><pre>
+
+ <fragment id="express-102" type="portlet" name="express-demo::TutorialPortlet2"/>
+
+ </pre></div>
+ <p>And then deploy your changes:</p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress/
+ant
+cd applications/express-demo
+mvn
+cp target/express-demo-1.0.war /JetspeedTraining/tomcat-express/webapps/express-demo.war
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+ant
+cd applications\express-demo
+mvn
+copy target\express-demo-1.0.war \JetspeedTraining\tomcat-express\webapps\express-demo.war
+
+ </pre></div>
+ <p>
+ <a href="hello.html">Previous</a>
+ <a href="../05/jetspeed-service.html">Next</a>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/taglib.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/tutorial-psml.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/04/tutorial-psml.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/04/tutorial-psml.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/04/tutorial-psml.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,92 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Adding a Page for the Tutorial Portlets</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Adding_a_Page_for_the_Tutorial_Portlets"></a><h2>Adding a Page for the Tutorial Portlets</h2><p>
+ Now that we've created a new portlet, lets add a page to
+ hold that portlet. In the
+ <b>jetexpress</b>
+ project, lets add a folder to the root of our site named
+ <i>portal/src/webapp/WEB-INF/pages/tutorial/</i>
+ .
+ </p>
+ <div class="source"><pre>
+
+<?xml version="1.0" encoding="UTF-8"?>
+<folder>
+ <title >Tutorial</title>
+ <metadata name="title" xml:lang="fr">Autodidacte</metadata>
+
+ <security-constraints>
+ <security-constraints-ref>public-edit</security-constraints-ref>
+ </security-constraints>
+</folder>
+
+ </pre></div>
+ <p>
+ Then lets add a new page named
+ <b>default-page.psml</b>
+ under the tutorial directory. Add a portlet window to
+ reference our new portlet:
+ </p>
+ <div class="source"><pre>
+
+<page>
+ <defaults layout-decorator="express-page"
+ portlet-decorator="express-portlet"
+ skin="express"/>
+ <title>JetExpress Tutorials</title>
+ <short-title>Tutorials</short-title>
+ <fragment id="tutorial-100" type="layout" name="jetspeed-layouts::VelocityTwoColumns">
+ <fragment id="express-101" type="portlet" name="express-demo::BonjourMonde"/>
+ </fragment>
+</page>
+
+ </pre></div>
+ <p>Lets deploy our portlet and the new pages:</p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress
+ant
+cd applications/express-demo
+mvn
+cp target/express-demo-1.0.war /JetspeedTraining/tomcat-express/webapps/express-demo.war
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+ant
+cd applications\express-demo
+mvn
+copy target\express-demo-1.0.war \JetspeedTraining\tomcat-express\webapps\express-demo.war
+
+ </pre></div>
+ <p>
+ <a href="hello.html">Previous</a>
+ <a href="taglib.html">Next</a>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/tutorial-psml.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/velocity.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/04/velocity.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/04/velocity.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/04/velocity.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Portlet 101</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Velocity_Overview"></a><h2>Velocity Overview</h2><p>
+ <a href="velocity.apache.org">Velocity</a> is a Java-based template engine.
+ It permits anyone to use a simple yet powerful template language to reference objects defined in Java code.
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/04/velocity.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/05/jetspeed-service.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/05/jetspeed-service.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/05/jetspeed-service.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/05/jetspeed-service.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,359 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Jetspeed Service</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Jetspeed_Services"></a><h2>Jetspeed Services</h2><p>
+ This tutorial shows you how to use Jetspeed Services
+ from the Express Demo Portlet Application. Please note
+ that all edits, unless explicity specified otherwise,
+ are applied to the express-demo PA source tree. We will
+ learn how to:
+ <ul>
+ <li>add new roles</li>
+ <li>add new groups</li>
+ <li>register new users</li>
+ <li>manipulate pages</li>
+ <li>get a filtered list of portlets</li>
+ </ul>
+ using the RoleManager, GroupManager,
+ PortletAdministration, and Page Manager Jetspeed API
+ interfaces.
+ </p><p>
+ Lets get started by entering a new portlet in the
+ portlet.xml:
+ </p>
+ <div class="source"><pre>
+
+<portlet id="ServicesTutorialPortlet">
+ <description>Tutorial for using Jetspeed Services, such as PortalAdministration, PageManager, Registry.</description>
+ <portlet-name>ServicesTutorialPortlet</portlet-name>
+ <display-name>Jetspeed Services Tutorial Portlet</display-name>
+ <portlet-class>com.bluesunrise.portal.portlets.services.ServicesTutorialPortlet</portlet-class>
+ <init-param>
+ <description>This parameter sets the template used in view mode.</description>
+ <name>ViewPage</name>
+ <value>/WEB-INF/view/services-tutorial.jsp</value>
+ </init-param>
+ <init-param>
+ <description>Comma-separated list of roles to create via Role Manager</description>
+ <name>roles</name>
+ <value>role1,role2,role3</value>
+ </init-param>
+ <init-param>
+ <description>Comma-separated list of groups to create via Group Manager</description>
+ <name>groups</name>
+ <value>group1,group2,group3</value>
+ </init-param>
+ <init-param>
+ <description>Comma-separated list of Users to create and Register via PortalAdminstration service</description>
+ <name>users</name>
+ <value>user1,user2,user3</value>
+ </init-param>
+ <init-param>
+ <description>Comma-separated list of roles to assign to a new user</description>
+ <name>registration-roles</name>
+ <value>user,role1,role2</value>
+ </init-param>
+ <init-param>
+ <description>Comma-separated list of groups to assign to a new user</description>
+ <name>registration-groups</name>
+ <value>group1,group2</value>
+ </init-param>
+ <init-param>
+ <name>portlet-icon</name>
+ <value>start-here.png</value>
+ </init-param>
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>VIEW</portlet-mode>
+ </supports>
+ <supported-locale>en</supported-locale>
+ <portlet-info>
+ <title>Services Tutorial</title>
+ <short-title>Services</short-title>
+ <keywords>tutorial,services,jetspeed-services</keywords>
+ </portlet-info>
+ </portlet>
+
+ </pre></div>
+ <p>
+ Jetspeed has an extended descriptor for defining
+ extended portal features and services. Edit the
+ <b>jetspeed-portlet.xml</b>
+ found in
+ <i>src/webapp/WEB-INF/</i>
+ , and add the following services under the
+ <js:services> element. This tells Jetspeed what
+ services you require:
+ </p>
+ <div class="source"><pre>
+
+ <js:service name='GroupManager'/>
+ <js:service name='PageManager'/>
+ <js:service name='PortalAdministration'/>
+ <js:service name='PortletRegistryComponent'/>
+ <js:service name='RoleManager'/>
+ <js:service name='UserManager'/>
+
+ </pre></div>
+ <p>
+ Create a new JSP page named
+ <b>services-tutorial.jsp</b>
+ in the
+ <i>src/webapp/WEB-INF/view/</i>
+ directory. Enter the following code:
+
+ <div class="source"><pre>
+
+<%@ page language="java" session="true" %>
+<%@ page import="javax.portlet.*" %>
+
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
+
+<portlet:defineObjects/>
+
+<portlet:actionURL var="newRolesAction"/>
+<br/>
+<div class='portlet-section-header'>Services Tutorial Portlet</div>
+
+<form name="servicesTutorialForm" action="<c:out value="${newRolesAction}"/>" method="post">
+<input type="submit" name='action' value="createRoles" class="portlet-form-button" />
+<input type="submit" name='action' value="createGroups" class="portlet-form-button" />
+<input type="submit" name='action' value="registerUsers" class="portlet-form-button" />
+<input type="submit" name='action' value="modifyPages" class="portlet-form-button" />
+<input type="submit" name='action' value="createSharedPages" class="portlet-form-button" />
+</form>
+<c:if test="${message != null}">
+<div class='portlet-msg-info'><c:out value="${message}"/></div>
+</c:if>
+<c:if test="${errorMessage != null}">
+<div class='portlet-msg-error'><c:out value="${errorMessage}"/></div>
+</c:if>
+
+ </pre></div>
+
+ </p><p>
+ <ul>
+ <li>
+ Create a new package using Eclipse:
+ <b>com.bluesunrise.portal.portlets.services</b>
+ </li>
+ <li>
+ Create a portlet in the above package named
+ <b>ServicesTutorialPortlet.java</b>
+ extending
+ <b>GenericServletPortlet</b>
+ .
+ </li>
+ <li>
+ Override and implement the
+ <b>init</b>
+ ,
+ <b>doView</b>
+ and
+ <b>processAction</b>
+ methods
+ </li>
+ </ul>
+ </p><p>Add the following data members to the portlet class:</p>
+ <div class="source"><pre>
+
+ private PortalAdministration admin;
+ private PageManager pageManager;
+ private RoleManager roleManager;
+ private UserManager userManager;
+ private GroupManager groupManager;
+ protected PortletRegistry registry;
+
+ private List registrationRoles;
+ private List registrationGroups;
+ private List newRoles;
+ private List newGroups;
+ private List newUsers;
+
+ </pre></div>
+ <p>
+ Press
+ <b>Ctrl-Shift-O</b>
+ to resolve the two above class imports.
+ </p><p>
+ Enter the following code into the init(PortletConfig
+ config) method, replacing whats there:
+ </p>
+ <div class="source"><pre>
+
+ super.init();
+ admin = (PortalAdministration) getPortletContext().getAttribute(
+ CommonPortletServices.CPS_PORTAL_ADMINISTRATION);
+ if (null == admin) {
+ throw new PortletException(
+ "Failed to find the Portal Administration on portlet initialization");
+ }
+ userManager = (UserManager) getPortletContext().getAttribute(
+ CommonPortletServices.CPS_USER_MANAGER_COMPONENT);
+ if (null == userManager) {
+ throw new PortletException(
+ "Failed to find the User Manager on portlet initialization");
+ }
+ roleManager = (RoleManager) getPortletContext().getAttribute(
+ CommonPortletServices.CPS_ROLE_MANAGER_COMPONENT);
+ if (null == roleManager) {
+ throw new PortletException(
+ "Failed to find the Role Manager on portlet initialization");
+ }
+ groupManager = (GroupManager) getPortletContext().getAttribute(
+ CommonPortletServices.CPS_GROUP_MANAGER_COMPONENT);
+ if (null == groupManager) {
+ throw new PortletException(
+ "Failed to find the Group Manager on portlet initialization");
+ }
+ pageManager = (PageManager) getPortletContext().getAttribute(
+ CommonPortletServices.CPS_PAGE_MANAGER_COMPONENT);
+ if (null == pageManager) {
+ throw new PortletException(
+ "Failed to find the Page Manager on portlet initialization");
+ }
+ registry = (PortletRegistry)getPortletContext().getAttribute(CommonPortletServices.CPS_REGISTRY_COMPONENT);
+ if (null == registry) {
+ throw new PortletException(
+ "Failed to find the Portlet Registry on portlet initialization");
+ }
+ this.newRoles = getInitParameterList(config, "roles");
+ this.newGroups = getInitParameterList(config, "groups");
+ this.newUsers = getInitParameterList(config, "users");
+ this.registrationRoles = getInitParameterList(config, "registration-roles");
+ this.registrationGroups = getInitParameterList(config, "registration-groups");
+
+ </pre></div>
+ <p>Add this helper function to the class:</p>
+ <div class="source"><pre>
+
+ protected List getInitParameterList(PortletConfig config, String ipName)
+ {
+ String temp = config.getInitParameter(ipName);
+ if (temp == null) return new ArrayList();
+
+ String[] temps = temp.split("\\,");
+ for (int ix = 0; ix < temps.length; ix++)
+ temps[ix] = temps[ix].trim();
+
+ return Arrays.asList(temps);
+ }
+
+ </pre></div>
+ <p>Write the doView method:</p>
+ <div class="source"><pre>
+
+ public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException
+ {
+ request.setAttribute("message", request.getParameter("message"));
+ request.setAttribute("errorMessage", request.getParameter("errorMessage"));
+ super.doView(request, response);
+ }
+
+ </pre></div>
+ <p>Write the portletAction method:</p>
+ <div class="source"><pre>
+
+ public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException
+ {
+ String action = request.getParameter("action");
+ try
+ {
+ if (action != null)
+ {
+ if (action.equals("createRoles"))
+ {
+ String message = "Created " + createRoles() + " roles";
+ response.setRenderParameter("message", message);
+ }
+ else if (action.equals("createGroups"))
+ {
+ String message = "Created " + createGroups() + " groups";
+ response.setRenderParameter("message", message);
+ }
+ else if (action.equals("registerUsers"))
+ {
+ String message = "Registered " + registerUsers() + " users";
+ response.setRenderParameter("message", message);
+ }
+ else if (action.equals("modifyPages"))
+ {
+ String message = "Modified " + modifyPages() + " pages";
+ response.setRenderParameter("message", message);
+ }
+ else if (action.equals("createSharedPages"))
+ {
+ String message = "Created " + createSharedPages() + " pages";
+ response.setRenderParameter("message", message);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ response.setRenderParameter("serviceError", e.getMessage());
+ // TODO: proper logging
+ e.printStackTrace();
+ }
+ }
+
+ </pre></div>
+ <p>
+ Implement the undefined methods using the Jetspeed
+ Services...
+ <table class="bodyTable"><tr class="b"><th>method</th><th>purpose</th></tr><tr class="a"><td>createRoles</td><td>
+ using the roles init param, create new roles
+ with the RoleManager service. If the role
+ already exists, skip it.
+ </td></tr><tr class="b"><td>createGroups</td><td>
+ using the groups init param, create new
+ groups with the GroupManager service. If the
+ group already exists, skip it.
+ </td></tr><tr class="a"><td>registerUsers</td><td>
+ using the users init param, register new
+ users with the PortalAdministration service.
+ If the user already exists, skip it.
+ </td></tr><tr class="b"><td>modifyPages</td><td>
+ using the users init param, modify pages
+ with the PageManager service. If the page
+ doesnt exist, dont create it. Modifications:
+ for user1, create a 1 column collection of 1
+ portlet, for user2, create a 2 column
+ collection of 2 portlets, for user3 create a
+ 3 column collection of 3 portets
+ </td></tr><tr class="a"><td>createSharedPages</td><td>
+ create a folder named /shared, create a page
+ name /friends.psml. add some portlets to the
+ page. grant public-view security constraint
+ to the folder
+ </td></tr></table>
+ </p><p>
+ <a href="../04/taglib.html">Previous</a>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/05/jetspeed-service.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/06/databases.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/06/databases.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/06/databases.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/06/databases.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,69 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Portlet 101</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Database_Alternatives"></a><h2>Database Alternatives</h2><p>
+ This section of the tutorial covers the different
+ databases that can be used.
+ </p><p>
+ In the tutorial we have been using Derby from Apache
+ which is easy to set up. You may want to use another
+ database or need to follow a corporate standard.
+ Jetspeed can accomodate a wide range of relational
+ databases including:
+ </p><ul>
+ <li>
+ <a href="www.mysql.com">MySQL</a>
+ </li>
+ <li>
+ <a href="www.oracle.com">Oracle</a>
+ </li>
+ <li>
+ <a href="http://hsqldb.org/" class="externalLink" title="External Link">
+ HSQLDB- Hypersonic Database
+ </a>
+ </li>
+ <li>
+ and
+ <a href="http://portals.apache.org/jetspeed-2/getting-started.html" class="externalLink" title="External Link">
+ others
+ </a>
+ </li>
+ </ul></div><div class="section"><a name="MySQL"></a><h2>MySQL</h2><p>
+ This section of the tutorial discusses how to change the
+ portal that was created in the tutorial so that it uses
+ the MySQL database.
+ </p></div><div class="section"><a name="Oracle"></a><h2>Oracle</h2><p>
+ This section of the tutorial discusses how to change the
+ portal that was created in the tutorial so that it uses
+ the MySQL database.
+ </p></div><div class="section"><a name="HSQLDB"></a><h2>HSQLDB</h2><p>
+ This section of the tutorial discusses how to change the
+ portal that was created in the tutorial so that it uses
+ the MySQL database.
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/06/databases.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/06/documentation.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/06/documentation.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/06/documentation.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/06/documentation.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Portlet 101</title><style type="text/css" media="all">
+ @import url("../../../style/maven-base.css");
+
+ @import url("../../../style/maven-j2.css");@import url("../../../style/project.css");</style><link rel="stylesheet" href="../../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 23 April 2009
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="../../../usersguide/index.html">Users Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../adminguide/index.html">Admin Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../deployguide/index.html">Deployers Guide</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="../../../devguide/index.html">Developers Guide</a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="../../../index.html">Welcome</a></li><li class="none"><a href="../../../features.html">Features</a></li><li class="none"><a href="../../../getting-started.html">Getting Started</a></li><li class="none"><a href="../../../demo.html">Jetspeed Online Demos</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="../../../download.html">Download</a></li><li class="none"><a href="../../../getting-started-installer.html">Installer Instructions</a></li><li class="none"><a href="../../../release-notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation_Guides"><h5>Documentation Guides</h5><ul><li class="none"><a href="../../../usersguide/index.html">Users Guide</a></li><li class="none"><a href="../../../adminguide/index.html">Administrators Guide</a></li>
<li class="none"><a href="../../../deployguide/index.html">Deployment Guide</a></li><li class="none"><a href="../../../devguide/index.html">Developers Guide</a></li><li class="none"><a href="../../../guide-migration.html">Migration Guide</a></li></ul></div><div id="menuAPIs"><h5>APIs</h5><ul><li class="none"><a href="../../../multiproject/jetspeed-api/apidocs/index.html">Jetspeed-2 Java API</a></li><li class="none"><a href="../../../devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a></li><li class="none"><a href="../../../devguide/j2-maven-plugin.html">Jetspeed-2 Maven-2 Plugin</a></li></ul></div><div id="menuTutorials"><h5>Tutorials</h5><ul><li class="none"><a href="../../../tutorials/maven-2/index.html">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="../../../tutorials/ant/index.html">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven1.html">Maven-
1 Custom Build</a></li><li class="none"><a href="../../../tutorials/stepbystep/guide-building-custom-portal-maven2.html">Maven-2 Custom Build</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="../../../j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="../../../j1-migration.html">Jetspeed-1 Migration Guideline</a></li><li class="none"><a href="../../../supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="../../../who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="../../../portlets-community.html">Portlets Community</a></li><li class="none"><a href="../../../how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="../../../mail-lists.html">Mailing List</a></li><li class="none"><a href="../../../issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" c
lass="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="../../../faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="../../../index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="../../../project-info.html">Project Info</a></li><li class="collapsed"><a href="../../../maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../../images/logos/maven-button-1.png"></img></a></div></div>
<div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Documentation"></a><h2>Documentation</h2><p>
+ Jetspeed includes
+ <a href="http://portals.apache.org/jetspeed-2/" class="externalLink" title="External Link">
+ documentation
+ </a>
+ on the general operation of Jetspeed as well as
+ <a href="http://portals.apache.org/jetspeed-2/guides/index.html" class="externalLink" title="External Link">
+ guides or HOW-TOs on various topics.
+ </a>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2009, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/tutorials/ant/06/documentation.html
------------------------------------------------------------------------------
svn:executable = *