You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bu...@apache.org on 2016/12/10 17:20:12 UTC
svn commit: r1002571 - in /websites/production/tapestry/content:
cache/main.pageCache component-templates.html
Author: buildbot
Date: Sat Dec 10 17:20:12 2016
New Revision: 1002571
Log:
Production update by buildbot for tapestry
Modified:
websites/production/tapestry/content/cache/main.pageCache
websites/production/tapestry/content/component-templates.html
Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/tapestry/content/component-templates.html
==============================================================================
--- websites/production/tapestry/content/component-templates.html (original)
+++ websites/production/tapestry/content/component-templates.html Sat Dec 10 17:20:12 2016
@@ -30,7 +30,6 @@
<link href='/resources/highlighter/styles/shCoreCXF.css' rel='stylesheet' type='text/css' />
<link href='/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
<script src='/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
- <script src='/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
<script src='/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
<script>
SyntaxHighlighter.defaults['toolbar'] = false;
@@ -137,16 +136,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
</pre>
-</div></div><p>The first one is for <a class="external-link" href="http://en.wikipedia.org/wiki/HTML5" rel="nofollow">HTML5</a> and is recommended for Tapestry 5.2.5 and later. In versions prior to Tapestry 5.2.5, Tapestry didn't support the HTML5 doctype directly (see <a class="external-link" href="https://issues.apache.org/jira/browse/TAP5-1040">TAP5-1040</a>), but there's a partial work-around: just add the following to your page class (or your <a href="layout-component.html">layout class</a>, if you use one) <em>instead of</em> adding the doctype to your template (.tml) files:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">/**
-* Output the HTML5 doctype, as a work-around to https://issues.apache.org/jira/browse/TAP5-1040
-*/
-@SetupRender
-final void renderDocType(final MarkupWriter writer) {
- writer.getDocument().raw("<!DOCTYPE html>");
-}
-</pre>
-</div></div>
+</div></div><p>The first one is for <a class="external-link" href="http://en.wikipedia.org/wiki/HTML5" rel="nofollow">HTML5</a> and is recommended for Tapestry 5.2.5 and later. In versions prior to Tapestry 5.2.5, Tapestry didn't support the HTML5 doctype directly (but see the comments at <a class="external-link" href="https://issues.apache.org/jira/browse/TAP5-1040">TAP5-1040</a> for a work-around).</p>
<div class="confluence-information-macro confluence-information-macro-information"><p class="title">Added in 5.3</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body">
</div></div>