You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2015/07/26 22:19:50 UTC

svn commit: r959677 - in /websites/production/tapestry/content: cache/main.pageCache component-reference.html component-templates.html configuration.html

Author: buildbot
Date: Sun Jul 26 20:19:50 2015
New Revision: 959677

Log:
Production update by buildbot for tapestry

Modified:
    websites/production/tapestry/content/cache/main.pageCache
    websites/production/tapestry/content/component-reference.html
    websites/production/tapestry/content/component-templates.html
    websites/production/tapestry/content/configuration.html

Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/tapestry/content/component-reference.html
==============================================================================
--- websites/production/tapestry/content/component-reference.html (original)
+++ websites/production/tapestry/content/component-reference.html Sun Jul 26 20:19:50 2015
@@ -96,12 +96,12 @@
                         
                     </div>
     </li></ul>
-</div><p><strong>Contents</strong></p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1437873583463 {padding: 0px;}
-div.rbtoc1437873583463 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1437873583463 li {margin-left: 0px;padding-left: 0px;}
+</div><p>&#160;</p><p><strong>Contents</strong></p><p><style type="text/css">/*<![CDATA[*/
+div.rbtoc1437941979247 {padding: 0px;}
+div.rbtoc1437941979247 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1437941979247 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1437873583463">
+/*]]>*/</style></p><div class="toc-macro rbtoc1437941979247">
 <ul class="toc-indentation"><li><a shape="rect" href="#ComponentReference-Tapestry-providedComponents">Tapestry-provided Components</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#ComponentReference-AJAX-specificComponents">AJAX-specific Components</a></li><li><a shape="rect" href="#ComponentReference-BeanDisplaying&amp;Editing">Bean Displaying &amp; Editing</a></li><li><a shape="rect" href="#ComponentReference-ConditionalandLoopingComponents">Conditional and Looping Components</a></li><li><a shape="rect" href="#ComponentReference-FormComponents">Form Components</a></li><li><a shape="rect" href="#ComponentReference-Grids,TablesandTrees">Grids, Tables and Trees</a></li><li><a shape="rect" href="#ComponentReference-LinksandButtons">Links and Buttons</a></li><li><a shape="rect" href="#ComponentReference-OutputandMessages">Output and Messages</a></li><li><a shape="rect" href="#ComponentReference-Miscellaneous">Miscellaneous</a></li></ul>
 </li><li><a shape="rect" href="#ComponentReference-TapestryMixins">Tapestry Mixins</a></li><li><a shape="rect" href="#ComponentReference-TapestryPages">Tapestry Pages</a></li><li><a shape="rect" href="#ComponentReference-BaseComponents">Base Components</a></li><li><a shape="rect" href="#ComponentReference-OtherComponentLibraries">Other Component Libraries</a></li></ul>

Modified: websites/production/tapestry/content/component-templates.html
==============================================================================
--- websites/production/tapestry/content/component-templates.html (original)
+++ websites/production/tapestry/content/component-templates.html Sun Jul 26 20:19:50 2015
@@ -32,7 +32,6 @@
   <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 src='/resources/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;
   SyntaxHighlighter.all();
@@ -67,8 +66,100 @@
   </div>
 
 <div id="content">
-<div id="ConfluenceContent"><div class="navmenu" style="float:right; background:#eee; margin:3px; padding:3px">
-<div class="error"><span class="error">Error formatting macro: contentbylabel: com.atlassian.confluence.api.service.exceptions.BadRequestException: Could not parse cql : null</span> </div></div><p>Under Tapestry, a <strong>component template</strong> is a file that contains the markup for a component.</p><p>Component templates are <em>well formed XML documents</em>. That means that every open tag must have a matching close tag, every attribute must be quoted, and so forth.</p><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>At runtime, Tapestry parses the documents and <em>only</em> checks for wellformedness. Even when the document has a DTD or schema, there are no validity checks.</p></div></div><p>For the most part, these templates are standard HTML/XHTML; Tapestry extensions to ordinary markup are provided
  in the form of a Tapestry namespace:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>A template for a page</b></div><div class="codeContent panelContent pdl">
+<div id="ConfluenceContent"><div class="aui-label" style="float:right" title="Related Articles">
+
+
+
+
+
+
+
+
+<h3>Related Articles</h3>
+
+<ul class="content-by-label"><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="content-type-and-markup.html">Content Type and Markup</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="templating-and-markup-faq.html">Templating and Markup FAQ</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="component-classes.html">Component Classes</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="component-reference.html">Component Reference</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="component-libraries.html">Component Libraries</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="request-processing.html">Request Processing</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="configuration.html">Configuration</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="component-parameters.html">Component Parameters</a>
+                
+                        
+                    </div>
+    </li><li>
+        <div>
+                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
+
+        <div class="details">
+                        <a shape="rect" href="assets.html">Assets</a>
+                
+                        
+                    </div>
+    </li></ul>
+</div><p>Under Tapestry, a <strong>component template</strong> is a file that contains the markup for a component.</p><p>Component templates are <em>well formed XML documents</em>. That means that every open tag must have a matching close tag, every attribute must be quoted, and so forth.</p><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>At runtime, Tapestry parses the documents and <em>only</em> checks for wellformedness. Even when the document has a DTD or schema, there are no validity checks.</p></div></div><p>For the most part, these templates are standard HTML/XHTML; Tapestry extensions to ordinary markup are provided in the form of a Tapestry namespace:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>A template for 
 a page</b></div><div class="codeContent panelContent pdl">
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;html t:type="layout" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd"&gt;
     &lt;h1&gt;Bonjour from HelloWorld component.&lt;/h1&gt;
 &lt;/html&gt;

Modified: websites/production/tapestry/content/configuration.html
==============================================================================
--- websites/production/tapestry/content/configuration.html (original)
+++ websites/production/tapestry/content/configuration.html Sun Jul 26 20:19:50 2015
@@ -67,7 +67,7 @@
   </div>
 
 <div id="content">
-<div id="ConfluenceContent"><div style="float:right" title="Related Articles">
+<div id="ConfluenceContent"><div class="aui-label" style="float:right" title="Related Articles">
 
 
 
@@ -132,58 +132,13 @@
                 
                         
                     </div>
-    </li><li>
-        <div>
-                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
-
-        <div class="details">
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Example+Configurations">CloudStack Example Configurations</a>
-                
-                        
-                    </div>
-    </li><li>
-        <div>
-                <span class="icon aui-icon aui-icon-small aui-iconfont-page-default" title="Page">Page:</span>        </div>
-
-        <div class="details">
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/display/TS/SquidConfigTranslation">SquidConfigTranslation</a>
-                
-                        
-                    </div>
-    </li><li>
-        <div>
-                <span class="icon aui-icon aui-icon-small aui-iconfont-homepage" title="Home page">Home page:</span>        </div>
-
-        <div class="details">
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/display/MFTEST/Index">Index</a>
-                
-                        
-                    </div>
-    </li><li>
-        <div>
-                <span class="icon aui-icon aui-icon-small aui-iconfont-homepage" title="Home page">Home page:</span>        </div>
-
-        <div class="details">
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/display/TOMAHAWK/Index">Index</a>
-                
-                        
-                    </div>
-    </li><li>
-        <div>
-                <span class="icon aui-icon aui-icon-small aui-iconfont-homepage" title="Home page">Home page:</span>        </div>
-
-        <div class="details">
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/display/MYFACES/Index">Index</a>
-                
-                        
-                    </div>
     </li></ul>
 </div><h1 id="Configuration-ConfiguringTapestry">Configuring Tapestry</h1><p>This page discusses all the ways in which Tapestry can be configured. Tapestry applications are configured almost entirely using Java, with very little XML at all.</p><p><strong>Contents</strong></p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1437873580868 {padding: 0px;}
-div.rbtoc1437873580868 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1437873580868 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1437941978046 {padding: 0px;}
+div.rbtoc1437941978046 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1437941978046 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1437873580868">
+/*]]>*/</style></p><div class="toc-macro rbtoc1437941978046">
 <ul class="toc-indentation"><li><a shape="rect" href="#Configuration-XMLconfiguration(web.xml)">XML configuration (web.xml)</a></li><li><a shape="rect" href="#Configuration-YourApplication'sModuleClass">Your Application's Module Class</a></li><li><a shape="rect" href="#Configuration-ConfigurationSymbolNames">Configuration Symbol Names</a></li><li><a shape="rect" href="#Configuration-SettingComponentParameterDefaults">Setting Component Parameter Defaults</a></li><li><a shape="rect" href="#Configuration-ConfiguringIgnoredPaths">Configuring Ignored Paths</a></li><li><a shape="rect" href="#Configuration-ConfiguringContentTypeMapping">Configuring Content Type Mapping</a></li><li><a shape="rect" href="#Configuration-SettingExecutionModes">Setting Execution Modes</a></li></ul>
 </div><h2 id="Configuration-XMLconfiguration(web.xml)">XML configuration (web.xml)</h2><p>Tapestry runs on top of the standard Java Servlet API. To the servlet container, such as Tomcat, Tapestry appears as a <em>servlet filter</em>. This gives Tapestry great flexibility in matching URLs without requiring lots of XML configuration.</p><p>Although most configuration is done with Java, a small but necessary amount of configuration occurs inside the servlet deployment descriptor, WEB-INF/web.xml. Most of the configuration is boilerplate, nearly the same for all applications.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml (partial)</b></div><div class="codeContent panelContent pdl">
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;!DOCTYPE web-app