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 19:22:26 UTC
svn commit: r1422656 [16/19] - in /portals/site-live/jetspeed-1: ./ apidocs/
channels/ images/ plugin/ skins/ style/ stylesheets/ tutorial/ xref-test/
xref/
Added: portals/site-live/jetspeed-1/portlet_config_RSS.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-1/portlet_config_RSS.html?rev=1422656&view=auto
==============================================================================
--- portals/site-live/jetspeed-1/portlet_config_RSS.html (added)
+++ portals/site-live/jetspeed-1/portlet_config_RSS.html Sun Dec 16 18:22:20 2012
@@ -0,0 +1,109 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed - Portlet Configuration How To</title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-theme.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-1/" id="projectLogo"><img alt="Jetspeed 1 Enterprise Portal" src="./images/logo.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xright"></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">Overview</a></li><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="license.html">License</a></li><li class="none"><a href="install
.html">Installation</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="usejetspeed.html">Sample Sites</a></li><li class="none"><a href="resources.html">Resources</a></li><li class="none"><a href="todo.html">Todo</a></li><li class="none"><a href="changes.html">Changes</a></li></ul></div><div id="menuDownload"><h5>Download</h5><ul><li class="none"><a href="http://jakarta.apache.org/site/binindex.html" class="externalLink" title="External Link">Binaries</a></li><li class="none"><a href="http://jakarta.apache.org/site/sourceindex.html" class="externalLink" title="External Link">Source Code</a></li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="community-portlets.html">Community Portlets</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="config_guide.html">Configuration Guide</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-
1/apidocs/index.html" class="externalLink" title="External Link">Javadocs</a></li><li class="none"><a href="application-development.html">Development</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/tutorial/" class="externalLink" title="External Link">Jetspeed Tutorial</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/plugin/" class="externalLink" title="External Link">Jetspeed Plugin</a></li><li class="none"><a href="catalog.html">Portlet Catalog</a></li></ul></div><div id="menuComponents"><h5>Components</h5><ul><li class="none"><a href="fusion.html">JSR-168 Portlets</a></li><li class="none"><a href="registry.html">Registry</a></li><li class="none"><a href="security.html">Security</a></li><li class="none"><a href="viewprocessors.html">View Processors</a></li><li class="none"><a href="content-syndication.html">Syndication</a></li><li class="none"><a href="wap.html">WAP</a></li><li class="none"><a href="customizer.html">Customizatio
n</a></li><li class="none"><a href="diskcache.html">Cache</a></li><li class="none"><a href="psml.html">PSML</a></li><li class="none"><a href="forwards.html">Forwards</a></li><li class="none"><a href="database.html">Database</a></li><li class="none"><a href="cma.html">Container Authentication</a></li><li class="none"><a href="messaging.html">Jetspeed Cluster (JMS)</a></li></ul></div><div id="menuTranslated"><h5>Translated</h5><ul><li class="none"><a href="http://jakarta.terra-intl.com/jetspeed/" class="externalLink" title="External Link">Japanese (Web)</a></li></ul></div><div id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a href="contributors.html">Contributors</a></li><li class="none"><a href="http://jakarta.apache.org/site/cvsindex.html" class="externalLink" title="External Link">CVS Repository</a></li><li class="none"><a href="http://cvs.apache.org/viewcvs/jakarta-jetspeed/" class="externalLink" title="External Link">View CVS</a></li><li class="none"><a h
ref="branches.html">CVS Branches</a></li><li class="none"><a href="code-standards.html">Coding Spec</a></li><li class="none"><a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10493" class="externalLink" title="External Link">Bug Database</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 1 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"><p>
+ <font face="arial,helvetica,sanserif" size="+3">
+ <center><strong>RSS</strong></center>
+ </font>
+ <br></br>
+ <font face="arial,helvetica,sanserif">
+ <center><strong>Class Name : org.apache.jetspeed.portal.portlets.NewRSSPortlet</strong></center>
+ </font>
+ <br></br>
+ </p></div><div class="section"><a name="Description"></a><h2>Description</h2><p>
+ Present a RSS new feed in a portlet.
+ </p><p>
+ Rich Site Summary (RSS) is an XML-based format developed by Netscape to drive
+ channels for Netscape Netcenter. The goal of RSS is to propagate change on a
+ site, including your Jetspeed site, to increase traffic. Using an RSS file, all
+ you need to do is change one file, and all the external sites your channels are
+ registered with will automatically reflect those changes.
+ </p><p>
+ The formatting of the RSS into a portlet is controlled by the stylesheet. If formatting
+ changes are desired, create a new stylesheet and do not edit the one distributed
+ with Jetspeed. This will insure your changes are preserved across updates.
+ </p><p>
+ General information on RSS can be found in the
+ <a href="http://www.dmoz.org/Reference/Libraries/Library_and_Information_Science/Technical_Services/Cataloguing/Metadata/Resource_Description_Framework_-_RDF/Applications/RSS/" class="externalLink" title="External Link">Open Directory</a>.
+ </p><p>
+ RSS format information can be found in the
+ <a href="http://my.netscape.com/publish/formats/rss-spec-0.91.html" class="externalLink" title="External Link">http://my.netscape.com/publish/formats/rss-spec-0.91.html</a>.
+ </p><div class="subsection"><a name="Supported_Media_Types"></a><h3>Supported Media Types</h3><p>
+ <a href="portlet_config_common.html#Supported Media Types">
+ Description of Media Types.
+ </a>
+ <ul>
+ <li>html</li>
+ <li>wml</li>
+ </ul>
+ </p></div></div><div class="section"><a name="Element:_meta-info"></a><h2>Element: meta-info</h2><p>
+ Portlet title and description. By default the title is the name of the portlet and there is no description.
+ </p><p>
+ This element is optional, but it's use is suggested.
+ </p><p>
+ <a href="portlet_config_common.html#Element: meta-info">General information about of meta-info.</a>
+ </p></div><div class="section"><a name="Element:_parameter"></a><h2>Element: parameter</h2><p>
+ Parameter that control the how the web page is converted into a portlet.
+ </p><p>
+ These elements are optional.
+ </p><p>
+ <a href="portlet_config_common.html#Element: parameter">Parameters common to many portlets.</a>
+ </p><table class="bodyTable"><tr class="b"><th>Parameter Name</th><th>Description</th></tr><tr class="a"><td>itemdisplayed</td><td>
+ The number of items from the RSS file to display on screen.
+ <br></br>
+ If not present, Default 15 for HTML, 5 for WML
+ </td></tr><tr class="b"><td>openinpopup</td><td>
+ Should links be opened in a new browser window?
+ <p>This parameter was added in version 1.3a3.</p>
+ If not present, Default: false
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>true</td><td>Links will be opened in a new browser window</td></tr><tr class="a"><td>false</td><td>Links will be opened in the current browser window</td></tr></table>
+ </td></tr><tr class="b"><td>showdescription</td><td>
+ Should the portlet show the item descriptions and icons?
+ <br></br>
+ If not present, Default: true for HTML, false for WML
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>true</td><td>Item Description is displayed</td></tr><tr class="a"><td>false</td><td>Item Description is NOT displayed</td></tr></table>
+ </td></tr><tr class="b"><td>showtitle</td><td>
+ Should the portlet show the channel description and icon.
+ <br></br>
+ If not present, Default: true for HTML, false for WML
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>true</td><td>Channel Description is displayed</td></tr><tr class="a"><td>false</td><td>Channel Description is NOT displayed</td></tr></table>
+ </td></tr><tr class="b"><td>showtextinput</td><td>
+ Should the portlet show the text input.
+ <br></br>
+ If not present, Default: true for HTML, false for WML
+ <br></br>
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>true</td><td>Text Input is displayed, when present.</td></tr><tr class="a"><td>false</td><td>Text Input is NOT displayed</td></tr></table>
+ </td></tr><tr class="b"><td>stylesheet[.<mime type>]</td><td>
+ The stylesheet URL. If a mime-type is specified, the stylesheet
+ is only used for this mime-type
+ <br></br>
+ File name, including path relative to <jetspeed_home>
+ </td></tr></table></div><div class="section"><a name="Element:_url"></a><h2>Element: url</h2><p>
+ Contains the URL of the RSS news feed. The returned page should be a RSS formatted XML file.
+ </p><p>
+ This element is <strong>required</strong>.
+ </p><p>
+ <a href="portlet_config_common.html#Element: url">General information about of URL.</a>
+ </p><p>
+ <strong>Good URLs:</strong>
+ </p><dl>
+ <dt><tt><url>http://jakata.apache.org/jetspeed</url></tt></dt><dd>Basic URL</dd>
+ <dt><tt><url>http://search.yahoo.com/bin/search?p=jetspeed</url></tt></dt><dd>1 Parameter passed</dd>
+ <dt><tt><url>http://search.yahoo.com/search?p=jetspeed&amp;n=100</url></tt></dt><dd>2 Parameter passed</dd>
+ </dl><p><strong>Bad URLs:</strong></p><dl>
+ <dt><tt><url>index.html</url></tt></dt><dd>No protocol, http:// or hostname</dd>
+ <dt><tt><url>http://search.yahoo.com/search?p=jetspeed&n=100</url></tt></dt><dd>Contains & instead of &amp;.</dd>
+ </dl></div><div class="section"><a name="Example_of_Registry_Entry"></a><h2>Example of Registry Entry</h2>
+ <div class="source"><pre>
+<portlet-entry name="Apacheweek" hidden="false" type="ref"
+ parent="RSS" application="false">
+ <meta-info>
+ <title>Apacheweek</title>
+ </meta-info>
+ <url>http://www.apacheweek.com/issues/apacheweek-headlines.xml</url>
+</portlet-entry></pre></div>
+ </div><div class="section"><a name="Know_problems__version_1_3a1_"></a><h2>Know problems (version 1.3a1)</h2><p>
+ <ul>
+ <li><textinput> not correctly implemented. Fixed in 1.3a2</li>
+ </ul>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2000-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-1/portlet_config_RSS.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-1/portlet_config_Velocity.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-1/portlet_config_Velocity.html?rev=1422656&view=auto
==============================================================================
--- portals/site-live/jetspeed-1/portlet_config_Velocity.html (added)
+++ portals/site-live/jetspeed-1/portlet_config_Velocity.html Sun Dec 16 18:22:20 2012
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed - Portlet Configuration How To</title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-theme.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-1/" id="projectLogo"><img alt="Jetspeed 1 Enterprise Portal" src="./images/logo.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xright"></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">Overview</a></li><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="license.html">License</a></li><li class="none"><a href="install
.html">Installation</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="usejetspeed.html">Sample Sites</a></li><li class="none"><a href="resources.html">Resources</a></li><li class="none"><a href="todo.html">Todo</a></li><li class="none"><a href="changes.html">Changes</a></li></ul></div><div id="menuDownload"><h5>Download</h5><ul><li class="none"><a href="http://jakarta.apache.org/site/binindex.html" class="externalLink" title="External Link">Binaries</a></li><li class="none"><a href="http://jakarta.apache.org/site/sourceindex.html" class="externalLink" title="External Link">Source Code</a></li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="community-portlets.html">Community Portlets</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="config_guide.html">Configuration Guide</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-
1/apidocs/index.html" class="externalLink" title="External Link">Javadocs</a></li><li class="none"><a href="application-development.html">Development</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/tutorial/" class="externalLink" title="External Link">Jetspeed Tutorial</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/plugin/" class="externalLink" title="External Link">Jetspeed Plugin</a></li><li class="none"><a href="catalog.html">Portlet Catalog</a></li></ul></div><div id="menuComponents"><h5>Components</h5><ul><li class="none"><a href="fusion.html">JSR-168 Portlets</a></li><li class="none"><a href="registry.html">Registry</a></li><li class="none"><a href="security.html">Security</a></li><li class="none"><a href="viewprocessors.html">View Processors</a></li><li class="none"><a href="content-syndication.html">Syndication</a></li><li class="none"><a href="wap.html">WAP</a></li><li class="none"><a href="customizer.html">Customizatio
n</a></li><li class="none"><a href="diskcache.html">Cache</a></li><li class="none"><a href="psml.html">PSML</a></li><li class="none"><a href="forwards.html">Forwards</a></li><li class="none"><a href="database.html">Database</a></li><li class="none"><a href="cma.html">Container Authentication</a></li><li class="none"><a href="messaging.html">Jetspeed Cluster (JMS)</a></li></ul></div><div id="menuTranslated"><h5>Translated</h5><ul><li class="none"><a href="http://jakarta.terra-intl.com/jetspeed/" class="externalLink" title="External Link">Japanese (Web)</a></li></ul></div><div id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a href="contributors.html">Contributors</a></li><li class="none"><a href="http://jakarta.apache.org/site/cvsindex.html" class="externalLink" title="External Link">CVS Repository</a></li><li class="none"><a href="http://cvs.apache.org/viewcvs/jakarta-jetspeed/" class="externalLink" title="External Link">View CVS</a></li><li class="none"><a h
ref="branches.html">CVS Branches</a></li><li class="none"><a href="code-standards.html">Coding Spec</a></li><li class="none"><a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10493" class="externalLink" title="External Link">Bug Database</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 1 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"><p>
+ <font face="arial,helvetica,sanserif" size="+3">
+ <center><strong>Velocity</strong></center>
+ </font>
+ <br></br>
+ <font face="arial,helvetica,sanserif">
+ <center>
+ <strong>Class Name : org.apache.jetspeed.portal.portlets.VelocityPortlet</strong>
+ </center>
+ </font>
+ <br></br>
+ </p></div><div class="section"><a name="Description"></a><h2>Description</h2><p>
+ Present content rendered via a Velocity template in a portlet.
+ </p><p>
+ Additional information about Velocity is available at <a href="http://jakarta.apache.org/velocity" class="externalLink" title="External Link">
+ http://jakarta.apache.org/velocity</a>
+ </p></div><div class="section"><a name="Element:_parameter"></a><h2>Element: parameter</h2><p>
+ Only the template parameter is required. If the "action" parameter is defined, the referenced
+ class may require additional parameters.
+ </p><p>
+ <a href="portlet_config_common.html#Element: parameter">Parameters common to many portlets.</a>
+ </p><table class="bodyTable"><tr class="a"><th>Parameter Name</th><th>Description</th></tr><tr class="b"><td colspan="1">action</td><td colspan="1">
+ Name of action class, relative to <tt>org.apache.jetspeed.modules.actions</tt>.
+ The class file is expected in <jetspeed_home>WEB-INF/classes/org/apache/jetspeed/modules/actions.
+ <br></br>
+ This parameter is optional.
+ </td></tr><tr class="a"><td colspan="1">template</td><td colspan="1">
+ Name of VM file.
+ The file is expected in <jetspeed_home>WEB-INF/templates/vm/<em>media_type</em>.
+ </td></tr></table></div><div class="section"><a name="Example_of_Registry_Entry"></a><h2>Example of Registry Entry</h2>
+ <div class="source"><pre>
+<portlet-entry name="PortletCustomizer"
+ hidden="true"
+ type="instance" application="false">
+ <security role="user"/>
+ <meta-info>
+ <title>Customize portlet</title>
+ </meta-info>
+ <classname>org.apache.jetspeed.portal.portlets.VelocityPortlet</classname>
+ <parameter name="template" value="customizer-portlet" hidden="false"/>
+ <parameter name="action" value="portlets.CustomizeAction" hidden="false"/>
+</portlet-entry>
+</pre></div>
+ </div><div class="section"><a name="Context_or_Variables_available_to_a_Velocity_Template"></a><h2>Context or Variables available to a Velocity Template</h2><p>
+ Below is a list variables that can be used in the Velocity template file. Their
+ values are defined by Jetspeed. For a list of properties and methods available, refer
+ to the <em>Classname</em> documentation.
+ </p><table class="bodyTable"><tr class="b"><th>Context</th><th>Classname</th><th>Description</th></tr><tr class="a"><td>action</td><td>String</td><td>Class name to process form</td></tr><tr class="b"><td>conf</td><td>org.apache.jetspeed.portal.PortletConfig</td><td></td></tr><tr class="a"><td>config</td><td>org.apache.jetspeed.services.resources.JetspeedResources</td><td></td></tr><tr class="b"><td>data</td><td>org.apache.jetspeed.services.rundata.JetspeedRunData</td><td></td></tr><tr class="a"><td>jetspeed</td><td>org.apache.jetspeed.util.template.JetspeedTool</td><td></td></tr><tr class="b"><td>jslink</td><td>org.apache.jetspeed.util.template.BaseJetspeedLink</td><td></td></tr><tr class="a"><td>l10n</td><td>org.apache.turbine.services.localization.LocalizationTool</td><td>Language specific text</td></tr><tr class="b"><td>portlet</td><td>org.apache.jetspeed.portal.portlets.AbstractPortlet</td><td>Use portlet_instance whenever possiable</td></tr><tr class="a"><td>portlet
_instance</td><td>org.apache.jetspeed.portal.PortletInstance</td><td></td></tr><tr class="b"><td>skin</td><td>org.apache.jetspeed.portal.PortletSkin</td><td></td></tr><tr class="a"><td>template</td><td>String</td><td>Name of Velocity template</td></tr></table><br></br><div class="subsection"><a name="jslink"></a><h3>jslink</h3><table class="bodyTable"><tr class="b"><th colspan="1">Variable Name</th><th colspan="1">Description</th></tr><tr class="a"><th colspan="2"><center>General URL</center></th></tr><tr class="b"><td colspan="1">$jslink</td><td colspan="1">Link to current page.</td></tr><tr class="a"><td colspan="1">$jslink.HomePage</td><td colspan="1">Link this Jetspeed installation's Home Page.</td></tr><tr class="b"><th colspan="2"><center>Templates in the URL</center></th></tr><tr class="a"><td colspan="1">$jslink.getTemplate</td><td colspan="1">Link to the current page using the current template.</td></tr><tr class="b"><td colspan="1">$jslink.getTemplate( <i>Template
Name</i> )</td><td colspan="1">Link to the current page using a named template.</td></tr><tr class="a"><th colspan="2"><center>Path and Query item on URL</center></th></tr><tr class="b"><td colspan="1">$jslink.addPathInfo( <i>Path Item</i>, <i>Item Value</i> )</td><td colspan="1">Link to the current page with an additional path item.</td></tr><tr class="a"><td colspan="1">$jslink.addQueryInfo( <i>Query Item</i>, <i>Item Value</i> )</td><td colspan="1">Link to the current page with an additional query item.</td></tr><tr class="b"><th colspan="2"><center>Actions items in the URL</center></th></tr><tr class="a"><td colspan="1">$jslink.ActionKey</td><td colspan="1">The name if the action query item.</td></tr><tr class="b"><td colspan="1">$jslink.getAction( <i>Action Name</i> )</td><td colspan="1">Link to current page with an action item.</td></tr><tr class="a"><td colspan="1">$jslink.getAction( <i>Action Name</i>, <i>Portlet ID</i> )</td><td colspan="1">Link to current page with
an action item and a Portlet ID (PEID).</td></tr><tr class="b"><th colspan="2"><center>Group/Role/User/Page element on URL</center></th></tr><tr class="a"><td colspan="1">$jslink.getGroup (<i>Group Name</i> )</td><td colspan="1">Link to the default page in a group.</td></tr><tr class="b"><td colspan="1">$jslink.getGroup( <i>Group Name</i>, <i>Page Name</i> )</td><td colspan="1">Link to the page in a group.</td></tr><tr class="a"><td colspan="1">$jslink.getRole (<i>Role Name</i> )</td><td colspan="1">Link to the default page in a Role.</td></tr><tr class="b"><td colspan="1">$jslink.getRole( <i>Role Name</i>, <i>Page Name</i> )</td><td colspan="1">Link to the page in a Role.</td></tr><tr class="a"><td colspan="1">$jslink.getUser (<i>User Name</i> )</td><td colspan="1">Link to the default page for the User.</td></tr><tr class="b"><td colspan="1">$jslink.getUser( <i>User Name</i>, <i>Page Name</i> )</td><td colspan="1">Link to a page for the User.</td></tr><tr class="a"><td col
span="1">$jslink.Page</td><td colspan="1">Link to the default page for the current user, group, or role.</td></tr><tr class="b"><td colspan="1">$jslink.getPage( <i>Page Name</i> )</td><td colspan="1">Link to page for the current user, group, or role.</td></tr><tr class="a"><th colspan="2"><center>Pane items in the URL</center></th></tr><tr class="b"><td colspan="1">$jslink.getPaneById( <i>Pane ID</i> )</td><td colspan="1">Link to a pane, using it's PEID, in the current page.</td></tr><tr class="a"><td colspan="1">$jslink.getPaneByName( <i>Pane Name</i> )</td><td colspan="1">
+ Link to a pane, using it's name, in the current page. This should
+ be used with caution since the name may not be unique.
+ </td></tr><tr class="b"><td colspan="1">$jslink.getPortletById( <i>Portlet ID</i> )</td><td colspan="1">Link to a portlet, using it's PEID, in the current page.</td></tr><tr class="a"><th colspan="2"><center>Portlet items in the URL</center></th></tr><tr class="b"><td colspan="1">$jslink.getPortletByName( <i>Portlet Name</i> )</td><td colspan="1">
+ Link to a portlet, using it's name, in the current page. This should
+ be used with caution since the name may not be unique.
+ </td></tr><tr class="a"><th colspan="2"><center>Information about the PSML Document</center></th></tr><tr class="b"><td colspan="1">$jslink.Anonymous</td><td colspan="1">true is the user is NOT logged in, otherwise false.</td></tr><tr class="a"><td colspan="1">$jslink.GroupName</td><td colspan="1">Name of the current group, or "null" if not a group page.</td></tr><tr class="b"><td colspan="1">$jslink.RoleName</td><td colspan="1">Name of the current role, or "null" if not a role page.</td></tr><tr class="a"><td colspan="1">$jslink.UserName</td><td colspan="1">Name of the current user, or "null" if not a user page.</td></tr><tr class="b"><td colspan="1">$jslink.PageName</td><td colspan="1">Name of the current page.</td></tr><tr class="a"><td colspan="1">$jslink.MediaType</td><td colspan="1">MediaType of the current page.</td></tr><tr class="b"><td colspan="1">$jslink.Country</td><td colspan="1">Country of the current page.</td></tr><tr class="a"><td colspan="1">$jslink
.Language</td><td colspan="1">Language of the current page.</td></tr><tr class="b"><th colspan="2"><center>setLink()</center></th></tr><tr class="a"><td colspan="1">$jslink.setLink(.....)</td><td colspan="1">
+ A way to define a link that allows many paramters. See the javadocs
+ for org.apache.jetspeed.util.template.JetspeedLink or the
+ JSLINK Example portlet.
+ </td></tr></table></div></div><div class="section"><a name="Example_of_Portlets"></a><h2>Example of Portlets</h2><p>
+ Jetspeed include the following example of Velocity porlets.
+ </p><table class="bodyTable"><tr class="b"><th>Portlet Name</th><th>Description</th></tr><tr class="a"><td colspan="1">HelloVelocity</td><td colspan="1">Basic Velocity portlet</td></tr><tr class="b"><td colspan="1">JSLINK Example</td><td colspan="1">
+ Display the uses of $jslink
+ </td></tr></table></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2000-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-1/portlet_config_Velocity.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-1/portlet_config_WebClippingPortlet.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-1/portlet_config_WebClippingPortlet.html?rev=1422656&view=auto
==============================================================================
--- portals/site-live/jetspeed-1/portlet_config_WebClippingPortlet.html (added)
+++ portals/site-live/jetspeed-1/portlet_config_WebClippingPortlet.html Sun Dec 16 18:22:20 2012
@@ -0,0 +1,118 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed - Portlet Configuration How To</title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-theme.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-1/" id="projectLogo"><img alt="Jetspeed 1 Enterprise Portal" src="./images/logo.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xright"></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">Overview</a></li><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="license.html">License</a></li><li class="none"><a href="install
.html">Installation</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="usejetspeed.html">Sample Sites</a></li><li class="none"><a href="resources.html">Resources</a></li><li class="none"><a href="todo.html">Todo</a></li><li class="none"><a href="changes.html">Changes</a></li></ul></div><div id="menuDownload"><h5>Download</h5><ul><li class="none"><a href="http://jakarta.apache.org/site/binindex.html" class="externalLink" title="External Link">Binaries</a></li><li class="none"><a href="http://jakarta.apache.org/site/sourceindex.html" class="externalLink" title="External Link">Source Code</a></li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="community-portlets.html">Community Portlets</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="config_guide.html">Configuration Guide</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-
1/apidocs/index.html" class="externalLink" title="External Link">Javadocs</a></li><li class="none"><a href="application-development.html">Development</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/tutorial/" class="externalLink" title="External Link">Jetspeed Tutorial</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/plugin/" class="externalLink" title="External Link">Jetspeed Plugin</a></li><li class="none"><a href="catalog.html">Portlet Catalog</a></li></ul></div><div id="menuComponents"><h5>Components</h5><ul><li class="none"><a href="fusion.html">JSR-168 Portlets</a></li><li class="none"><a href="registry.html">Registry</a></li><li class="none"><a href="security.html">Security</a></li><li class="none"><a href="viewprocessors.html">View Processors</a></li><li class="none"><a href="content-syndication.html">Syndication</a></li><li class="none"><a href="wap.html">WAP</a></li><li class="none"><a href="customizer.html">Customizatio
n</a></li><li class="none"><a href="diskcache.html">Cache</a></li><li class="none"><a href="psml.html">PSML</a></li><li class="none"><a href="forwards.html">Forwards</a></li><li class="none"><a href="database.html">Database</a></li><li class="none"><a href="cma.html">Container Authentication</a></li><li class="none"><a href="messaging.html">Jetspeed Cluster (JMS)</a></li></ul></div><div id="menuTranslated"><h5>Translated</h5><ul><li class="none"><a href="http://jakarta.terra-intl.com/jetspeed/" class="externalLink" title="External Link">Japanese (Web)</a></li></ul></div><div id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a href="contributors.html">Contributors</a></li><li class="none"><a href="http://jakarta.apache.org/site/cvsindex.html" class="externalLink" title="External Link">CVS Repository</a></li><li class="none"><a href="http://cvs.apache.org/viewcvs/jakarta-jetspeed/" class="externalLink" title="External Link">View CVS</a></li><li class="none"><a h
ref="branches.html">CVS Branches</a></li><li class="none"><a href="code-standards.html">Coding Spec</a></li><li class="none"><a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10493" class="externalLink" title="External Link">Bug Database</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 1 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"><p>
+ <font face="arial,helvetica,sanserif" size="+3">
+ <center><strong>WebClippingPortlet</strong></center>
+ </font>
+ <br></br>
+ <font face="arial,helvetica,sanserif">
+ <center>
+ <strong>Class Name : org.apache.jetspeed.portal.portlets.WebClippingPortlet</strong>
+ </center>
+ </font>
+ <br></br>
+ </p></div><div class="section"><a name="Description"></a><h2>Description</h2><p>
+ Present one ore more clipped parts of one or more web pages in a portlet.
+ The clipped part is a section of a web page between a start tag and a stop tag.
+ This portlet supports nested tags:<br></br>
+ <table>
+ ...
+ <table>
+ ...
+ </table>
+ ...
+ </table><br></br>
+ In this case you can clip the complete table, or only the inner table.
+ </p><p>
+ Example of how to find a tag:<br></br>
+ Find: <img src="http://www.apache.org/images/asf_logo_wide.png" width="537"
+ height="51" alt="Apache Software Foundation"/><br></br>
+ If it's the first image (or there's only one image) in the page, you can clip it with:<br></br>
+ Tag...="img"<br></br>
+ But you can also find the image with:<br></br>
+ Tag...="img src=http://www.apache.org/images/asf_logo_wide.png width=537
+ height=51 alt=Apache Software Foundation"<br></br>
+ Tag...="img src=http://www.apache.org/images/asf_logo_wide.png" <br></br>
+ Or (simpler!):<br></br>
+ Tag...="img asf_logo_wide.png" <br></br>
+ Tag...="img 537 Apache"<br></br>
+ The match is between the tags (img) and any portion of its attributes (width=537, 537, asf_logo_wide.png, ...)
+ </p><div class="subsection"><a name="Supported_Media_Types"></a><h3>Supported Media Types</h3><p>
+ <a href="portlet_config_common.html#Supported Media Types">Description of Media Types.</a>
+ <ul>
+ <li>html</li>
+ </ul>
+ </p></div></div><div class="section"><a name="Element:_parameter"></a><h2>Element: parameter</h2><p>
+ Parameters that control what parts of the web pages are converted into a portlet.
+ All these parameters are followed by a number: startTag1, startTag2, ...
+ </p><p>
+ This element is <strong>required</strong>
+ </p><p>
+ <a href="portlet_config_common.html#Element: parameter">Parameters common to many portlets.</a>
+ </p><table class="bodyTable"><tr class="a"><th>Parameter Name</th><th>Description</th></tr><tr class="b"><td>startTag...</td><td>First tag to include in the portlet</td></tr><tr class="a"><td>stopTag...</td><td>Last tag to include in the portlet</td></tr><tr class="b"><td>Tag...</td><td>Single tag to include in the portlet, ie useful to include images. You must indicate or a couple startTag..
+ -stopTag.., or only a Tag.. parameter</td></tr><tr class="a"><td>startTagNumber...</td><td>If the page contains some identical tags, you can select one of them using startTag (or Tag) and startTagNumber.<br></br>
+ Example: in the page there are four paragraphs, you can select the second with startTag..="p" and startTagNumber..="2"</td></tr><tr class="b"><td>url...</td><td>It's possible to specify a different URL for each element to clip. If it's not specified, the default URL is used.
+ It's also possible to use a local URL, ie:<br></br>
+ /examples/local-page.html</td></tr></table></div><div class="section"><a name="Element:_url"></a><h2>Element: url</h2><p>
+ Contains the default URL of the web page to be displayed. It's possible to use a local URL.
+ </p><p>
+ This element is <strong>required</strong>
+ </p><p>
+ <a href="portlet_config_common.html#Element: url">General information about of URL.</a>
+ </p><p>
+ <strong>Good URLs:</strong>
+ </p><dl>
+ <dt>
+ <tt><url>http://jakata.apache.org/jetspeed</url></tt>
+ </dt>
+ <dd>Basic URL</dd>
+ <dt>
+ <tt><url>/examples/local-page.html</url></tt>
+ </dt>
+ <dd>Local URL</dd>
+ <dt>
+ <tt><url>http://search.yahoo.com/bin/search?p=jetspeed</url></tt>
+ </dt>
+ <dd>1 Parameter passed</dd>
+ <dt>
+ <tt><url>http://search.yahoo.com/search?p=jetspeed&amp;n=100</url></tt>
+ </dt>
+ <dd>2 Parameter passed</dd>
+ </dl><p>
+ <strong>Bad URLs:</strong>
+ </p><dl>
+ <dt>
+ <tt><url>http://search.yahoo.com/search?p=jetspeed&n=100</url></tt>
+ </dt>
+ <dd>Contains & instead of &amp;.</dd>
+ </dl></div><div class="section"><a name="Example_of_Registry_Entry"></a><h2>Example of Registry Entry</h2><p>
+ The example will show local content, an image from Jakarta, and a clipped part of Tomcat home page
+ </p><p>
+ From <jetspeed_home>/WEB-INF/conf/WebClipping.xreg
+ </p>
+ <div class="source"><pre>
+ <portlet-entry name="Different URLs example" hidden="false" type="ref" parent="WebClippingPortlet" application="false">
+ <meta-info>
+ <title>Different URLs example</title>
+ <description>Example of clipping from different URLs</description>
+ </meta-info>
+ <parameter name="startTag1" value="p" hidden="false"/>
+ <parameter name="stopTag1" value="p" hidden="false"/>
+ <parameter name="Tag2" value="img" hidden="false"/>
+ <parameter name="url2" value="http://jakarta.apache.org/" hidden="false"/>
+ <parameter name="startTag3" value="p" hidden="false"/>
+ <parameter name="stopTag3" value="p" hidden="false"/>
+ <parameter name="startTagNumber3" value="2" hidden="false"/>
+ <parameter name="startTag4" value="table" hidden="false"/>
+ <parameter name="stopTag4" value="table" hidden="false"/>
+ <parameter name="startTagNumber4" value="3" hidden="false"/>
+ <parameter name="url4" value="http://jakarta.apache.org/tomcat/" hidden="false"/>
+ <url>/examples/local-content.html</url>
+ <category>sites</category>
+ </portlet-entry></pre></div>
+ </div><div class="section"><a name="Known_problems__version_1_4b4_"></a><h2>Known problems (version 1.4b4)</h2><p>
+ <ul>
+ <li>No known problems, but more testing needed</li>
+ </ul>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2000-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-1/portlet_config_WebClippingPortlet.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-1/portlet_config_WebPagePortlet.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-1/portlet_config_WebPagePortlet.html?rev=1422656&view=auto
==============================================================================
--- portals/site-live/jetspeed-1/portlet_config_WebPagePortlet.html (added)
+++ portals/site-live/jetspeed-1/portlet_config_WebPagePortlet.html Sun Dec 16 18:22:20 2012
@@ -0,0 +1,186 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed - Portlet Configuration How To</title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-theme.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-1/" id="projectLogo"><img alt="Jetspeed 1 Enterprise Portal" src="./images/logo.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xright"></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">Overview</a></li><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="license.html">License</a></li><li class="none"><a href="install
.html">Installation</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="usejetspeed.html">Sample Sites</a></li><li class="none"><a href="resources.html">Resources</a></li><li class="none"><a href="todo.html">Todo</a></li><li class="none"><a href="changes.html">Changes</a></li></ul></div><div id="menuDownload"><h5>Download</h5><ul><li class="none"><a href="http://jakarta.apache.org/site/binindex.html" class="externalLink" title="External Link">Binaries</a></li><li class="none"><a href="http://jakarta.apache.org/site/sourceindex.html" class="externalLink" title="External Link">Source Code</a></li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="community-portlets.html">Community Portlets</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="config_guide.html">Configuration Guide</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-
1/apidocs/index.html" class="externalLink" title="External Link">Javadocs</a></li><li class="none"><a href="application-development.html">Development</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/tutorial/" class="externalLink" title="External Link">Jetspeed Tutorial</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/plugin/" class="externalLink" title="External Link">Jetspeed Plugin</a></li><li class="none"><a href="catalog.html">Portlet Catalog</a></li></ul></div><div id="menuComponents"><h5>Components</h5><ul><li class="none"><a href="fusion.html">JSR-168 Portlets</a></li><li class="none"><a href="registry.html">Registry</a></li><li class="none"><a href="security.html">Security</a></li><li class="none"><a href="viewprocessors.html">View Processors</a></li><li class="none"><a href="content-syndication.html">Syndication</a></li><li class="none"><a href="wap.html">WAP</a></li><li class="none"><a href="customizer.html">Customizatio
n</a></li><li class="none"><a href="diskcache.html">Cache</a></li><li class="none"><a href="psml.html">PSML</a></li><li class="none"><a href="forwards.html">Forwards</a></li><li class="none"><a href="database.html">Database</a></li><li class="none"><a href="cma.html">Container Authentication</a></li><li class="none"><a href="messaging.html">Jetspeed Cluster (JMS)</a></li></ul></div><div id="menuTranslated"><h5>Translated</h5><ul><li class="none"><a href="http://jakarta.terra-intl.com/jetspeed/" class="externalLink" title="External Link">Japanese (Web)</a></li></ul></div><div id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a href="contributors.html">Contributors</a></li><li class="none"><a href="http://jakarta.apache.org/site/cvsindex.html" class="externalLink" title="External Link">CVS Repository</a></li><li class="none"><a href="http://cvs.apache.org/viewcvs/jakarta-jetspeed/" class="externalLink" title="External Link">View CVS</a></li><li class="none"><a h
ref="branches.html">CVS Branches</a></li><li class="none"><a href="code-standards.html">Coding Spec</a></li><li class="none"><a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10493" class="externalLink" title="External Link">Bug Database</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 1 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"><p>
+ <font face="arial,helvetica,sanserif" size="+3">
+ <center><strong>WebPagePortlet</strong></center>
+ </font>
+ <br></br>
+ <font face="arial,helvetica,sanserif">
+ <center>
+ <strong>Class Name : org.apache.jetspeed.portal.portlets.WebPagePortlet</strong>
+ </center>
+ </font>
+ <br></br>
+ </p></div><div class="section"><a name="Description"></a><h2>Description</h2><p>
+ Present a web page in a portlet.
+ </p><p>
+ The web page will be loaded by the Jetspeed server, not the user's web browser, and maintained by the cache
+ subsystem. Since Jetspeed is loading the page, no information from the user's browser, like cookies, will
+ be provided to the web server.
+ </p><p>
+ The WebPagePortlet will convert, or delete, some of the HTML tags so the resulting page can be presented in a portlet.
+ </p><div class="subsection"><a name="Supported_Media_Types"></a><h3>Supported Media Types</h3><p>
+ <a href="portlet_config_common.html#Supported Media Types">Description of Media Types.</a>
+ <ul>
+ <li>html</li>
+ </ul>
+ </p></div></div><div class="section"><a name="Element:_parameter"></a><h2>Element: parameter</h2><p>
+ Parameter that control the how the web page is converted into a portlet.
+ </p><p>
+ This element is optional.
+ </p><p>
+ <a href="portlet_config_common.html#Element: parameter">Parameters common to many portlets.</a>
+ </p><table class="bodyTable"><tr class="a"><th>Parameter Name</th><th>Description</th></tr><tr class="b"><td>dont_remove_applet</td><td>
+ <APPLET> tag. Used to include a Java Applet.
+ The space allocate on the web page for the applet will be available for other HTML tags, thus the
+ appearance of the resulting page will be different.
+ </td></tr><tr class="a"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="b"><th>Value</th><th>Description</th></tr><tr class="a"><td>yes</td><td>Include the Java applets in the portlet</td></tr><tr class="b"><td>no</td><td>Remove Java applets</td></tr></table>
+ </td></tr><tr class="a"><td>dont_remove_head</td><td><HEAD> tag.</td></tr><tr class="b"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>yes</td><td>The <HEAD> tags are retained</td></tr><tr class="a"><td>no</td><td>The <HEAD> tags is removed</td></tr></table>
+ </td></tr><tr class="b"><td>dont_remove_meta</td><td><META> tag.</td></tr><tr class="a"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="b"><th>Value</th><th>Description</th></tr><tr class="a"><td>yes</td><td><META> tags are retained</td></tr><tr class="b"><td>no</td><td><META> tags are removed</td></tr></table>
+ </td></tr><tr class="a"><td>dont_remove_noscript</td><td><NOSCRIPT> tag.</td></tr><tr class="b"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>yes</td><td><NOSCRIPT>tags are retained</td></tr><tr class="a"><td>no</td><td><NOSCRIPT> tags are removed</td></tr></table>
+ </td></tr><tr class="b"><td>dont_remove_onsomething</td><td><Retain onBlur, onChange, ... attributes> in tag.</td></tr><tr class="a"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="b"><th>Value</th><th>Description</th></tr><tr class="a"><td>yes</td><td>Retain attributes</td></tr><tr class="b"><td>no</td><td>Remove attributes</td></tr></table>
+ </td></tr><tr class="a"><td>dont_remove_object</td><td><OBJECT> tag.</td></tr><tr class="b"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>yes</td><td><OBJECT>tags are retained</td></tr><tr class="a"><td>no</td><td><OBJECT> tags are removed</td></tr></table>
+ </td></tr><tr class="b"><td>dont_remove_script</td><td><SCRIPT> tag.</td></tr><tr class="a"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="b"><th>Value</th><th>Description</th></tr><tr class="a"><td>yes</td><td><SCRIPT> tags are retained</td></tr><tr class="b"><td>no</td><td><SCRIPT> tags are removed</td></tr></table>
+ </td></tr><tr class="a"><td>dont_remove_style</td><td><STYLE> tag.</td></tr><tr class="b"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>yes</td><td><STYLE> tags are retained</td></tr><tr class="a"><td>no</td><td><STYLE> tags are removed</td></tr></table>
+ </td></tr><tr class="b"><td>open_in_popup</td><td>Open links in a new window</td></tr><tr class="a"><td></td><td>If not present, "no" is the default value
+ <table class="bodyTable"><tr class="b"><th>Value</th><th>Description</th></tr><tr class="a"><td>yes</td><td>Links are opened in a pop-up browser window</td></tr><tr class="b"><td>no</td><td>Links are opened in a the current browser window</td></tr></table>
+ </td></tr><tr class="a"><td>username</td><td>Username for HTTP Basic Authentication</td></tr><tr class="b"><td></td><td>If not present, then basic HTTP authentication is not used.
+ </td></tr><tr class="a"><td>password</td><td>Password for HTTP Basic Authentication</td></tr><tr class="b"><td></td><td>If not present, then basic HTTP authentication is not used.
+ </td></tr></table></div><div class="section"><a name="Element:_url"></a><h2>Element: url</h2><p>
+ Contains the URL of the web page to be displayed.
+ </p><p>
+ This element is <strong>required</strong>.
+ </p><p>
+ <a href="portlet_config_common.html#Element: url">General information about of URL.</a>
+ </p><p>
+ <strong>Good URLs:</strong>
+ </p><dl>
+ <dt>
+ <tt><url>http://jakata.apache.org/jetspeed</url></tt>
+ </dt>
+ <dd>Basic URL</dd>
+ <dt>
+ <tt><url>http://search.yahoo.com/bin/search?p=jetspeed</url></tt>
+ </dt>
+ <dd>1 Parameter passed</dd>
+ <dt>
+ <tt><url>http://search.yahoo.com/search?p=jetspeed&amp;n=100</url></tt>
+ </dt>
+ <dd>2 Parameter passed</dd>
+ </dl><p>
+ <strong>Bad URLs:</strong>
+ </p><dl>
+ <dt>
+ <tt><url>index.html</url></tt>
+ </dt>
+ <dd>No protocol, http:// or hostname</dd>
+ <dt>
+ <tt><url>http://search.yahoo.com/search?p=jetspeed&n=100</url></tt>
+ </dt>
+ <dd>Contains & instead of &amp;.</dd>
+ </dl></div><div class="section"><a name="Example_of_Registry_Entry"></a><h2>Example of Registry Entry</h2><p>
+ The example will place the results of a Yahoo search on "jetspeed" in a portlet.
+ </p><p>
+ From <jetspeed_home>/WEB-INF/conf/local-portlets.xreg
+ </p>
+ <div class="source"><pre>
+<portlet-entry name="JetspeedInYahoo" hidden="false" type="ref"
+ parent="WebPagePortlet" application="false">
+ <meta-info>
+ <title>JetspeedInYahoo</title>
+ <description>References to Jetspeed in Yahoo</description>
+ </meta-info>
+ <parameter name="dont_remove_applet" value="yes" hidden="false"/>
+ <parameter name="dont_remove_script" value="yes" hidden="false"/>
+ <url>http://search.yahoo.com/bin/search?p=jetspeed</url>
+</portlet-entry></pre></div>
+ </div><div class="section"><a name="Know_problems__version_1_3a1_"></a><h2>Know problems (version 1.3a1)</h2><p>
+ <ul>
+ <li>Some <META> may cause errors and prevent the portlet from being displayed</li>
+ <li>Some JavaScript may cause errors and prevent the portlet from being displayed</li>
+ </ul>
+ </p></div><div class="section"><a name="Rewriting_of_HTML_tags"></a><h2>Rewriting of HTML tags</h2><p>
+ The following is from the util/HTMLRewriter.java
+ </p>
+ <div class="source"><pre>
+ * The following describes how HTML tags are rewritten
+ *
+ * <!-- --> (HTML Comments)
+ * o Unless otherwise mentioned, comments are striped.
+ *
+ * <A>
+ * o HREF attribute - URL merged with base URL (See Note 1)
+ * o TARGET attribute - Set to "_BLANK" if it does not exist
+ * and openInNewWindow = TRUE
+ * <AREA>
+ * o HREF attribute - URL merged with base URL (See Note 1)
+ * o TARGET attribute - Set to "_BLANK" if it does not exist
+ * and openInNewWindow = TRUE
+ * <APPLET>
+ * o Optionally included
+ * o CODEBASE attribute - Set to the current path if it does
+ * not exist.
+ *
+ * <BASE>
+ * o <HEAD> does NOT have to be included.
+ * o HREF attribute - Set the Base URL of the page, but the tag
+ * not set in resulting HTML. URL merged with
+ * base URL (See Note 1)
+ *
+ * <BODY>
+ * o Background attribute - Always striped.
+ *
+ * <EMBED>
+ * o May not work. Not supported by JDK 1.3/
+ *
+ * <FORM>
+ * o ACTION attribute - Set to the current URL if it does
+ * not exist. URL merged with base
+ * URL (See Note 1)
+ *
+ * <IMG>
+ * o SRC attribute - URL merged with base URL (See Note 1)
+ *
+ * <INPUT>
+ * o SRC attribute - URL merged with base URL (See Note 1)
+ *
+ * <LINK>
+ * o HREF attribute - URL merged with base URL (See Note 1)
+ *
+ * <OBJECT>
+ * o Optionally included
+ * o CODEBASE attribute - Set to the current path if it does
+ * not exist. URL merged with base
+ * URL (See Note 1)
+ *
+ * <SCRIPT>
+ * o Optionally included
+ * o Contents may be striped if this tag appears in the <HEAD>
+ * and the contents are NOT in a comment
+ * o SRC attribute - URL merged with base URL (See Note 1)
+ * o Script code that is NOT enclosed in a comment (<!-- -->)
+ * and in the <HEAD> may NOT be in the resulting HTML. This
+ * is related to the HTML parser in included in the JDK
+ *
+ * <TD>
+ * o BACKGROUND attribute - URL merged with base URL (See Note 1)
+ *
+ * Note 1: URL Merging.
+ * This is done because the source of the page sent to the
+ * user's browser is different then source the current page.
+ * Example:
+ * Base URL........ http://jakarta.apache.org/jetspeed
+ * URL............. logo.gif
+ * Resulting URL... http://jakarta.apache.org/jetspeed/logo.gif
+ *
+ </pre></div>
+ </div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2000-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-1/portlet_config_WebPagePortlet.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-1/portlet_config_XSL.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-1/portlet_config_XSL.html?rev=1422656&view=auto
==============================================================================
--- portals/site-live/jetspeed-1/portlet_config_XSL.html (added)
+++ portals/site-live/jetspeed-1/portlet_config_XSL.html Sun Dec 16 18:22:20 2012
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed - Portlet Configuration How To</title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-theme.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-1/" id="projectLogo"><img alt="Jetspeed 1 Enterprise Portal" src="./images/logo.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xright"></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">Overview</a></li><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="license.html">License</a></li><li class="none"><a href="install
.html">Installation</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="usejetspeed.html">Sample Sites</a></li><li class="none"><a href="resources.html">Resources</a></li><li class="none"><a href="todo.html">Todo</a></li><li class="none"><a href="changes.html">Changes</a></li></ul></div><div id="menuDownload"><h5>Download</h5><ul><li class="none"><a href="http://jakarta.apache.org/site/binindex.html" class="externalLink" title="External Link">Binaries</a></li><li class="none"><a href="http://jakarta.apache.org/site/sourceindex.html" class="externalLink" title="External Link">Source Code</a></li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="community-portlets.html">Community Portlets</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="config_guide.html">Configuration Guide</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-
1/apidocs/index.html" class="externalLink" title="External Link">Javadocs</a></li><li class="none"><a href="application-development.html">Development</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/tutorial/" class="externalLink" title="External Link">Jetspeed Tutorial</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/plugin/" class="externalLink" title="External Link">Jetspeed Plugin</a></li><li class="none"><a href="catalog.html">Portlet Catalog</a></li></ul></div><div id="menuComponents"><h5>Components</h5><ul><li class="none"><a href="fusion.html">JSR-168 Portlets</a></li><li class="none"><a href="registry.html">Registry</a></li><li class="none"><a href="security.html">Security</a></li><li class="none"><a href="viewprocessors.html">View Processors</a></li><li class="none"><a href="content-syndication.html">Syndication</a></li><li class="none"><a href="wap.html">WAP</a></li><li class="none"><a href="customizer.html">Customizatio
n</a></li><li class="none"><a href="diskcache.html">Cache</a></li><li class="none"><a href="psml.html">PSML</a></li><li class="none"><a href="forwards.html">Forwards</a></li><li class="none"><a href="database.html">Database</a></li><li class="none"><a href="cma.html">Container Authentication</a></li><li class="none"><a href="messaging.html">Jetspeed Cluster (JMS)</a></li></ul></div><div id="menuTranslated"><h5>Translated</h5><ul><li class="none"><a href="http://jakarta.terra-intl.com/jetspeed/" class="externalLink" title="External Link">Japanese (Web)</a></li></ul></div><div id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a href="contributors.html">Contributors</a></li><li class="none"><a href="http://jakarta.apache.org/site/cvsindex.html" class="externalLink" title="External Link">CVS Repository</a></li><li class="none"><a href="http://cvs.apache.org/viewcvs/jakarta-jetspeed/" class="externalLink" title="External Link">View CVS</a></li><li class="none"><a h
ref="branches.html">CVS Branches</a></li><li class="none"><a href="code-standards.html">Coding Spec</a></li><li class="none"><a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10493" class="externalLink" title="External Link">Bug Database</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 1 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"><p>
+ <font face="arial,helvetica,sanserif" size="+3">
+ <center><strong>XSL</strong></center>
+ </font>
+ <br></br>
+ <font face="arial,helvetica,sanserif">
+ <center>
+ <strong>Class Name : org.apache.jetspeed.portal.portlets.XSLPortlet</strong>
+ </center>
+ </font>
+ <br></br>
+ </p></div><div class="section"><a name="Description"></a><h2>Description</h2><p>
+ Present a Transformed an XML Document in a portlet.
+ </p><div class="subsection"><a name="Supported_Media_Types"></a><h3>Supported Media Types</h3><p>
+ <a href="portlet_config_common.html#Supported Media Types">Description of Media Types.</a>
+ <ul>
+ <li>html</li>
+ </ul>
+ </p></div></div><div class="section"><a name="Element:_parameter"></a><h2>Element: parameter</h2><p>
+ Parameter that control the how the web page is converted into a portlet.
+ </p><p>
+ This element is optional.
+ </p><p>
+ <a href="portlet_config_common.html#Element: parameter">Parameters common to many portlets.</a>
+ </p><table class="bodyTable"><tr class="a"><th>Parameter Name</th><th>Description</th></tr><tr class="b"><td>stylesheet[.<mime>]</td><td>The stylesheet URL. If a mime-type is specified, the stylesheet
+ is only used for this mime-type
+ </td></tr></table></div><div class="section"><a name="Element:_url"></a><h2>Element: url</h2><p>
+ Contains the URL of the XML to be convert via XSLT.
+ </p><p>
+ This element is <strong>required</strong>.
+ </p><p>
+ <a href="portlet_config_common.html#Element: url">General information about of URL.</a>
+ </p></div><div class="section"><a name="Questions__version_1_3a1_"></a><h2>Questions (version 1.3a1)</h2><p>
+ <ul>
+ <li>How is this related to Cocoon?</li>
+ </ul>
+ </p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2000-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-1/portlet_config_XSL.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-1/portlet_config_common.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-1/portlet_config_common.html?rev=1422656&view=auto
==============================================================================
--- portals/site-live/jetspeed-1/portlet_config_common.html (added)
+++ portals/site-live/jetspeed-1/portlet_config_common.html Sun Dec 16 18:22:20 2012
@@ -0,0 +1,218 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed - Portlet Configuration How To</title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-theme.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-1/" id="projectLogo"><img alt="Jetspeed 1 Enterprise Portal" src="./images/logo.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xright"></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">Overview</a></li><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="license.html">License</a></li><li class="none"><a href="install
.html">Installation</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="usejetspeed.html">Sample Sites</a></li><li class="none"><a href="resources.html">Resources</a></li><li class="none"><a href="todo.html">Todo</a></li><li class="none"><a href="changes.html">Changes</a></li></ul></div><div id="menuDownload"><h5>Download</h5><ul><li class="none"><a href="http://jakarta.apache.org/site/binindex.html" class="externalLink" title="External Link">Binaries</a></li><li class="none"><a href="http://jakarta.apache.org/site/sourceindex.html" class="externalLink" title="External Link">Source Code</a></li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="community-portlets.html">Community Portlets</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="config_guide.html">Configuration Guide</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-
1/apidocs/index.html" class="externalLink" title="External Link">Javadocs</a></li><li class="none"><a href="application-development.html">Development</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/tutorial/" class="externalLink" title="External Link">Jetspeed Tutorial</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-1/plugin/" class="externalLink" title="External Link">Jetspeed Plugin</a></li><li class="none"><a href="catalog.html">Portlet Catalog</a></li></ul></div><div id="menuComponents"><h5>Components</h5><ul><li class="none"><a href="fusion.html">JSR-168 Portlets</a></li><li class="none"><a href="registry.html">Registry</a></li><li class="none"><a href="security.html">Security</a></li><li class="none"><a href="viewprocessors.html">View Processors</a></li><li class="none"><a href="content-syndication.html">Syndication</a></li><li class="none"><a href="wap.html">WAP</a></li><li class="none"><a href="customizer.html">Customizatio
n</a></li><li class="none"><a href="diskcache.html">Cache</a></li><li class="none"><a href="psml.html">PSML</a></li><li class="none"><a href="forwards.html">Forwards</a></li><li class="none"><a href="database.html">Database</a></li><li class="none"><a href="cma.html">Container Authentication</a></li><li class="none"><a href="messaging.html">Jetspeed Cluster (JMS)</a></li></ul></div><div id="menuTranslated"><h5>Translated</h5><ul><li class="none"><a href="http://jakarta.terra-intl.com/jetspeed/" class="externalLink" title="External Link">Japanese (Web)</a></li></ul></div><div id="menuGet_Involved"><h5>Get Involved</h5><ul><li class="none"><a href="contributors.html">Contributors</a></li><li class="none"><a href="http://jakarta.apache.org/site/cvsindex.html" class="externalLink" title="External Link">CVS Repository</a></li><li class="none"><a href="http://cvs.apache.org/viewcvs/jakarta-jetspeed/" class="externalLink" title="External Link">View CVS</a></li><li class="none"><a h
ref="branches.html">CVS Branches</a></li><li class="none"><a href="code-standards.html">Coding Spec</a></li><li class="none"><a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10493" class="externalLink" title="External Link">Bug Database</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 1 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"><p>
+ <font face="arial,helvetica,sanserif" size="+3">
+ <center><strong>Configuration common to most portlets</strong></center>
+ </font>
+ <br></br>
+ </p></div><div class="section"><a name="Description"></a><h2>Description</h2><p>
+ Common elements
+ <ul>
+ <li><a href="#Element:_portlet-entry">portlet-entry</a></li>
+ <li><a href="#Element:_meta-info">meta-info</a></li>
+ <li><a href="#Element:_classname">classname</a></li>
+ <li><a href="#Element:_parameter">parameter</a></li>
+ <li><a href="#Element:_url">url</a></li>
+ <li><a href="#Element:_security-ref">security-ref</a></li>
+ <li><a href="#Element:_media-type">media-type</a></li>
+ </ul>
+ <a href="#Example_of_Registry_Entry">Registry Entry examples</a>
+ </p></div><div class="section"><a name="Element:_portlet-entry"></a><h2>Element: portlet-entry</h2><p>
+ Definition of a portlet.
+ </p><table class="bodyTable"><tr class="a"><th>Attribute Name</th><th>Description</th></tr><tr class="b"><td>name</td><td>Name of portlet. This name MUST be unique</td></tr><tr class="a"><td>type</td><td>
+ Type of portlet-entry
+ <br></br>
+ <table class="bodyTable"><tr class="b"><th>Allowable values</th><th></th></tr><tr class="a"><td>abstract</td><td>
+ Portlet is one which cannot be created directly. It acts as a portlet template, useful for
+ defining common properties for a group of related portlets.
+ </td></tr><tr class="b"><td>instance</td><td>
+ Portlet is the basic entry. It should provide all the necessary information to create the
+ portlet, at least the classname.
+ </td></tr><tr class="a"><td>ref</td><td>
+ Portlet is based on an existing <portlet-entry> which can be of any type,
+ including other ref entries. The engine will follow all refs until it finds either an
+ abstract or instance entry, override all parameters found in the these definitions by those
+ in the ref definition's, and then create the portlet using the combined definitions
+ </td></tr></table>
+ </td></tr><tr class="b"><td>hidden</td><td>
+ <br></br>
+ <table class="bodyTable"><tr class="a"><th>Allowable values</th></tr><tr class="b"><td>false</td></tr><tr class="a"><td>true</td></tr></table>
+ </td></tr><tr class="b"><td>application</td><td>
+ Portlet will be displayed in a full screen, i.e. the only portlet displayed.
+ <br></br>
+ <table class="bodyTable"><tr class="a"><th>Allowable values</th></tr><tr class="b"><td>false</td></tr><tr class="a"><td>true</td></tr></table>
+ </td></tr></table></div><div class="section"><a name="Element:_meta-info"></a><h2>Element: meta-info</h2><p>
+ Typically optional information that describe the item (portlet, parameter, ...). Meta-info is used
+ by the Jetspeed customizer. The information is also available to some portlet types.
+ </p><div class="subsection"><a name="Element:_title"></a><h3>Element: title</h3><p>
+ Title of item (portlet, parameter, ...)
+ </p><table class="bodyTable"><tr class="b"><th>Parent Element</th><th>Default</th></tr><tr class="a"><td>portlet-entry</td><td>Value of portlet-entry's name attribute</td></tr><tr class="b"><td>parameter</td><td>Value of parameter's name attribute</td></tr></table></div><div class="subsection"><a name="Element:_description"></a><h3>Element: description</h3><p>
+ Description of item (portlet, parameter, ...). Their is no default description.
+ </p></div><div class="subsection"><a name="Element:_icon"></a><h3>Element: icon</h3><p>
+ Path and file name of icon relative to <jetspeed_home>
+ </p></div></div><div class="section"><a name="Element:_classname"></a><h2>Element: classname</h2><p>
+ Java class uses to generate content.
+ </p></div><div class="section"><a name="Element:_parameter"></a><h2>Element: parameter</h2><p>
+ The hidden attribute controls whether the customizer will display the parameter.
+ </p><p>
+ This element is optional.
+ </p><table class="bodyTable"><tr class="a"><th>Attribute Name</th><th>Description</th></tr><tr class="b"><td>name</td><td>Name of portlet, parameter,...</td></tr><tr class="a"><td>value</td><td>Default/initial value</td></tr><tr class="b"><td>type</td><td>
+ Data type of value. When this attribute is not present any character string is accepted
+ <br></br>
+ <table class="bodyTable"><tr class="a"><th>Allowable values</th><th></th></tr><tr class="b"><td>boolean</td><td>Only <tt>true</tt> or <tt>false</tt> are allowed as a value for this parameter</td></tr><tr class="a"><td>style</td><td>Designates the parameter as having a custom presentation style. The presentation style name is defined as value of
+ [parameter name].style parameter. For example, if parameter named "symbols" is designated with type="style", then the style
+ name is defined as value of "symbols.style" hidden parameter. Each parameter designated as having a custom style,
+ will be displayed in the default portlet customizer using the defined parameter style. For sample parameter styles and
+ instructions on how to develop your own, see javadoc for <code>org.apache.jetspeed.modules.parameters</code> package.
+ See below for example registry entry.</td></tr><tr class="b"><td>invisible</td><td>Parameters with this type are rendered as hidden inputs in the portlet customizer form.</td></tr></table>
+ </td></tr><tr class="a"><td>hidden</td><td>
+ <br></br>
+ <table class="bodyTable"><tr class="b"><th>Allowable values</th></tr><tr class="a"><td>false</td></tr><tr class="b"><td>true</td></tr></table>
+ </td></tr></table><br></br><table class="bodyTable"><tr class="a"><th>Parameter Name</th><th>Description</th></tr><tr class="b"><td>_display</td><td>
+ Initial display state of portlet.
+ <br></br>
+ <p>
+ This parameter can only be set in PSML.
+ </p>
+ <p>
+ If not present, Default: <tt>normal</tt>
+ </p>
+ <table class="bodyTable"><tr class="a"><th>Value</th><th>Description</th></tr><tr class="b"><td>closed</td><td>Portlet is closed and not visible</td></tr><tr class="a"><td>minimized</td><td>Portlet is minimized. Only title is displayed</td></tr><tr class="b"><td>normal</td><td>Portal and content is displayed</td></tr></table>
+ </td></tr><tr class="a"><td>_showtitlebar</td><td>
+ Should the Portlet's title bar be displayed. The title bar
+ includes the Portlet title and the action buttons
+ (Minimize, Maximize, Customize, and Close). When the title bar is
+ disabled, i.e. value = false, the user will only be able to add or
+ remove, if permissions allow, the portlet the customizer.
+ <p>
+ This parameter can be set in PSML or in the .xreg files.
+ </p>
+ <p>This parameter was added in version 1.3a3.</p>
+ <p>
+ If not present, Default: <tt>true</tt>
+ </p>
+ <table class="bodyTable"><tr class="b"><th>Value</th><th>Description</th></tr><tr class="a"><td>true</td><td>Portlet Title Bar is displayed</td></tr><tr class="b"><td>false</td><td>Portlet Title Bar is NOT displayed</td></tr></table>
+ </td></tr><tr class="a"><td>_TimeToLive</td><td>
+ How long, in milliseconds, should the portlet remain idle
+ in cache. This parameter is used to override the default value.
+ <p>
+ Example: _TimeToLive = 300000 which is 5 minutes (5 * 60 * 1000)
+ and the portlet cached expires every 3 minutes.
+ </p>
+ <table class="bodyTable"><tr class="b" valign="top"><th>Time</th><th>Activity</th></tr><tr class="a" valign="top"><td>1:00</td><td>Portlet created</td></tr><tr class="b" valign="top"><td>1:00</td><td>User Joe displayed the portlet content</td></tr><tr class="a" valign="top"><td>1:03</td><td>Portlet marked as expired, the portlet's refresh() is called, the portlet is no longer expired</td></tr><tr class="b" valign="top"><td>1:05</td><td>User Sam displayed the portlet content</td></tr><tr class="a" valign="top"><td>1:06</td><td>Portlet marked as expired, the portlet's refresh() is called, the portlet is no longer expired</td></tr><tr class="b" valign="top"><td>1:09</td><td>Portlet marked as expired, the portlet's refresh() is called, the portlet is no longer expired</td></tr><tr class="a" valign="top"><td>1:12</td><td>Portlet marked as expired. Since the portlet has been idle for 7 minutes, the portlet will be removed from cache.</td></tr></table>
+ <p>
+ This parameter can be set in PSML or in the .xreg files.
+ </p>
+ <p>This parameter was added in version 1.3a3.</p>
+ </td></tr><tr class="b"><td>_control</td><td>
+ Overrides default portlet control with control specified.
+ <p>This parameter can be set in PSML or in the .xreg files.</p>
+ <p>If not present, default portlet control, as specified by <code>services.PortalToolkit.default.control</code>, is used.</p>
+ <p>This parameter was added in version 1.4b2.</p>
+ </td></tr></table></div><div class="section"><a name="Element:_url"></a><h2>Element: url</h2><p>
+ Since the configuration file is an XML file, some character must be represented using XML entities.
+ </p><table class="bodyTable"><tr class="a"><th>Character</th><th>XML Entity</th></tr><tr class="b"><td>&</td><td>&amp;</td></tr><tr class="a"><td><</td><td>&lt;</td></tr><tr class="b"><td>></td><td>&gt;</td></tr></table><table class="bodyTable"><tr class="a"><th>Allowable Protocols</th><th>Description</th></tr><tr class="b"><td>http://</td><td>Standard HTTP protocol is used to retrieve file or data</td></tr><tr class="a"><td> &nbsp; </td><td>File is local and path is relative to <jetspeed_home></td></tr></table><p><strong>Good URLs:</strong></p><dl>
+ <dt><tt><url>http://jakata.apache.org/jetspeed</url></tt></dt><dd>Basic URL</dd>
+ <dt><tt><url>http://search.yahoo.com/bin/search?p=jetspeed</url></tt></dt><dd>1 Parameter passed</dd>
+ <dt><tt><url>http://search.yahoo.com/search?p=jetspeed&amp;n=100</url></tt></dt><dd>2 Parameter passed</dd>
+ </dl><p><strong>Bad URLs:</strong></p><dl>
+ <dt><tt><url>index.html</url></tt></dt><dd>No protocol, http:// or hostname</dd>
+ <dt><tt><url>http://search.yahoo.com/search?p=jetspeed&n=100</url></tt></dt><dd>Contains & instead of &amp;.</dd>
+ </dl><p>
+ <strong>Remote URL caching:</strong>
+ </p><p>
+ Portlet types extending the FileWatchPortlet (for example, NewRSSPortlet), read their remote URLs using the JetspeedCache. JetspeedCache uses DiskCacheDaemon to
+ manage refreshing of these URLs upon their change or expiration. See the <a href="diskcache.html">DiskCache</a> for further details.
+ </p></div><div class="section"><a name="Element:_security-ref"></a><h2>Element: security-ref</h2><p>
+ Used by customizer to limit access to this item (portlet, parameter,...)
+ </p><table class="bodyTable"><tr class="b"><th>Attribute Name</th><th>Description</th></tr><tr class="a"><td>parent</td><td>Reference to an existing security constraint</td></tr></table><p>
+ See the <a href="security.html#Registry Access Control">Security</a> for further details.
+ </p></div><div class="section"><a name="Element:_media-type"></a><h2>Element: media-type</h2><p>
+ Media types that can display and configure portal.
+ </p><p>
+ Media types are define in <jetspeed_home>/WEB-INF/conf/media.xreg
+ </p><table class="bodyTable"><tr class="b"><th>Attribute Name</th><th>Description</th></tr><tr class="a"><td>ref</td><td>Media type.</td></tr></table></div><div class="section"><a name="Example_of_Registry_Entry"></a><h2>Example of Registry Entry</h2><p>
+ <center>Abstract Portal Entry</center>
+ </p>
+ <div class="source"><pre>
+<portlet-entry name="RSS" hidden="false" type="abstract" application="false">
+ <meta-info>
+ <title></title>
+ <description></description>
+ </meta-info>
+ <classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
+ <parameter name="stylesheet" value="/WEB-INF/xsl/rss.xsl" hidden="false">
+ <meta-info>
+ <title></title>
+ <description></description>
+ </meta-info>
+ <security role="admin"/>
+ </parameter>
+ <media-type ref="html"/>
+ <media-type ref="wml"/>
+</portlet-entry>
+</pre></div>
+ <p>
+ <center>Reference Portal Entry</center>
+ </p>
+ <div class="source"><pre>
+<portlet-entry name="RSS" hidden="false" type="ref" application="false">
+ <meta-info>
+ <title></title>
+ <description></description>
+ </meta-info>
+ <parameter name="" value="" hidden="false">
+ <meta-info>
+ <title></title>
+ <description></description>
+ </meta-info>
+ <security role=""/>
+ </parameter>
+</portlet-entry>
+</pre></div>
+ <p>
+ <center>Portal Entry using Parameter Styles</center>
+ </p>
+ <div class="source"><pre>
+<portlet-entry name="StockQuotePortlet" hidden="false" type="instance" application="false">
+ <meta-info>
+ <title></title>
+ <description></description>
+ </meta-info>
+ <parameter name="sort" value="Symbol" type="style"
+ hidden="false">
+ <meta-info>
+ <title>Sort</title>
+ <description>Column to sort by</description>
+ </meta-info>
+ </parameter>
+ <parameter name="sort.style" value="ListBox" hidden="true"/>
+ <parameter name="sort.style.items" value="Symbol,Volume,PChange" hidden="true"/>
+ <parameter name="columns"
+ value="Symbol,Quote,Date,Time,Change,PChange,Open,High,Low,Volume"
+ type="style" hidden="false">
+ <meta-info>
+ <title>Columns</title>
+ <description>Columns to display</description>
+ </meta-info>
+ </parameter>
+ <parameter name="columns.style.items"
+ value="Symbol,Quote,Date,Time,Change,PChange,Open,High,Low,Volume"
+ hidden="true"/>
+ <parameter name="columns.style.layout" value="$eastwest"
+ hidden="true"/>
+ <parameter name="columns.style" value="CheckBoxGroup"
+ hidden="true"/>
+ <parameter name="symbols"
+ value="MSFT,EMC,SUNW,ORCL,IBM"
+ type="style" hidden="false">
+ <meta-info>
+ <title>Symbols</title>
+ <description>List of comma-separated stock symbols</description>
+ </meta-info>
+ </parameter>
+ <parameter name="symbols.style" value="TextArea" hidden="true"/>
+</portlet-entry>
+</pre></div>
+ </div><div class="section"><a name="Example_of_use_in_Portal"></a><h2>Example of use in Portal</h2><p></p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2000-2006, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-1/portlet_config_common.html
------------------------------------------------------------------------------
svn:executable = *