You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by cb...@apache.org on 2021/03/01 15:36:20 UTC
[velocity-site] branch asf-site updated: [site/prod] Push last
changes in prod
This is an automated email from the ASF dual-hosted git repository.
cbrisson pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/velocity-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a3995b5 [site/prod] Push last changes in prod
a3995b5 is described below
commit a3995b55d7fbed4f16b2c731cdc290f253af8713
Author: Claude Brisson <cl...@renegat.net>
AuthorDate: Mon Mar 1 16:35:47 2021 +0100
[site/prod] Push last changes in prod
---
.../apache/velocity/tools/view/BreadcrumbTool.html | 2 +-
tools/3.1/tools-summary.html | 28 ++++++++++++++++++++++
tools/devel/tools-summary.html | 28 ++++++++++++++++++++++
3 files changed, 57 insertions(+), 1 deletion(-)
diff --git a/tools/3.1/apidocs/org/apache/velocity/tools/view/BreadcrumbTool.html b/tools/3.1/apidocs/org/apache/velocity/tools/view/BreadcrumbTool.html
index 5b12b03..684b55a 100644
--- a/tools/3.1/apidocs/org/apache/velocity/tools/view/BreadcrumbTool.html
+++ b/tools/3.1/apidocs/org/apache/velocity/tools/view/BreadcrumbTool.html
@@ -145,7 +145,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable
'<code>_</code>' replaced by spaces, transformed to lowercase.</p>
<p>You can customize this displayed name and the URL of every path element using tools properties:</p>
<pre><code>
- <tool key="breadcrumb" colors.name="My Colors" colors.url="/colors/all.vhtml"/>
+ <tool key="breadcrumb" colors.name="My Colors" colors.url="/colors/all.vhtml"/>
</code></pre>
<p>where '<code>colors</code>' refers to the <code>/colors/</code> path element. The name and destination of the
root path element can be changed with '<code>home.name</code>' and '<code>home.url</code>'.</p>
diff --git a/tools/3.1/tools-summary.html b/tools/3.1/tools-summary.html
index cd3c483..6bf04b0 100644
--- a/tools/3.1/tools-summary.html
+++ b/tools/3.1/tools-summary.html
@@ -231,6 +231,7 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
</ul>
<h4 id="view-tools">View Tools<a class="headerlink" href="#view-tools" title="Permanent link">¶</a></h4>
<ul>
+<li><a href="#BreadcrumbTool"><code>$breadcrumb</code> - BreadcrumbTool (beta)</a></li>
<li><a href="#BrowserTool"><code>$browser</code> - BrowserTool</a>,</li>
<li><a href="#ViewContextTool"><code>$context</code> - ViewContextTool</a></li>
<li><a href="#CookieTool"><code>$cookie</code> - CookieTool</a>,</li>
@@ -1251,6 +1252,33 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
</tbody>
</table>
<h3 id="view-tools_1">View Tools<a class="headerlink" href="#view-tools_1" title="Permanent link">¶</a></h3>
+<h4 id="BreadcrumbTool"><a href="apidocs/org/apache/velocity/tools/view/BreadcrumbTool.html"><strong>BreadcrumbTool</strong></a> - (beta) Tool helping maintaining a breadcrumbs trail UI component (also called an Ariane thread).<a class="headerlink" href="#BreadcrumbTool" title="Permanent link">¶</a></h4>
+<table class="table">
+<thead>
+<tr>
+<th><strong><code>$breadcrumb</code></strong></th>
+<th></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td><strong>scope</strong></td>
+<td>session</td>
+</tr>
+<tr>
+<td><code>config.</code><em>segment</em><code>.name</code> [ = <code>null</code> ]</td>
+<td>an optional custom displayed name for the specific URI segment</td>
+</tr>
+<tr>
+<td><code>config.</code><em>segment</em><code>.url</code> [ = <code>null</code> ]</td>
+<td>an optional custom displayed URL for the specific URI segment</td>
+</tr>
+<tr>
+<td><code>$breadcrumb.iterator()</code></td>
+<td>Iterate on URI elements, like in <code>#foreach($elem in $breadcrumb)</code>. Usefull if you want to customize the default displayed breadcrumbs trail rendered with <code>$breadcrumb</code>.</td>
+</tr>
+</tbody>
+</table>
<h4 id="BrowserTool"><a href="apidocs/org/apache/velocity/tools/view/BrowserTool.html"><strong>BrowserTool</strong></a> - browser-sniffing tool; it defines properties that are used to test the client browser, operating system, device, language... apart from properties related to browser version and language, all properties are booleans.<a class="headerlink" href="#BrowserTool" title="Permanent link">¶</a></h4>
<table class="table">
<thead>
diff --git a/tools/devel/tools-summary.html b/tools/devel/tools-summary.html
index 456bca4..5da4d0a 100644
--- a/tools/devel/tools-summary.html
+++ b/tools/devel/tools-summary.html
@@ -231,6 +231,7 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
</ul>
<h4 id="view-tools">View Tools<a class="headerlink" href="#view-tools" title="Permanent link">¶</a></h4>
<ul>
+<li><a href="#BreadcrumbTool"><code>$breadcrumb</code> - BreadcrumbTool (beta)</a></li>
<li><a href="#BrowserTool"><code>$browser</code> - BrowserTool</a>,</li>
<li><a href="#ViewContextTool"><code>$context</code> - ViewContextTool</a></li>
<li><a href="#CookieTool"><code>$cookie</code> - CookieTool</a>,</li>
@@ -1251,6 +1252,33 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
</tbody>
</table>
<h3 id="view-tools_1">View Tools<a class="headerlink" href="#view-tools_1" title="Permanent link">¶</a></h3>
+<h4 id="BreadcrumbTool"><a href="apidocs/org/apache/velocity/tools/view/BreadcrumbTool.html"><strong>BreadcrumbTool</strong></a> - (beta) Tool helping maintaining a breadcrumbs trail UI component (also called an Ariane thread).<a class="headerlink" href="#BreadcrumbTool" title="Permanent link">¶</a></h4>
+<table class="table">
+<thead>
+<tr>
+<th><strong><code>$breadcrumb</code></strong></th>
+<th></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td><strong>scope</strong></td>
+<td>session</td>
+</tr>
+<tr>
+<td><code>config.</code><em>segment</em><code>.name</code> [ = <code>null</code> ]</td>
+<td>an optional custom displayed name for the specific URI segment</td>
+</tr>
+<tr>
+<td><code>config.</code><em>segment</em><code>.url</code> [ = <code>null</code> ]</td>
+<td>an optional custom displayed URL for the specific URI segment</td>
+</tr>
+<tr>
+<td><code>$breadcrumb.iterator()</code></td>
+<td>Iterate on URI elements, like in <code>#foreach($elem in $breadcrumb)</code>. Usefull if you want to customize the default displayed breadcrumbs trail rendered with <code>$breadcrumb</code>.</td>
+</tr>
+</tbody>
+</table>
<h4 id="BrowserTool"><a href="apidocs/org/apache/velocity/tools/view/BrowserTool.html"><strong>BrowserTool</strong></a> - browser-sniffing tool; it defines properties that are used to test the client browser, operating system, device, language... apart from properties related to browser version and language, all properties are booleans.<a class="headerlink" href="#BrowserTool" title="Permanent link">¶</a></h4>
<table class="table">
<thead>