Author: rwatler
Date: Tue Dec 22 20:51:53 2009
New Revision: 893312
URL: http://svn.apache.org/viewvc?rev=893312&view=rev
Log:
add '@0', '@1'..'@N', and '@$' current path patterns support for menu options:
used to make menu options relative to current portal page path
Modified:
portals/site/jetspeed/jetspeed-2.2/jetspeed-guide-deploy/src/site/xdoc/guide-menus-declarative-psml.xml
Modified:
portals/site/jetspeed/jetspeed-2.2/jetspeed-guide-deploy/src/site/xdoc/guide-menus-declarative-psml.xml
URL:
http://svn.apache.org/viewvc/portals/site/jetspeed/jetspeed-2.2/jetspeed-guide-deploy/src/site/xdoc/guide-menus-declarative-psml.xml?rev=893312&r1=893311&r2=893312&view=diff
==============================================================================
---
portals/site/jetspeed/jetspeed-2.2/jetspeed-guide-deploy/src/site/xdoc/guide-menus-declarative-psml.xml
(original)
+++
portals/site/jetspeed/jetspeed-2.2/jetspeed-guide-deploy/src/site/xdoc/guide-menus-declarative-psml.xml
Tue Dec 22 20:51:53 2009
@@ -90,7 +90,7 @@
</tr>
<tr>
<td>options</td>
- <td>Specifies root document path for this menu if deep inclusion of
documents and folders is specified by this menu. This attribute may also define
document paths that specify page, folder, or link menu options. Paths specified
in this attribute are <a href="#Portal_Site_Component">Page URIs</a>; these
URIs may or may not directly reflect the folder and page hierarchy. The <a
href="#Portal_Site_Component">Portal Site Component</a> maps these options
paths to PSML folder and page elements. Multiple option paths can be specified
as a comma separated list of paths and/or regular expression patterns. Relative
paths are interpreted as relative to the current page. Special patterns, '~' or
'@', can be used to reference the current page.</td>
+ <td>Specifies root document path for this menu if deep inclusion of
documents and folders is specified by this menu. This attribute may also define
document paths that specify page, folder, or link menu options. Paths specified
in this attribute are <a href="#Portal_Site_Component">Page URIs</a>; these
URIs may or may not directly reflect the folder and page hierarchy. The <a
href="#Portal_Site_Component">Portal Site Component</a> maps these options
paths to PSML folder and page elements. Multiple option paths can be specified
as a comma separated list of paths and/or regular expression patterns. Relative
paths are interpreted as relative to the current page. Special patterns, '~' or
'@', can be used to reference the current page. Elements of the current page
path can be referenced within options using one of the following special
patterns: '@0', '@1'..'@N', or '@$'. The '@0' pattern is replaces with the
whole current path, (trimmed of leading and trailing separators). T
he '@N' pattern is replaced with the Nth, (one based index), path element of
the current path. Finally, the '@$' pattern is replaced with the last element,
(normally a page name), of the current path.</td>
</tr>
<tr>
<td>depth</td>
@@ -223,7 +223,7 @@
<section name='Menu Options Definition'>
<p>
-The <options> element defines a single or multiple options within a <a
href="#Menu_Definition">menu</a>. The text of this simple element specifies
document paths that yield page, folder, or link menu options. Paths specified
in this element are <a href="#Portal_Site_Component">Page URIs</a>; these URIs
may or may not directly reflect the folder and page hierarchy. The <a
href="#Portal_Site_Component">Portal Site Component</a> maps these options
paths to PSML folder and page elements. Multiple option paths can be specified
as a comma separated list of paths and/or regular expression patterns. Relative
paths are interpreted as relative to the current page. Special patterns, '~' or
'@', can be used to reference the current page. This element shares many
attributes in common with the menu element:
+The <options> element defines a single or multiple options within a <a
href="#Menu_Definition">menu</a>. The text of this simple element specifies
document paths that yield page, folder, or link menu options. Paths specified
in this element are <a href="#Portal_Site_Component">Page URIs</a>; these URIs
may or may not directly reflect the folder and page hierarchy. The <a
href="#Portal_Site_Component">Portal Site Component</a> maps these options
paths to PSML folder and page elements. Multiple option paths can be specified
as a comma separated list of paths and/or regular expression patterns. Relative
paths are interpreted as relative to the current page. Special patterns, '~' or
'@', can be used to reference the current page. Elements of the current page
path can be referenced within options using one of the following special
patterns: '@0', '@1'..'@N', or '@$'. The '@0' pattern is replaces with the
whole current path, (trimmed of leading and trailing separators). The
'@N' pattern is replaced with the Nth, (one based index), path element of the
current path. Finally, the '@$' pattern is replaced with the last element,
(normally a page), of the current path. This element shares many attributes in
common with the menu element:
</p>
<table>
<tr>