This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/asf-site by this push: new 356819120 Automatic Site Publish by Buildbot 356819120 is described below commit 35681912054e9d12e9a1c1c10b434c626c17d718 Author: buildbot <us...@infra.apache.org> AuthorDate: Mon Jun 27 05:52:43 2022 +0000 Automatic Site Publish by Buildbot --- output/core-developers/velocity-result.html | 52 ++++-------------- .../velocity/index.html} | 64 ++++------------------ 2 files changed, 20 insertions(+), 96 deletions(-) diff --git a/output/core-developers/velocity-result.html b/output/core-developers/velocity-result.html index 47496d169..0a1ac1245 100644 --- a/output/core-developers/velocity-result.html +++ b/output/core-developers/velocity-result.html @@ -131,59 +131,27 @@ <a class="edit-on-gh" href="https://github.com/apache/struts-site/edit/master/source/core-developers/velocity-result.md" title="Edit this page on GitHub">Edit on GitHub</a> <h1 id="velocity-result">Velocity Result</h1> -<p> - - Using the Servlet container's {@link JspFactory}, this result mocks a JSP - - execution environment and then displays a Velocity template that will be - - streamed directly to the servlet output. - - -</p> +<p>Using the Servlet container’s {@link JspFactory}, this result mocks a JSP execution environment and then displays +a Velocity template that will be streamed directly to the servlet output.</p> <h2 id="parameters">Parameters</h2> -<p> - - <ul> - - - - <li><b>location (default)</b> - the location of the template to process.</li> - - - - <li><b>parse</b> - true by default. If set to false, the location param will +<ul> + <li>location (default) - the location of the template to process.</li> + <li>parse (true by default) - if set to false, the location param will not be parsed for Ognl expressions.</li> +</ul> - not be parsed for Ognl expressions.</li> - - - - </ul> - - <p> - - This result follows the same rules from {@link StrutsResultSupport}. - - </p> - - -</p> +<p>This result follows the same rules from {@link StrutsResultSupport}.</p> <h2 id="examples">Examples</h2> -<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> - <span class="nt"><result</span> <span class="na">name=</span><span class="s">"success"</span> <span class="na">type=</span><span class="s">"velocity"</span><span class="nt">></span> - - <span class="nt"><param</span> <span class="na">name=</span><span class="s">"location"</span><span class="nt">></span>foo.vm<span class="nt"></param></span> - - <span class="nt"></result></span> +<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><result</span> <span class="na">name=</span><span class="s">"success"</span> <span class="na">type=</span><span class="s">"velocity"</span><span class="nt">></span> + <span class="nt"><param</span> <span class="na">name=</span><span class="s">"location"</span><span class="nt">></span>foo.vm<span class="nt"></param></span> +<span class="nt"></result></span> </code></pre></div></div> - </section> </article> diff --git a/output/core-developers/velocity-result.html b/output/plugins/velocity/index.html similarity index 85% copy from output/core-developers/velocity-result.html copy to output/plugins/velocity/index.html index 47496d169..4cb82135f 100644 --- a/output/core-developers/velocity-result.html +++ b/output/plugins/velocity/index.html @@ -7,7 +7,7 @@ <meta http-equiv="Content-Language" content="en"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <title>Velocity Result</title> + <title>Velocity plugin</title> <link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic,600italic,700italic" rel="stylesheet" type="text/css"> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> @@ -127,62 +127,18 @@ <article class="container"> <section class="col-md-12"> - <a href="index.html" title="back to Core Developers Guide"><< back to Core Developers Guide</a> - <a class="edit-on-gh" href="https://github.com/apache/struts-site/edit/master/source/core-developers/velocity-result.md" title="Edit this page on GitHub">Edit on GitHub</a> - <h1 id="velocity-result">Velocity Result</h1> + <a class="edit-on-gh" href="https://github.com/apache/struts-site/edit/master/source/plugins/velocity/index.md" title="Edit this page on GitHub">Edit on GitHub</a> + + <a href="index.html" title="back to Plugins"><< back to Plugins</a> + + <h1 id="velocity-plugin">Velocity Plugin</h1> -<p> +<p>The Velocity plugin provides integration with the <a href="https://velocity.apache.org">Velocity</a> a Java-based template engine.</p> - Using the Servlet container's {@link JspFactory}, this result mocks a JSP - - execution environment and then displays a Velocity template that will be - - streamed directly to the servlet output. - - -</p> - -<h2 id="parameters">Parameters</h2> - -<p> - - <ul> - - - - <li><b>location (default)</b> - the location of the template to process.</li> - - - - <li><b>parse</b> - true by default. If set to false, the location param will - - not be parsed for Ognl expressions.</li> - - - - </ul> - - <p> - - This result follows the same rules from {@link StrutsResultSupport}. - - </p> - - -</p> - -<h2 id="examples">Examples</h2> - -<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> - <span class="nt"><result</span> <span class="na">name=</span><span class="s">"success"</span> <span class="na">type=</span><span class="s">"velocity"</span><span class="nt">></span> - - <span class="nt"><param</span> <span class="na">name=</span><span class="s">"location"</span><span class="nt">></span>foo.vm<span class="nt"></param></span> - - <span class="nt"></result></span> - - -</code></pre></div></div> +<p>This plugin provides a dedicated <a href="../../core-developers/velocity-result">Result</a>, all the <a href="../../tag-developers/velocity-tags">Struts tags</a> +based on Velocity templates and all other Velocity related features.</p> +<p>You must include this plugin in your <code class="highlighter-rouge">pom.xml</code> to use those features.</p> </section> </article>