This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/asf-staging by this push: new 37b49bb0c Updates stage by Jenkins 37b49bb0c is described below commit 37b49bb0c7dde5efb8f1722053582074c7914beb Author: jenkins <bui...@apache.org> AuthorDate: Sun Oct 29 13:14:51 2023 +0000 Updates stage by Jenkins --- content/tag-developers/include-tag.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/content/tag-developers/include-tag.html b/content/tag-developers/include-tag.html index 0cc60c0e3..ed47efebe 100644 --- a/content/tag-developers/include-tag.html +++ b/content/tag-developers/include-tag.html @@ -171,16 +171,15 @@ the <code class="language-plaintext highlighter-rouge"><s:property/></code <p>Below it’s an example how you can access parameters passed into the included page:</p> <p>with scope:</p> -<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code><s:set var="paramName" scope="page">${param.paramName}</s:set> -<s:property value="paramName"/> +<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code><s:set var="innerName" scope="page">${param.paramName}</s:set> +<s:property value="#attr.innerName"/> </code></pre></div></div> <p>with no scope:</p> -<div class="language-jsp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><s:set </span><span class="na">var=</span><span class="s">"paramName"</span><span class="nt">></span>${param.paramName}<span class="nt"></s:set></span> -<span class="nt"><s:property </span><span class="na">value=</span><span class="s">"paramName"</span><span class="nt">/></span> - -<span class="nt"><s:property </span><span class="na">value=</span><span class="s">"#attr.paramName"</span><span class="nt">/></span> -<span class="nt"><s:property </span><span class="na">value=</span><span class="s">"#paramName"</span><span class="nt">/></span> +<div class="language-jsp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><s:set </span><span class="na">var=</span><span class="s">"innerName"</span><span class="nt">></span>${param.paramName}<span class="nt"></s:set></span> +<span class="nt"><s:property </span><span class="na">value=</span><span class="s">"innerName"</span><span class="nt">/></span> +<span class="nt"><s:property </span><span class="na">value=</span><span class="s">"#attr.innerName"</span><span class="nt">/></span> +<span class="nt"><s:property </span><span class="na">value=</span><span class="s">"#innerName"</span><span class="nt">/></span> </code></pre></div></div> <blockquote>