This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits 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 08efdfa7a5 Updates stage by Jenkins
08efdfa7a5 is described below

commit 08efdfa7a5c0cf58813830a398c3cf4460994a43
Author: jenkins <[email protected]>
AuthorDate: Sat Oct 31 07:56:41 2026 +0000

    Updates stage by Jenkins
---
 content/core-developers/freemarker-support.html | 10 ++++++++--
 content/primer.html                             |  2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/content/core-developers/freemarker-support.html 
b/content/core-developers/freemarker-support.html
index 0cfae81cf7..38e74a2899 100644
--- a/content/core-developers/freemarker-support.html
+++ b/content/core-developers/freemarker-support.html
@@ -306,9 +306,15 @@ webapp-absolute URL, so no configuration in web.xml is 
needed.</li>
 
 </code></pre></div></div>
 
-<p>You can also use OGNL expressions with dynamic tags like below:</p>
+<p>A dynamic attribute is written out as given, so build its value with 
FreeMarker’s own interpolation:</p>
 
-<div class="language-ftl highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="err">&lt;@</span><span 
class="no">s</span><span class="na">.textfield</span><span class="w"> 
</span>name="test" placeholder="input" foo="checked: %<span 
class="p">{</span><span class="no">bar</span><span 
class="p">}</span>"/&gt;<span class="w">
+<div class="language-ftl highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="err">&lt;@</span><span 
class="no">s</span><span class="na">.textfield</span><span class="w"> 
</span>name="test" placeholder="input" foo="checked: $<span 
class="p">{</span><span class="no">bar</span><span 
class="p">}</span>"/&gt;<span class="w">
+</span></code></pre></div></div>
+
+<p>Only the tags that render one element per item of a list, <code 
class="language-plaintext highlighter-rouge">radio</code> and <code 
class="language-plaintext highlighter-rouge">checkboxlist</code>, evaluate an 
OGNL
+expression in a dynamic attribute, once per item with that item on top of the 
value stack:</p>
+
+<div class="language-ftl highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="err">&lt;@</span><span 
class="no">s</span><span class="na">.radio</span><span class="w"> 
</span>name="choice" list="choices" data-item="%<span class="p">{</span><span 
class="no">top</span><span class="p">}</span>"/&gt;<span class="w">
 </span></code></pre></div></div>
 
 <p>When using attributes with hyphens, use the below syntax (you can also 
leave the single quotes from false if you want)</p>
diff --git a/content/primer.html b/content/primer.html
index 2c1a1ce48a..8f4c2f3ee1 100644
--- a/content/primer.html
+++ b/content/primer.html
@@ -217,7 +217,7 @@ are often provided where it makes sense.</p>
 
 <h3 id="general-starting-points">General starting points</h3>
 
-<p>If you are not familiar with the Java language generally,then the best 
starting point is the
+<p>If you are not familiar with the Java language generally, then the best 
starting point is the
 <a href="http://docs.oracle.com/javase/tutorial/index";>Java Tutorial</a>.</p>
 
 <p>If you are familiar with Java, but not the mentioned technologies,

Reply via email to