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 628893c  Updates production by Jenkins
628893c is described below

commit 628893c3e414c536f2cb8f7fa3a7b2acee06df50
Author: jenkins <bui...@apache.org>
AuthorDate: Sun Sep 24 19:18:18 2017 +0000

    Updates production by Jenkins
---
 content/tag-developers/ajax-head-template.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/content/tag-developers/ajax-head-template.html 
b/content/tag-developers/ajax-head-template.html
index b335ac5..7029c47 100644
--- a/content/tag-developers/ajax-head-template.html
+++ b/content/tag-developers/ajax-head-template.html
@@ -223,7 +223,11 @@ changing “isDebug: false” to “isDebug: true”.  This will 
log out debuggi
 <p>Note that Dojo is configured to use the same character encoding specified 
in <code class="highlighter-rouge">struts.xml</code> , typically UTF-8. For a 
simple 
 example of how to use the <a href="dojo-head-tag.html">head</a> tag with the 
AJAX theme, simply do the following in your HTML:</p>
 
-<figure class="highlight"><pre><code class="language-html" 
data-lang="html">404: Not Found</code></pre></figure>
+<figure class="highlight"><pre><code class="language-html" 
data-lang="html"><span class="err">&lt;</span>%@ taglib prefix="s" 
uri="/struts-tags" %&gt;
+<span class="err">&lt;</span>%@ taglib prefix="sx" uri="/struts-dojo-tags" 
%&gt;
+<span class="c">&lt;!--// START SNIPPET: common-include--&gt;</span>
+<span class="nt">&lt;sx:head</span> <span class="na">cache=</span><span 
class="s">"false"</span><span class="nt">/&gt;</span>
+<span class="c">&lt;!--// END SNIPPET: 
common-include--&gt;</span></code></pre></figure>
 
 <blockquote>
   <p>The above sample is from Struts trunk; for 2.0.6 you should use <code 
class="highlighter-rouge">&lt;s:head debug="true"/&gt;</code>.</p>

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Reply via email to