raphael 2002/11/15 07:50:33
Modified: docs/site registry.html registry_syntax.html
Log:
Update to registry documentation. Should now be complete
Revision Changes Path
1.2 +10 -11 jakarta-jetspeed/docs/site/registry.html
Index: registry.html
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/docs/site/registry.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- registry.html 14 Nov 2002 22:47:17 -0000 1.1
+++ registry.html 15 Nov 2002 15:50:33 -0000 1.2
@@ -5,6 +5,7 @@
<!-- start the processing -->
<!-- ====================================================================== -->
+ <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
<!-- Main Page Section -->
<!-- ====================================================================== -->
<html>
@@ -84,8 +85,6 @@
</ul>
<p><strong>Components</strong></p>
<ul>
- <li> <a href="./registry.html">Registry</a>
-</li>
<li> <a href="./security.html">Security</a>
</li>
<li> <a href="./content-syndication.html">Syndication</a>
@@ -158,16 +157,16 @@
</p>
<table>
<tr>
- <td bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Element
</font>
-</td>
- <td bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
+</th>
+ <th bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Description
</font>
-</td>
+</th>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top"
align="left">
@@ -203,7 +202,7 @@
and provides access to the portal actions defined for the portlet, like
customization.
Only controls defined the Registry can be used in the user pages.
<p>
- For more information on controls, check out the <a href="">Jetspeed Layout
overview</a>.
+ For more information on controls, check out the <a
href="layout.html">Jetspeed Layout overview</a>.
</p>
</font>
@@ -226,7 +225,7 @@
By default, all the controllers defined in the registry are available for
users to customize
their page layout.
<p>
- For more information on controllers, check out the <a href="">Jetspeed
Layout overview</a>.
+ For more information on controllers, check out the <a
href="layout.html">Jetspeed Layout overview</a>.
</p>
</font>
@@ -247,7 +246,7 @@
The skins define the color schemes used by the portal on a specific user
page (or part
of a page)
<p>
- For more information on skins, check out the <a href="">Jetspeed Layout
overview</a>.
+ For more information on skins, check out the <a
href="layout.html">Jetspeed Layout overview</a>.
</p>
</font>
@@ -269,7 +268,7 @@
this specific instance of Jetspeed. Working in cunjunction with the Clients
defintion,
it enables you to control how the different user-agents access your portal
<p>
- For more information on client handling, check out the <a href="">Client
detection</a>.
+ For more information on client handling, check out the <a
href="client-media.html">Client detection</a>.
</p>
</font>
@@ -290,7 +289,7 @@
The clients definitions entries are used to describe user agent capabilities
and in
cunjunction with Media types information define how the clients access the
portal
<p>
- For more information on client handling, check out the <a href="">Client
detection</a>.
+ For more information on client handling, check out the <a
href="client-media.html">Client detection</a>.
</p>
</font>
1.2 +583 -33 jakarta-jetspeed/docs/site/registry_syntax.html
Index: registry_syntax.html
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/docs/site/registry_syntax.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- registry_syntax.html 14 Nov 2002 22:47:17 -0000 1.1
+++ registry_syntax.html 15 Nov 2002 15:50:33 -0000 1.2
@@ -5,6 +5,7 @@
<!-- start the processing -->
<!-- ====================================================================== -->
+ <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
<!-- Main Page Section -->
<!-- ====================================================================== -->
<html>
@@ -84,8 +85,6 @@
</ul>
<p><strong>Components</strong></p>
<ul>
- <li> <a href="./registry.html">Registry</a>
-</li>
<li> <a href="./security.html">Security</a>
</li>
<li> <a href="./content-syndication.html">Syndication</a>
@@ -148,6 +147,7 @@
<li><a href="#Media">Media Types</a></li>
<li><a href="#Client">Clients</a></li>
<li><a href="#Security">Security entries</a></li>
+ <li><a href="#Strandard">Standard attributes</a></li>
</ul>
</blockquote>
</p>
@@ -376,28 +376,28 @@
</p>
<table>
<tr>
- <td bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Name
</font>
-</td>
- <td bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
+</th>
+ <th bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Minimum<br />Version
</font>
-</td>
- <td bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
+</th>
+ <th bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Usage
</font>
-</td>
+</th>
</tr>
<tr>
- <td bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
_showtitlebar
</font>
-</td>
+</th>
<td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
1.4b1
@@ -414,11 +414,11 @@
</td>
</tr>
<tr>
- <td bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
_control
</font>
-</td>
+</th>
<td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
1.4b2
@@ -572,7 +572,13 @@
<tr><td>
<blockquote>
<p>
- The <code>portlet-control-entry</code> element defines
+ The <code>portlet-control-entry</code> element defines the available
+ <code>PortletControl</code> available to decorate the different portlets.
+ </p>
+ <p>
+ The <code>portlet-control-entry</code> definition is nearly identical
+ to those of instance type <code>portlet-entry</code>, expect that there's
+ no <code>category</code>, <code>url</code> or caching related attributes.
</p>
</blockquote>
</td></tr>
@@ -644,7 +650,9 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ </p>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -656,7 +664,40 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ A typical control defintion will use the default
<code>VelocityPortletControl</code>
+ and simply specify the associated template and working parameters.
+ </p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#ffffff"><pre>
+<portlet-control-entry name="TitlePortletControl">
+
<classname>org.apache.jetspeed.portal.controls.VelocityPortletControl</classname>
+ <parameter name="theme" value="jetspeed.vm"/>
+ <meta-info>
+ <title>Simple titled control</title>
+ </meta-info>
+ <media-type ref="html"/>
+ <media-type ref="wml"/>
+</portlet-control-entry>
+ </pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -682,7 +723,11 @@
<tr><td>
<blockquote>
<p>
- The <code>portlet-controller-entry</code> element
+ The <code>portlet-controller-entry</code> element defines the available
+ <code>PortletController</code> that are used to lay out a pane content.
+ </p>
+ <p>
+ The syntax and usage of this element is exactly the same as the
<code>portlet-control-entry</code>
</p>
</blockquote>
</td></tr>
@@ -742,7 +787,9 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ </p>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -754,7 +801,42 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ A typical controller defintion will use the default
<code>VelocityPortletController</code>
+ and simply specify the associated template and working parameters.
+ </p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#ffffff"><pre>
+<portlet-controller-entry name="TwoColumns">
+
<classname>org.apache.jetspeed.portal.controllers.VelocityPortletController</classname>
+ <parameter name="template" value="multicolumn.vm" />
+ <parameter name="action"
value="controllers.MultiColumnControllerAction" />
+ <parameter name="sizes" value="50%,50%" />
+ <parameter name="cols" value="2" />
+ <media-type ref="html"/>
+ <meta-info>
+ <title>Two columns (50/50)</title>
+ </meta-info>
+</portlet-controller-entry>
+ </pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -780,7 +862,9 @@
<tr><td>
<blockquote>
<p>
- The <code>skin-entry</code> element
+ The <code>skin-entry</code> element defines the color scheme that can
be used to decorate
+ the portal pages. It contists of a simple named list of properties that can
be associated
+ to a portal or pane on a portal page.
</p>
</blockquote>
</td></tr>
@@ -804,7 +888,7 @@
<tr>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
<td bgcolor="#ffffff"><pre>
-<!ELEMENT skin-entry ( property+ )>
+<!ELEMENT skin-entry ( property+ )>
<!ATTLIST skin-entry
name ID #REQUIRED
hidden ( true | false ) "false" >
@@ -814,7 +898,6 @@
name CDATA #REQUIRED
value CDATA #REQUIRED
type (int | boolean | string | list) "string" >
-
</pre></td>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
</tr>
@@ -837,7 +920,197 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ The following properties are currently used by the default controls and
controllers.
+ It's possible to freely add new properties.
+ </p>
+ <p>
+ These properties are only styling hints that may be disregarded by some
controls or
+ controllers.
+ </p>
+ <table>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Name
+ </font>
+</th>
+ <th bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Description
+ </font>
+</th>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ text-color
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The default text color for portlet content
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ background-color
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The default background color for portlet context
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ title-text-color
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The default text color within a control titlebar
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ title-background-color
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The default background color within a control titlebar
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ highlight-text-color
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The default text color for the selected pane title within a paned
titlebar
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ highlight-background-color
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The default background color for the selected pane title within a
paned titlebar
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ title-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for a control titlebar.
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ highlight-title-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for the selected pane title within a paned
titlebar
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ controller-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for a controller-managed content area
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ portlet-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for a portlet area
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ content-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for portlet content
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ tab-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for a tabbed pane area
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ tab-title-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for the title area in a tabbed pane
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ tab-content-style-class
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ The CSS class name for the content area in a tabbed pane
+ </font>
+</td>
+ </tr>
+ </table>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -849,7 +1122,47 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ This example presents the default skin definition used by the default
Jetspeed
+ portal.
+ </p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#ffffff"><pre>
+<skin-entry name="orange-grey">
+ <property name="text-color" value="#000000"/>
+ <property name="background-color" value="#ffffff"/>
+ <property name="title-text-color" value="#000000"/>
+ <property name="title-background-color"
value="#dddddd"/>
+ <property name="title-style-class"
value="TitleStyleClass"/>
+ <property name="highlight-text-color" value="#000000"/>
+ <property name="highlight-background-color"
value="#FFCC00"/>
+ <property name="highlight-title-style-class"
value="HighlightTitleStyleClass"/>
+ <property name="controller-style-class"
value="ControllerStyleClass"/>
+ <property name="portlet-style-class"
value="PortletStyleClass"/>
+ <property name="content-style-class"
value="ContentStyleClass"/>
+ <property name="tab-style-class" value="TabStyleClass"/>
+ <property name="tab-title-style-class"
value="TabTitleStyleClass"/>
+ <property name="tab-content-style-class"
value="TabContentStyleClass"/>
+</skin-entry>
+ </pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -875,7 +1188,18 @@
<tr><td>
<blockquote>
<p>
- The <code>media-type-entry</code> element
+ The <code>media-type-entry</code> element defines the media types
+ supported the portal instance.
+ </p>
+ <p>
+ These media types are defined by a MIME content type, an optional character
set
+ and an optional set of user agent capabilities required to correctly access
this
+ media type.
+ </p>
+ <p>
+ The media types are referenced by the <code>portlet-entry</code>,
+ <code>portlet-control-entry</code> and
<code>portlet-controller-entry</code> to
+ define when these entries can be used.
</p>
</blockquote>
</td></tr>
@@ -907,11 +1231,11 @@
name ID #REQUIRED
hidden ( true | false ) "false" >
-<!ELEMENT mime-type CDATA>
-<!ELEMENT character-set CDATA>
+<!ELEMENT mime-type CDATA>
+<!ELEMENT character-set CDATA>
<!ELEMENT capability-map ( capability* )>
-<!ELEMENT capability CDATA>
+<!ELEMENT capability CDATA>
</pre></td>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
</tr>
@@ -934,7 +1258,15 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ These elements needs to be ordered from most preferred to least preferred
+ for the client detection to work correctly.
+ </p>
+ <p>
+ For more information, see the <a href="client-media.html">Client media
detection</a>
+ document.
+ </p>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -946,7 +1278,39 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#ffffff"><pre>
+<media-type-entry name="html">
+ <mime-type>text/html</mime-type>
+ <character-set>UTF-8</character-set>
+ <meta-info>
+ <title>HTML</title>
+ <description>Rich HTML for HTML 4.0 compliants
browsers</description>
+ </meta-info>
+ <capability-map>
+ <capability>HTML_TABLE</capability>
+ <capability>HTML_IMAGE</capability>
+ </capability-map>
+</media-type-entry>
+ </pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -972,7 +1336,9 @@
<tr><td>
<blockquote>
<p>
- The <code>client-entry</code> element
+ The <code>client-entry</code> element, introduced in the Jetspeed release
1.4b2,
+ describes known user agents and their capabilities in handling the different
+ content-types.
</p>
</blockquote>
</td></tr>
@@ -1039,7 +1405,15 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ These elements needs to be ordered from most preferred to least preferred
+ for the client detection to work correctly.
+ </p>
+ <p>
+ For more information, see the <a href="client-media.html">Client media
detection</a>
+ document.
+ </p>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -1051,7 +1425,57 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#ffffff"><pre>
+<client-entry name="mozilla">
+ <user-agent-pattern>.*Mozilla/5.*</user-agent-pattern>
+ <manufacturer>Mozilla</manufacturer>
+ <model>Mozilla</model>
+ <version>1.1</version>
+ <mimetype-map>
+ <mimetype>text/html</mimetype>
+ <mimetype>text/xhtml</mimetype>
+ <mimetype>text/xml</mimetype>
+ </mimetype-map>
+ <capability-map>
+ <capability>HTML_3_2</capability>
+ <capability>HTML_4_0</capability>
+ <capability>HTML_JAVA</capability>
+ <capability>HTML_JAVA_JRE</capability>
+ <capability>HTML_JAVASCRIPT</capability>
+ <capability>HTML_TABLE</capability>
+ <capability>HTML_NESTED_TABLE</capability>
+ <capability>HTML_FORM</capability>
+ <capability>HTML_FRAME</capability>
+ <capability>HTML_IFRAME</capability>
+ <capability>HTML_IMAGE</capability>
+ <capability>HTML_CSS1</capability>
+ <capability>HTML_CSS2</capability>
+ <capability>HTML_CSSP</capability>
+ <capability>HTML_DOM_1</capability>
+ <capability>HTML_PLUGIN</capability>
+ <capability>HTTP_COOKIE</capability>
+ </capability-map>
+</client-entry>
+ </pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -1139,7 +1563,10 @@
</td></tr>
<tr><td>
<blockquote>
- </blockquote>
+ <p>
+ See the <a href="security.html">Security system overview</a>
+ </p>
+ </blockquote>
</td></tr>
<tr><td><br/></td></tr>
</table>
@@ -1183,6 +1610,129 @@
</tr>
</table>
</div>
+ </blockquote>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+ </blockquote>
+ </p>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+ <table border="0" cellspacing="0"
cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Standard"><strong>Standard</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <table border="0" cellspacing="0"
cellpadding="2" width="100%">
+ <tr><td bgcolor="#828DA6">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Overview"><strong>Overview</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+ Several attributes and inner elements can be found in all registry entry
types
+ with similar semantics. This section describes these attributes and
elements.
+ </p>
+ <table>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Name
+ </font>
+</th>
+ <th bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Type
+ </font>
+</th>
+ <th bgcolor="#039acc" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ Description
+ </font>
+</th>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ hidden
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ attribute
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+
+ <p>
+ The <code>hidden</code> attribute that can be set on the registry
entries and
+ parameters to prevent them from being visible in a user browser.
+ </p>
+ <p>
+ Usage of this attribute should considered deprecated since the same
functionality
+ can be achieved better by using the <code>security</code> elements.
+ </p>
+
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ meta-info
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ element
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+
+ <p>
+ The <code>meta-info</code> element is used to describe properties of
the registry entry.
+ It can currently contains the 3 following sub-elements:
+ </p>
+ <ul>
+ <li>title</li>
+ <li>description</li>
+ <li>image</li>
+ </ul>
+
+ </font>
+</td>
+ </tr>
+ <tr>
+ <th bgcolor="#039acc" colspan="" rowspan="" valign="top"
align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ security-ref
+ </font>
+</th>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ element
+ </font>
+</td>
+ <td bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+
+ <p>
+ The <code>security-ref</code> element is used to describe access
rights on the registry
+ entry or parameter considered.
+ </p>
+
+ </font>
+</td>
+ </tr>
+ </table>
</blockquote>
</td></tr>
<tr><td><br/></td></tr>
--
To unsubscribe, e-mail: <mailto:jetspeed-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@;jakarta.apache.org>