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 a31e4e4  Updates production by Jenkins
a31e4e4 is described below

commit a31e4e47698ac5e2c049b00278eb9336e0ccc5ec
Author: jenkins <bui...@apache.org>
AuthorDate: Fri Oct 6 05:05:50 2017 +0000

    Updates production by Jenkins
---
 content/core-developers/postback-result.html       | 53 ++++++++++++++++++++--
 .../using-visitor-field-validator.html             | 26 ++++++++++-
 content/core-developers/velocity-result.html       | 47 +++++++++++++++++--
 content/tag-developers/ajax-common-header.html     |  5 +-
 content/tag-developers/div-tag.html                |  3 +-
 5 files changed, 125 insertions(+), 9 deletions(-)

diff --git a/content/core-developers/postback-result.html 
b/content/core-developers/postback-result.html
index 6ade612..cf3fc86 100644
--- a/content/core-developers/postback-result.html
+++ b/content/core-developers/postback-result.html
@@ -131,15 +131,62 @@
 
 <p>####Description####</p>
 
-<p>START SNIPPET: description not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/dispatcher/PostbackResult.java;hb=HEAD</p>
+<p> <p>
+
+ A result that renders the current request parameters as a form which
+
+ immediately submits a <a 
href="http://en.wikipedia.org/wiki/Postback";>postback</a>
+
+ to the specified destination.
+
+ </p>
+</p>
 
 <p>####Parameters####</p>
 
-<p>START SNIPPET: params not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/dispatcher/PostbackResult.java;hb=HEAD</p>
+<p> <ul>
+
+     <li>location - http location to post the form</li>
+
+     <li>prependServletContext (true|false) -  when location is relative, 
controls if to add Servlet Context, default "true"</li>
+
+     <li>actionName - action name to post the form (resolved as an 
expression)</li>
+
+     <li>namespace - action's namespace to use (resolved as an expression)</li>
+
+     <li>method - actions' method to use (resolved as an expression)</li>
+
+     <li>cache (true|false) - when set to true adds cache control headers, 
default "true"</li>
+
+     <li>parse (true|false) - when set to true actionName, namespace and 
method are parsed, default "true"</li>
+
+ </ul>
+</p>
 
 <p>####Examples####</p>
 
-<div class="highlighter-rouge"><pre class="highlight"><code>START SNIPPET: 
example not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/dispatcher/PostbackResult.java;hb=HEAD
+<div class="highlighter-rouge"><pre class="highlight"><code>
+ <span class="nt">&lt;action</span> <span class="na">name=</span><span 
class="s">"registerThirdParty"</span> <span class="nt">&gt;</span>
+
+   <span class="nt">&lt;result</span> <span class="na">type=</span><span 
class="s">"postback"</span><span 
class="nt">&gt;</span>https://www.example.com/register<span 
class="nt">&lt;/result&gt;</span>
+
+ <span class="nt">&lt;/action&gt;</span>
+
+
+
+ <span class="nt">&lt;action</span> <span class="na">name=</span><span 
class="s">"registerThirdParty"</span> <span class="nt">&gt;</span>
+
+   <span class="nt">&lt;result</span> <span class="na">type=</span><span 
class="s">"postback"</span><span class="nt">&gt;</span>
+
+     <span class="nt">&lt;param</span> <span class="na">name=</span><span 
class="s">"namespace"</span><span class="nt">&gt;</span>/secure<span 
class="nt">&lt;/param&gt;</span>
+
+     <span class="nt">&lt;param</span> <span class="na">name=</span><span 
class="s">"actionName"</span><span class="nt">&gt;</span>register2<span 
class="nt">&lt;/param&gt;</span>
+
+   <span class="nt">&lt;/result&gt;</span>
+
+ <span class="nt">&lt;/action&gt;</span>
+
+
 </code></pre>
 </div>
 
diff --git a/content/core-developers/using-visitor-field-validator.html 
b/content/core-developers/using-visitor-field-validator.html
index 41600dc..60cc023 100644
--- a/content/core-developers/using-visitor-field-validator.html
+++ b/content/core-developers/using-visitor-field-validator.html
@@ -180,10 +180,34 @@
 
 <p>Create the validator.xml.</p>
 
-<div class="highlighter-rouge"><pre class="highlight"><code>START SNIPPET: 
visitorValidatorsExample not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/VisitorValidatorsExampleAction-submitVisitorValidatorsExamples-validation.xml;hb=HEAD
+<div class="highlighter-rouge"><pre class="highlight"><code>
+
+
+<span class="nt">&lt;validators&gt;</span>
+
+       <span class="nt">&lt;field</span> <span class="na">name=</span><span 
class="s">"user"</span><span class="nt">&gt;</span>
+
+               <span class="nt">&lt;field-validator</span> <span 
class="na">type=</span><span class="s">"visitor"</span><span 
class="nt">&gt;</span>
+
+                       <span class="nt">&lt;param</span> <span 
class="na">name=</span><span class="s">"context"</span><span 
class="nt">&gt;</span>userContext<span class="nt">&lt;/param&gt;</span>
+
+                       <span class="nt">&lt;param</span> <span 
class="na">name=</span><span class="s">"appendPrefix"</span><span 
class="nt">&gt;</span>true<span class="nt">&lt;/param&gt;</span>
+
+                       <span class="nt">&lt;message&gt;</span>User:<span 
class="nt">&lt;/message&gt;</span>
+
+               <span class="nt">&lt;/field-validator&gt;</span>
+
+       <span class="nt">&lt;/field&gt;</span>
+
+<span class="nt">&lt;/validators&gt;</span>
+
+
+
+
 </code></pre>
 </div>
 
+
   </section>
 </article>
 
diff --git a/content/core-developers/velocity-result.html 
b/content/core-developers/velocity-result.html
index c16c6ab..e576e29 100644
--- a/content/core-developers/velocity-result.html
+++ b/content/core-developers/velocity-result.html
@@ -129,15 +129,56 @@
     <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>START SNIPPET: description not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/dispatcher/VelocityResult.java;hb=HEAD</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>
 
 <p>####Parameters####</p>
 
-<p>START SNIPPET: params not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/dispatcher/VelocityResult.java;hb=HEAD</p>
+<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>
 
 <p>####Examples####</p>
 
-<div class="highlighter-rouge"><pre class="highlight"><code>START SNIPPET: 
example not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/dispatcher/VelocityResult.java;hb=HEAD
+<div class="highlighter-rouge"><pre class="highlight"><code>
+ <span class="nt">&lt;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">&gt;</span>
+
+   <span class="nt">&lt;param</span> <span class="na">name=</span><span 
class="s">"location"</span><span class="nt">&gt;</span>foo.vm<span 
class="nt">&lt;/param&gt;</span>
+
+ <span class="nt">&lt;/result&gt;</span>
+
+
 </code></pre>
 </div>
 
diff --git a/content/tag-developers/ajax-common-header.html 
b/content/tag-developers/ajax-common-header.html
index 71eb510..1f3ae2e 100644
--- a/content/tag-developers/ajax-common-header.html
+++ b/content/tag-developers/ajax-common-header.html
@@ -7644,7 +7644,10 @@ __Description__
 
 
 
-<p>START SNIPPET: javadoc not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/components/Div.java;hb=HEAD</p>
+
+<p> Creates an HTML \&lt;div\&gt;
+</p>
+
 
 
 
diff --git a/content/tag-developers/div-tag.html 
b/content/tag-developers/div-tag.html
index 6049ac9..03aa7e3 100644
--- a/content/tag-developers/div-tag.html
+++ b/content/tag-developers/div-tag.html
@@ -131,7 +131,8 @@
 
 <p><strong>Description</strong></p>
 
-<p>START SNIPPET: javadoc not found in 
https://gitbox.apache.org/repos/asf?p=struts.git;a=blob_plain;f=core/src/main/java/org/apache/struts2/components/Div.java;hb=HEAD</p>
+<p> Creates an HTML \&lt;div\&gt;
+</p>
 
 <table>
   <tbody>

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Reply via email to