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 [36/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/02/customizing-overview.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/02/customizing-overview.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/02/customizing-overview.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/02/customizing-overview.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,76 @@
+<!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 - Customization</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="Decorator_and_Theme_Customization"></a><h2>Decorator and Theme Customization</h2><p>
+ Now that we have created our custom Jetspeed project,
+ lets start customizing the portal design. The portal
+ design, or skins, are known in Jetspeed as
+ <i>decorators and themes</i>
+ . With decorators and themes, you can customize the
+ portal experience to the branding of your organization.
+ In this tutorial, we will simply change a few images,
+ CSS styles and colors to get you on your way.
+ </p><p>
+ It is important to note that all of the changes made in
+ this section are made in the build environment. The
+ changes we are making here could just as easily be made
+ using the portal's live customization features. For
+ example, you can drop a decorator or theme into the
+ portal while its running. Jetspeed will pick it up
+ automatically. Or, to customize a page, you can use the
+ portlet customizer or desktop customizer, portlet
+ selector, and site manager: all administrative portlets
+ that work on your live portal. However, the point of
+ configuring everything in a Maven build is to be able to
+ easily reproduce portal environments for development,
+ testing, and new deployments.
+ </p><p>
+ This section of the tutorial covers customizing:
+ <ul>
+ <li>
+ Portal Skins (or Decorators). We replace the
+ default logo, colors, and page header and
+ footers with our own.
+ </li>
+ <li>
+ Portal Themes. Same as Portal Skins, but themes
+ apply to the Jetspeed Desktop.
+ </li>
+ <li>
+ Configuring the default portal page to use these
+ new decorators and themes
+ </li>
+ </ul>
+ </p><p>
+ Lets get started with customization of the default
+ portal page decoration
+ </p><p>
+ <a href="../01/run-it.html">Previous</a>
+ <a href="page-decoration.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/02/customizing-overview.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/02/default-page.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/02/default-page.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/02/default-page.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/02/default-page.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,80 @@
+<!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 - Default Page</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="Modifying_the_Default_Page"></a><h2>Modifying the Default Page</h2><p>
+ Now that we have created our decorators and themes, lets
+ put them to use on the default page. Lets get started
+ with customization of the default portal page
+ decoration. Copy in our sample default-page:
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress
+cp ../../resources/pages/default-page.psml portal/src/webapp/WEB-INF/pages/
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+copy ..\..\resources\pages\default-page.psml portal\src\webapp\WEB-INF\pages
+
+ </pre></div>
+ <p>
+ Refresh your Eclipse project and edit the
+ default-page.psml. Make the following modifications
+ <ul>
+ <li>
+ for the layout-decorator, replace tigris with
+ <b>express-page</b>
+ </li>
+ <li>
+ for the portlet-decorator, replace tigris with
+ <b>express-portlet</b>
+ </li>
+ <li>
+ add a skin default attribute as
+ <b>skin="express"</b>
+ for the desktop theme
+ </li>
+ </ul>
+ </p>
+ <div class="source"><pre>
+
+<page>
+ <defaults layout-decorator="express-page"
+ portlet-decorator="express-portlet"
+ skin="express"/>
+
+ </pre></div>
+ <p>
+ Go ahead and save that file. We are now ready to deploy
+ your changes to the portal
+ </p><p>
+ <a href="desktop-theme.html">Previous</a>
+ <a href="deploy-custom.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/02/default-page.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/02/deploy-custom.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/02/deploy-custom.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/02/deploy-custom.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/02/deploy-custom.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,73 @@
+<!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 - Deploying Decorations, Themes and Pages</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="Deploying_Decorations__Themes_and_Pages"></a><h2>Deploying Decorations, Themes and Pages</h2><p>
+ To deploy the new resources (decorations, themes, and
+ page) that we created in this section of the tutorial,
+ you could simply rebuild the portal by typing
+ <b>mvn -P tomcat,min</b>
+ . Or, if your portal is aleady up and running, a simpler
+ way is to automate the easy deployment tasks with Ant.
+ We have created a simple build.xml to copy over changed
+ portal resources:
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress
+cp ../../resources/build.xml .
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+copy ..\..\resources\build.xml
+
+ </pre></div>
+ <p>
+ To copy over the resources to the running portal, type:
+ </p>
+ <div class="source"><pre>
+
+ant
+
+ </pre></div>
+ <p>
+ Refresh the portal home page,
+ <a href="http://localhost:8080/jetexpress/portal" class="externalLink" title="External Link">
+ http://localhost:8080/jetexpress/portal
+ </a>
+ You should now see a portal with our new custom
+ decorators:
+ </p><p>
+ <img src="../images/jetexpress-portal.png" alt=""></img>
+ </p><p>and desktop theme:</p><p>
+ <img src="../images/jetexpress-desktop.png" alt=""></img>
+ </p><p>
+ <a href="default-page.html">Previous</a>
+ <a href="../03/portlet-app.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/02/deploy-custom.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/02/desktop-theme.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/02/desktop-theme.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/02/desktop-theme.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/02/desktop-theme.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,155 @@
+<!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 - Page Themes</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="Desktop_Page_Themes"></a><h2>Desktop Page Themes</h2><p>
+ The Jetspeed Desktop has its own kinds of decorations.
+ These decorations are called
+ <b>Desktop Themes</b>
+
+ Each Jetspeed Desktop page can be associated with a
+ different theme. Themes control some important aspect of
+ a desktop page:
+ <ul>
+ <li>
+ The colors, images, CSS styles that skin this
+ page
+ </li>
+ <li>The header portion of the page</li>
+ <li>The page margins</li>
+ <li>The footer portion of the page</li>
+ <li>Menus displayed on the page</li>
+ <li>Action buttons displayed on the window</li>
+ </ul>
+ Themes do not control the placement of portlets. That is
+ handled by the Jetspeed Desktop engine, which follows
+ the layout plan provided by the stuctured page markup
+ (PSML). This is the same layout instructions applied to
+ a portal page. You will see that themes are much simpler
+ content than decorators. That is because most of the
+ content in a theme is populated by the Jetspeed Desktop
+ engine at runtime. Jetspeed comes with a few desktop
+ themes out of the box. The default desktop theme for
+ most pages is called
+ <i>blue</i>
+ . It looks like this:
+ </p><img src="../images/theme.png" alt=""></img><p>
+ We are going to create a new desktop theme for this
+ tutorial. This new theme can be copied into our project
+ from the
+ <i>/JetspeedTutorial/resources/themes/express/</i>
+ directory. This will save you the trouble of creating
+ all the logo images and CSS definitions.
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress
+mkdir portal/src/webapp/desktop-themes/express
+cp -r ../../resources/desktop-themes/express/* portal/src/webapp/desktop-themes/express/
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+mkdir portal\src\webapp\desktop-themes\express
+xcopy /s ..\..\resources\desktop-themes\express\* portal\src\webapp\desktop-themes\express\
+
+ </pre></div>
+ <div class="subsection"><a name="The_Theme_template"></a><h3>The Theme template</h3><p>
+ Have a look at the
+ <i>express</i>
+ theme directory. Notice that there are two theme
+ files:
+ <i>express.jsp</i>
+ and
+ <i>express.vm</i>
+ Since there were so many complaints about no JSP
+ support in templates, with the Desktop we decided to
+ require support for both. The
+ <i>theme.properties</i>
+ determines which templates is active. Lets look at
+ the Velocity template. We have macros to
+ display-theme relative resources:
+ </p>
+ <div class="source"><pre>
+
+ <img src="$jetspeedDesktop.getDesktopThemeResourceUrl('images/logo.gif')" alt="Logo" border="0"/>
+
+ </pre></div>
+ </div><div class="subsection"><a name="Theme_Variables"></a><h3>Theme Variables</h3><p>
+ JSP and Velocity make several variables about the
+ context of a theme available for dynamic substition
+ of menus and content:
+ </p><table class="bodyTable"><tr class="a"><th>Variable</th><th>Desc</th><th>Usage</th></tr><tr class="b"><td>$jetspeedDesktop</td><td>
+ Retrieve theme resources, and the name of
+ the theme
+ </td><td>${jetspeedDesktop.getDesktopTheme()</td></tr></table></div><div class="subsection"><a name="Content_Divs"></a><h3>Content Divs</h3><p>
+ The remainder of the page is HTML DIV markup with
+ special widget types and identifiers. The desktop
+ will populate these Divs with various content such
+ as the portlets and menus.
+ <i>Jetspeed Menus</i>
+ are build from a collection of portal resources
+ known as the
+ <i>Portal Site</i>
+ . The portal site is a content tree (like a file
+ system) of portal resources. The site can be stored
+ in the file system or in a database. Resources can
+ be a page, folder, or link. Lets look at some of the
+ available macros for displaying menus on your page.
+ </p><p>
+ <table class="bodyTable"><tr class="a"><th>Widget</th><th>Type</th><th>Desc</th></tr><tr class="b"><td>jetspeed-menu-pages</td><td>jetspeed:PortalTabContainer</td><td>
+ relative pages menu of pages in the
+ current folder. Used to define the page
+ tabs above the portal.
+ </td></tr><tr class="a"><td>jetspeed-menu-breadcrumbs</td><td>jetspeed:PortalBreadcrumbContainer</td><td>
+ paths to page used to provide history
+ links below the page tabs
+ </td></tr><tr class="b"><td>jetspeed-menu-navigations</td><td>jetspeed:PortalAccordionContainer</td><td>
+ relative subfolders and root level links
+ menu used to define the navigation pane
+ beside the portal.
+ </td></tr></table>
+ You can also define your own menus (not covered in
+ this tutorial).
+ </p><p>
+ Finally, the Div to hold the portlet content must be
+ defined. It is just a plain HTML DIV:
+
+ <div class="source"><pre>
+
+<div class="layout-${jetspeedDesktop.getDesktopTheme()}" id="jetspeedDesktop"></div>
+
+ </pre></div>
+
+ Notice that while decorators require two templates,
+ desktops only require one template. This makes for a
+ much simpler page.
+ </p></div><p>
+ <a href="portlet-decoration.html">Previous</a>
+ <a href="default-page.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/02/desktop-theme.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/02/page-decoration.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/02/page-decoration.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/02/page-decoration.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/02/page-decoration.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,197 @@
+<!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 - Page Decorators</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="Page_Decorators"></a><h2>Page Decorators</h2><p>
+ Each Jetspeed page can be associated with a different
+ page decoration. Page decorations control some important
+ aspect of a portal page:
+ <ul>
+ <li>
+ The colors, images, CSS styles that skin this
+ page
+ </li>
+ <li>The header portion of the page</li>
+ <li>The page margins</li>
+ <li>The footer portion of the page</li>
+ <li>Menus displayed on the page</li>
+ <li>Action buttons displayed on the window</li>
+ </ul>
+ Decorators do not control the placement of portlets.
+ That is handled by layouts. Jetspeed comes with several
+ page decorations out of the box. The default page
+ decorator for most pages is called
+ <i>tigris</i>
+ . It looks like this:
+ </p><img src="../images/tigris-page.png" alt=""></img><p>
+ We are going to create a new decorator for this
+ tutorial. This new decorator can be copied into our
+ project from the
+ <i>
+ /JetspeedTutorial/resources/decorations/layout/express-page/
+ </i>
+ directory. This will save you the trouble of creating
+ all the logo images and CSS definitions.
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress
+mkdir portal/src/webapp/decorations/layout/express-page
+cp -r ../../resources/decorations/layout/express-page/* portal/src/webapp/decorations/layout/express-page/
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+mkdir portal\src\webapp\decorations\layout\express-page
+xcopy /s ..\..\resources\decorations\layout\express-page\* portal\src\webapp\decorations\layout\express-page
+
+ </pre></div>
+ <div class="subsection"><a name="The_Header"></a><h3>The Header</h3><p>
+ Open up the
+ <i>decorations/layout/express-page/header.vm</i>
+ This is a Velocity template, very much like JSP but
+ simpler, with no Java compilation required. Jetspeed
+ does support JSP-based decorators. However no one
+ has contributed one yet. We could spend a lot of
+ time teaching you about all the macros available.
+ But lets just concentrate on changing the logos
+ first. Scroll down to the banner content. Here we
+ add our new left-hand side logo:
+ </p>
+ <div class="source"><pre>
+
+#GetPageResource('images/blueSunrisePicture.gif')
+
+ </pre></div>
+ <p>
+ We've added a few more custom images, one in the
+ center area of the banner:
+ </p>
+ <div class="source"><pre>
+
+<img src="#GetPageResource('images/BlueSunriseTextTahoma.gif')" height="29" width="165">
+
+ </pre></div>
+ <p>and one more in the right area of the banner:</p>
+ <div class="source"><pre>
+
+<img src="#GetPageResource('images/RisingEdgeSlogan.gif')" height="28" width="300">
+
+ </pre></div>
+ <p>
+ <i>#GetPageResource</i>
+ is a Velocity macro. It retrieves a resource (image,
+ CSS, HTML) from the decoration folder, relative to
+ the root of the express-page decoration folder.
+ Besides the images, the header.vm is pretty much the
+ same as Tigris. In fact we simply cut and paste the
+ Tigris decorator to get us started. This gives you a
+ good start of customizing the page.
+ </p></div><div class="subsection"><a name="Velocity_Variables"></a><h3>Velocity Variables</h3><p>
+ Velocity makes several variables about the context
+ of a decoration available for dynamic substition of
+ menus and content:
+ </p><table class="bodyTable"><tr class="a"><th>Variable</th><th>Desc</th><th>Usage</th></tr><tr class="b"><td>$layoutDecoration</td><td>
+ Retrieve layout content from the decoration
+ dir
+ </td><td>
+ $layoutDecoration.getResource("decorator-macros.vm")
+ </td></tr><tr class="a"><td>$site</td><td>Retrieve menus by name</td><td>$site.getMenu("pages")</td></tr></table></div><div class="subsection"><a name="Menus"></a><h3>Menus</h3><p>
+ The remainder of the page is HTML markup mixed in
+ with some important macros for displaying Jetspeed
+ Menus.
+ <i>Jetspeed Menus</i>
+ are build from a collection of portal resources
+ known as the
+ <i>Portal Site</i>
+ . The portal site is a content tree (like a file
+ system) of portal resources. The site can be stored
+ in the file system or in a database. Resources can
+ be a page, folder, or link. Lets look at some of the
+ available macros for displaying menus on your page.
+ </p><p>
+ The $site always has the following menus available
+ to you at any time:
+ <table class="bodyTable"><tr class="b"><th>Menu</th><th>Desc</th></tr><tr class="a"><td>pages</td><td>
+ relative pages menu of pages in the
+ current folder. Used to define the page
+ tabs above the portal.
+ </td></tr><tr class="b"><td>breadcrumbs</td><td>
+ paths to page used to provide history
+ links below the page tabs
+ </td></tr><tr class="a"><td>navigations</td><td>
+ relative subfolders and root level links
+ menu used to define the navigation pane
+ beside the portal.
+ </td></tr><tr class="b"><td>back</td><td>
+ parent folder menu used to define the
+ single "back" link above the portal page
+ tabs.
+ </td></tr></table>
+ You can also define your own menus (not covered in
+ this tutorial).
+ </p><p>
+ There are some helper macros for creating different
+ styles of menus. The macros are defined in the
+ decorator-macros.vm file:
+ <table class="bodyTable"><tr class="a"><th>Macro</th><th>Decription</th></tr><tr class="b"><td>
+ #includeTabsNavigation($someMenu
+ $LEFT_TO_RIGHT)
+ </td><td>
+ Displays a menu in a vertical tabbed
+ navigation style.
+ </td></tr><tr class="a"><td>
+ #includeLinksNavigation($breadCrumb
+ $LEFT_TO_RIGHT "" $BREADCRUMBS_STYLE "")
+ </td><td>
+ Displays a menu of links according to a
+ given style.
+ </td></tr><tr class="b"><td>
+ #includeNestedLinksWithIconNavigation($standardNavs
+ $TOP_TO_BOTTOM)
+ </td><td>
+ Displays a nested top-to-bottom menu
+ navigation of folders, links, and pages.
+ </td></tr><tr class="a"><td>#PageActionBar()</td><td>
+ Not a menu, but the available actions
+ (edit, view, help, print...) for this
+ page
+ </td></tr></table>
+ </p></div><div class="subsection"><a name="The_Footer"></a><h3>The Footer</h3><p>
+ Open up the
+ <i>decorations/layout/express-page/footer.vm</i>
+ </p>
+ <div class="source"><pre>
+
+<img src="#GetPageResource('images/jetspeed-powered.gif')" alt="Jetspeed 2 Powered" border="0" />
+
+ </pre></div>
+ </div><p>
+ <a href="customizing-overview.html">Previous</a>
+ <a href="portlet-decoration.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/02/page-decoration.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/02/portlet-decoration.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/02/portlet-decoration.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/02/portlet-decoration.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/02/portlet-decoration.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,84 @@
+<!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 Decorators</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_Decorators"></a><h2>Portlet Decorators</h2><p>
+ Each Jetspeed portlet window on a page can be associated
+ with a different portlet decoration. Portlet decorations
+ control some important aspect of a portlet window:
+ <ul>
+ <li>
+ The colors, images, CSS styles that skin this
+ window
+ </li>
+ <li>The title portion of the portlet</li>
+ <li>The borders of the window</li>
+ <li>Action buttons displayed on the window</li>
+ </ul>
+ Jetspeed comes with several portlet decorations out of
+ the box. The default page decorator for most pages is
+ called
+ <i>tigris</i>
+ . It looks like this:
+ </p><img src="../images/tigris-portlet.png" alt=""></img><p>
+ We are going to create a new decorator for this
+ tutorial. This new decorator can be copied into our
+ project from the
+ <i>
+ /JetspeedTutorial/resources/decorations/portlet/express-portlet/
+ </i>
+ directory. This will save you the trouble of creating
+ all the logo images and CSS definitions.
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress
+mkdir portal/src/webapp/decorations/portlet/express-portlet
+cp -r ../../resources/decorations/portlet/express-portlet/* portal/src/webapp/decorations/portlet/express-portlet/
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress
+mkdir portal\src\webapp\decorations\portlet\express-portlet
+xcopy /s ..\..\resources\decorations\portlet\express-portlet\* portal\src\webapp\decorations\portlet\express-portlet
+
+ </pre></div>
+ <p>
+ We are going to skip over the intricate details of
+ portlet decorators, as page decorators are much more
+ important, as they set your organization's branding.
+ Whereas the standard window decorators are good enough
+ for getting you started. Go ahead and review the content
+ of our custom portlet decorator. You will see that the
+ directory layout is the same as for page decorators. The
+ decorator simply creates a new color variation on an
+ existing window decorator.
+ </p><p>
+ <a href="page-decoration.html">Previous</a>
+ <a href="desktop-theme.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/02/portlet-decoration.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/03/build-it.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/03/build-it.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/03/build-it.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/03/build-it.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,78 @@
+<!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 - Building and Deploying</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="Building_and_Deploying_the_Portlet_Application"></a><h2>Building and Deploying the Portlet Application</h2><p>
+ Now that you have generated a portlet app named
+ <b>express-demo</b>
+ , we are ready to build the portal. We are going to
+ build the portal from the command line:
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress/applications/express-demo
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress\applications\express-demo
+
+mvn
+
+ </pre></div>
+ <p>
+ This builds a portlet application war file name
+ <i>express-demo-1.0.war</i>
+ . This war file is found under
+ <i>target</i>
+ directory. It is a standard JSR-168 portlet application
+ distribution.
+ </p><p>
+ Now that we've built and deployed the portal, lets start
+ up the application server (if its not already started).
+ While the app server is running, we can drop in the
+ portlet application.
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress/applications/express-demo
+cp target/express-demo-1.0.war /JetspeedTraining/tomcat-express/webapps/express-demo.war
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress\applications\express-demo
+copy target\express-demo-1.0.war \JetspeedTraining\tomcat-express\webapps\express-demo.war
+
+
+ </pre></div>
+ <p>
+ This will deploy your portlet application. Next, lets
+ see how to add your new portlets to a page.
+ </p><p>
+ <a href="portlet-app.html">Previous</a>
+ <a href="pages.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/03/build-it.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/03/pages.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/03/pages.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/03/pages.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/03/pages.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,81 @@
+<!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 - Configuring Portal Pages</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="Configuring_Portal_Pages"></a><h2>Configuring Portal Pages</h2><p>
+ Now that you have generated a portlet app named
+ <b>express-demo</b>
+ , we are ready to integrate the new portlets into our
+ system. This is done by adding the portlets to the
+ portal pages. These pages are also known as PSML files.
+ Your pages makeup the navigational site of your system.
+ The new pages we are going to add will have references
+ to the new portlets added in the express-demo portlet
+ applications. Of course users can use the Portlet
+ Selector and Jetspeed Customizer to select portlets
+ interactively. Here we are setting up the collection of
+ pages that will always be a part of your portal. The
+ file-system tree-like collection of pages is known as
+ your
+ <b>portal site</b>
+ </p><p>
+ We provide a quick Ant task to copy in the new,
+ preconfigured pages:
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress/
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress\
+
+ant copy-page-resources
+
+ </pre></div>
+ <p>
+ Open up some of the pages found under
+ <i>portal/src/webapp/WEB-INF/pages/</i>
+ . You will see that we've added a new
+ <i>Contact Us</i>
+ page, and added the some new demo portlets the the
+ default page. We have also changed the default themes
+ and decorators for all administrative pages.
+ </p><p>Go ahead and deploy those changes:</p>
+ <div class="source"><pre>
+
+ant
+
+ </pre></div>
+ <p>
+ This will deploy your new pages. Refresh the portal home
+ page to see the new portlets:
+ </p><img src="../images/new-home.png" alt=""></img><p>Likewise for the desktop:</p><img src="../images/new-home2.png" alt=""></img><p>
+ <a href="portlet-app.html">Previous</a>
+ <a href="../04/overview.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/03/pages.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/tutorials/ant/03/portlet-app.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/tutorials/ant/03/portlet-app.html?rev=1422709&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/tutorials/ant/03/portlet-app.html (added)
+++ portals/site-live/jetspeed-2.1.3/tutorials/ant/03/portlet-app.html Sun Dec 16 22:54:22 2012
@@ -0,0 +1,104 @@
+<!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 - Generating a Portlet Application</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="Generating_a_Portlet_Application"></a><h2>Generating a Portlet Application</h2><p>
+ Portlet applications should be stored in a separate
+ sub-project of your main portal project. Our custom
+ build is setup to put one or more portlet application
+ projects under the
+ <i>applications</i>
+ directory. For this tutorial, we will create one portlet
+ application. The portlet application will be
+ automatically built and deployed when you run
+ <b>maven -P tomcat,min</b>
+ .
+ </p><p>
+ To create a new portal application named
+ <b>express-demo</b>
+ , enter the following commands:
+ </p>
+ <div class="source"><pre>
+
+# Linux
+cd /JetspeedTraining/workspace/jetexpress/applications
+
+# Windows
+cd \JetspeedTraining\workspace\jetexpress\applications
+
+mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2
+ -DarchetypeArtifactId=application-archetype
+ -DarchetypeVersion=2.1
+ -DgroupId=org.apache.portals.tutorials
+ -DartifactId=express-demo
+ -Dversion=1.0
+
+ </pre></div>
+ <p>
+ <b>Paste into Command Line:</b>
+ <input id="genapp" size="80" value="mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 -DarchetypeArtifactId=application-archetype -DarchetypeVersion=2.1 -DgroupId=org.apache.portals.tutorials -DartifactId=express-demo -Dversion=1.0"></input>
+ </p><p>
+ A directory named
+ <b>express-demo</b>
+ under
+ <i>/JetspeedTraining/workspace/applications</i>
+ should have been created. Notice that
+ <b>express-demo</b>
+ will be the name of your portlet application.
+ </p><p>
+ Lets have a closer look at what was created. There is a
+ <b>src</b>
+ directory, and underneath it three subdirectories
+ <b>java, test, webapp</b>
+ . Under the
+ <b>java</b>
+ directory, there is one sample portlet. Under the
+ <b>test</b>
+ directory, you will find one unit test. Under the
+ <b>webapp</b>
+ directory, you will find a number of files that are the
+ basic template for any useful portlet application:
+ </p><img src="../images/src-dir.png" alt=""></img><p>
+ Here you will find the portlet and servlet deployment
+ descriptors:
+ <b>portlet.xml</b>
+ and
+ <b>web.xml</b>
+ . Review the files in this directory. We are going to
+ copy over some more sample portlets for the tutorial.
+ Lets let an ant task to do the work for us:
+ </p>
+ <div class="source"><pre>
+
+ ant copy-portlet-resources
+
+ </pre></div>
+ <p>
+ <a href="../02/deploy-custom.html">Previous</a>
+ <a href="build-it.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/03/portlet-app.html
------------------------------------------------------------------------------
svn:executable = *