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 4990f01 Updates production by Jenkins 4990f01 is described below commit 4990f0172bcb88251c4c5b82e30e585d65188226 Author: jenkins <bui...@apache.org> AuthorDate: Thu Oct 12 07:01:39 2017 +0000 Updates production by Jenkins --- content/tag-developers/freemarker-tags.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/tag-developers/freemarker-tags.html b/content/tag-developers/freemarker-tags.html index 64a1100..354bd12 100644 --- a/content/tag-developers/freemarker-tags.html +++ b/content/tag-developers/freemarker-tags.html @@ -193,7 +193,7 @@ that (being arbitary) isn’t specified on the URL tag. In a JSP, we’d have to <p><strong>Creating a URL with a query string (FTL)</strong></p> -<div class="highlighter-rouge"><pre class="highlight"><code><span class="err"><</span>@s.url value="somePage" personId="${personId}"/> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="err"><</span>@s.url value="somePage" personId="%{personId}"/> </code></pre> </div> @@ -226,7 +226,7 @@ that as the <code class="highlighter-rouge">value</code> attribute.</p> 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> -<div class="highlighter-rouge"><pre class="highlight"><code><span class="err"><</span>@s.select label="Foo label - ${foo}" name="${name}" list="%1"/> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="err"><</span>@s.select label="Foo label - %{foo}" name="%{name}" list="%1"/> </code></pre> </div> @@ -237,7 +237,7 @@ advanced collection support.</p> <p>But suppose you wish to use FreeMarker’s list or hash support instead? You can do this:</p> -<div class="highlighter-rouge"><pre class="highlight"><code><span class="err"><</span>@s.select label="Foo label - ${foo}" name="${name}" list=[1, 2, 3]/> +<div class="highlighter-rouge"><pre class="highlight"><code><span class="err"><</span>@s.select label="Foo label - %{foo}" name="%{name}" list=[1, 2, 3]/> </code></pre> </div> -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" <commits@struts.apache.org>'].