struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [struts-site] branch asf-site updated: Updates production by Jenkins
Date Fri, 18 Oct 2019 13:45:34 GMT
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 a52c8e9  Updates production by Jenkins
a52c8e9 is described below

commit a52c8e960c4f9e4713cc8a90c98f847c0e1f544d
Author: jenkins <builds@apache.org>
AuthorDate: Fri Oct 18 13:45:30 2019 +0000

    Updates production by Jenkins
---
 content/tag-developers/freemarker-tags.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/content/tag-developers/freemarker-tags.html b/content/tag-developers/freemarker-tags.html
index c1dbd52..fa4a35b 100644
--- a/content/tag-developers/freemarker-tags.html
+++ b/content/tag-developers/freemarker-tags.html
@@ -138,13 +138,13 @@
   <li><a href="#jsp-tag-support" id="markdown-toc-jsp-tag-support">JSP Tag Support</a></li>
 </ul>
 
-<p>FreeMarker tags are extensions of the generic <a href="struts-tags.html">Struts
Tags</a> provided by the framework. You can jump 
+<p>FreeMarker tags are extensions of the generic <a href="struts-tags">Struts
Tags</a> provided by the framework. You can jump 
 right in just by knowing the generic structure in which the tags can be accessed:</p>
 
 <pre><code class="language-ftl">&lt;@s.tag&gt; ...&lt;/@s.tag&gt;
 </code></pre>
 
-<p>, where <code class="highlighter-rouge">tag</code> is any of the <a
href="tags.html">tags</a> supported by the framework.</p>
+<p>, where <code class="highlighter-rouge">tag</code> is any of the <a
href="tag-reference">tags</a> supported by the framework.</p>
 
 <p>For example, in JSP you might create a form using Struts tags.</p>
 
@@ -173,7 +173,7 @@ pages even easier to code. You can even invoke third-party JSP taglibs
as if the
 
 <h2 id="attributes-and-parameters">Attributes and Parameters</h2>
 
-<p>Unlike older versions of JSP (in which the <a href="jsp-tags.html">JSP Tags</a>
are based), FreeMarker allows for <em>dynamic attributes</em>, 
+<p>Unlike older versions of JSP (in which the <a href="jsp-tags">JSP Tags</a>
are based), FreeMarker allows for <em>dynamic attributes</em>, 
 much like JSP 2.0. You can supply attributes to the tags that the tag doesn’t explicitedly
support. Those attributes 
 that cannot be applied directly to the tag object will be set to the tag’s general-purpose
<code class="highlighter-rouge">parameters</code> Map.</p>
 
@@ -218,16 +218,16 @@ that as the <code class="highlighter-rouge">value</code>
attribute.</p>
 
 <h2 id="attribute-types">Attribute Types</h2>
 
-<p>Remember that all tag attributes must first be set as Strings - they are then later
evaluated (using <a href="ognl.html">OGNL</a>) 
+<p>Remember that all tag attributes must first be set as Strings - they are then later
evaluated (using <a href="ognl">OGNL</a>) 
 to a different type, such as List, int, or boolean. This generally works just fine, but it
can be limiting when using 
 FreeMarker which provides more advanced ways to apply attributes. Suppose the following example:</p>
 
-<pre><code class="language-ftl">&lt;@s.select label="Foo label - %{foo}"
name="%{name}" list="%1"/&gt;
+<pre><code class="language-ftl">&lt;@s.select label="Foo label - %{foo}"
name="%{name}" list="%{1, 2, 3}"/&gt;
 </code></pre>
 
 <p>What will happen here is that each attribute will be evaluated to a String as best
it can. This may involve calling the
 <code class="highlighter-rouge">toString</code> method on the internal FreeMarker
objects. In this case, all objects will end up being exactly what you would 
-expect. Then, when the tag runs, the <code class="highlighter-rouge">list</code>
attribute will be converted from a String to a List using <a href="ogn.html">OGNL</a>’s

+expect. Then, when the tag runs, the <code class="highlighter-rouge">list</code>
attribute will be converted from a String to a List using <a href="ognl">OGNL</a>’s

 advanced collection support.</p>
 
 <p>But suppose you wish to use FreeMarker’s list or hash support instead? You can
do this:</p>


Mime
View raw message