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">&lt;s:property/&gt;</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>&lt;s:set var="paramName" 
scope="page"&gt;${param.paramName}&lt;/s:set&gt;
-&lt;s:property value="paramName"/&gt;
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>&lt;s:set var="innerName" 
scope="page"&gt;${param.paramName}&lt;/s:set&gt;
+&lt;s:property value="#attr.innerName"/&gt;
 </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">&lt;s:set </span><span 
class="na">var=</span><span class="s">"paramName"</span><span 
class="nt">&gt;</span>${param.paramName}<span class="nt">&lt;/s:set&gt;</span>
-<span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"paramName"</span><span class="nt">/&gt;</span>
-
-<span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#attr.paramName"</span><span class="nt">/&gt;</span>
-<span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#paramName"</span><span class="nt">/&gt;</span>
+<div class="language-jsp highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="nt">&lt;s:set </span><span 
class="na">var=</span><span class="s">"innerName"</span><span 
class="nt">&gt;</span>${param.paramName}<span class="nt">&lt;/s:set&gt;</span>
+<span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"innerName"</span><span class="nt">/&gt;</span>
+<span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#attr.innerName"</span><span class="nt">/&gt;</span>
+<span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#innerName"</span><span class="nt">/&gt;</span>
 </code></pre></div></div>
 
 <blockquote>

Reply via email to