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 ba86219 Updates production by Jenkins ba86219 is described below commit ba8621924602ba1703a47e8cffe679f78715a345 Author: jenkins <bui...@apache.org> AuthorDate: Thu Oct 5 06:50:02 2017 +0000 Updates production by Jenkins --- content/core-developers/chain-result.html | 52 +++++++++++++------------------ 1 file changed, 22 insertions(+), 30 deletions(-) diff --git a/content/core-developers/chain-result.html b/content/core-developers/chain-result.html index 0313204..8e5aad6 100644 --- a/content/core-developers/chain-result.html +++ b/content/core-developers/chain-result.html @@ -134,42 +134,34 @@ <h3 id="parameters">Parameters</h3> <ul> - <li> - <p><code class="highlighter-rouge">actionName</code> (default) - the name of the action that will be chained to.</p> - </li> - <li> - <p><code class="highlighter-rouge">namespace</code> - used to determine which namespace the Action is in that we’re chaining. If namespace is null, this defaults to the current namespace.</p> - </li> - <li> - <p><code class="highlighter-rouge">method</code> - used to specify another method on target action to be invoked. If null, this defaults to execute method.</p> - </li> - <li> - <p><code class="highlighter-rouge">skipActions</code> - (optional) the list of comma separated action names for the actions that could be chained to.</p> - </li> + <li><code class="highlighter-rouge">actionName</code> (default) - the name of the action that will be chained to.</li> + <li><code class="highlighter-rouge">namespace</code> - used to determine which namespace the Action is in that we’re chaining. If namespace is null, this defaults to the current namespace.</li> + <li><code class="highlighter-rouge">method</code> - used to specify another method on target action to be invoked. If null, this defaults to execute method.</li> + <li><code class="highlighter-rouge">skipActions</code> - (optional) the list of comma separated action names for the actions that could be chained to.</li> </ul> <h3 id="examples">Examples</h3> -<div class="highlighter-rouge"><pre class="highlight"><code><package name="public" extends="struts-default"> - <!-- Chain creatAccount to login, using the default parameter --> - <action name="createAccount" class="..."> - <result type="chain">login</result> - </action> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><package</span> <span class="na">name=</span><span class="s">"public"</span> <span class="na">extends=</span><span class="s">"struts-default"</span><span class="nt">></span> + <span class="c"><!-- Chain creatAccount to login, using the default parameter --></span> + <span class="nt"><action</span> <span class="na">name=</span><span class="s">"createAccount"</span> <span class="na">class=</span><span class="s">"..."</span><span class="nt">></span> + <span class="nt"><result</span> <span class="na">type=</span><span class="s">"chain"</span><span class="nt">></span>login<span class="nt"></result></span> + <span class="nt"></action></span> - <action name="login" class="..."> - <!-- Chain to another namespace --> - <result type="chain"> - <param name="actionName">dashboard</param> - <param name="namespace">/secure</param> - </result> - </action> -</package> + <span class="nt"><action</span> <span class="na">name=</span><span class="s">"login"</span> <span class="na">class=</span><span class="s">"..."</span><span class="nt">></span> + <span class="c"><!-- Chain to another namespace --></span> + <span class="nt"><result</span> <span class="na">type=</span><span class="s">"chain"</span><span class="nt">></span> + <span class="nt"><param</span> <span class="na">name=</span><span class="s">"actionName"</span><span class="nt">></span>dashboard<span class="nt"></param></span> + <span class="nt"><param</span> <span class="na">name=</span><span class="s">"namespace"</span><span class="nt">></span>/secure<span class="nt"></param></span> + <span class="nt"></result></span> + <span class="nt"></action></span> +<span class="nt"></package></span> -<package name="secure" extends="struts-default" namespace="/secure"> - <action name="dashboard" class="..."> - <result>dashboard.jsp</result> - </action> -</package> +<span class="nt"><package</span> <span class="na">name=</span><span class="s">"secure"</span> <span class="na">extends=</span><span class="s">"struts-default"</span> <span class="na">namespace=</span><span class="s">"/secure"</span><span class="nt">></span> + <span class="nt"><action</span> <span class="na">name=</span><span class="s">"dashboard"</span> <span class="na">class=</span><span class="s">"..."</span><span class="nt">></span> + <span class="nt"><result></span>dashboard.jsp<span class="nt"></result></span> + <span class="nt"></action></span> +<span class="nt"></package></span> </code></pre> </div> -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" <commits@struts.apache.org>'].