tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r978311 - in /websites/production/tapestry/content: cache/main.pageCache component-libraries.html overriding-exception-reporting.html switching-cases.html
Date Fri, 22 Jan 2016 15:19:50 GMT
Author: buildbot
Date: Fri Jan 22 15:19:50 2016
New Revision: 978311

Log:
Production update by buildbot for tapestry

Modified:
    websites/production/tapestry/content/cache/main.pageCache
    websites/production/tapestry/content/component-libraries.html
    websites/production/tapestry/content/overriding-exception-reporting.html
    websites/production/tapestry/content/switching-cases.html

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

Modified: websites/production/tapestry/content/component-libraries.html
==============================================================================
--- websites/production/tapestry/content/component-libraries.html (original)
+++ websites/production/tapestry/content/component-libraries.html Fri Jan 22 15:19:50 2016
@@ -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>
       SyntaxHighlighter.defaults['toolbar'] = false;
       SyntaxHighlighter.all();
@@ -69,30 +68,7 @@
       </div>
 
       <div id="content">
-                <div id="ConfluenceContent"><p>    
-</p><div class="atb-scrollbar-macro">
-    <div class="prev">
-        <a  href="supporting-informal-parameters.html" rel="prev">
-                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
-                                <span class="title">Supporting Informal Parameters</span>
-            </a>
-
-    </div>
-    <div class="parent">
-                    <a  href="cookbook.html" rel="parent">
-                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
-                                        <span class="title">Cookbook</span>
-                </a>
-
-            </div>
-    <div class="next">
-        <a  href="switching-cases.html" rel="next">
-                <span class="title">Switching Cases</span>
-                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
-                            </a>
-
-    </div>
-</div><div class="confluence-information-macro confluence-information-macro-warning"><span
class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>This page has not yet been fully updated
for Tapestry 5.4. Things are different and simpler in 5.4 than in previous releases.</p></div></div><h1
id="ComponentLibraries-CreatingComponentLibraries">Creating Component Libraries</h1><p>Nearly
every Tapestry application includes a least a couple of custom components, specific to the
application. What's exciting about Tapestry is how easy it is to package components for reuse
across many applications ... and the fact that applications using a component library need
no special configuration.</p><div class="aui-label" style="float:right" title="Related
Articles">
+                <div id="ConfluenceContent"><p>&#160;</p><div class="confluence-information-macro
confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This
page has not yet been fully updated for Tapestry 5.4. Things are different and simpler in
5.4 than in previous releases.</p></div></div><h1 id="ComponentLibraries-CreatingComponentLibraries">Creating
Component Libraries</h1><p>Nearly every Tapestry application includes a least
a couple of custom components, specific to the application. What's exciting about Tapestry
is how easy it is to package components for reuse across many applications ... and the fact
that applications using a component library need no special configuration.</p><div
class="aui-label" style="float:right" title="Related Articles">
 
 
 

Modified: websites/production/tapestry/content/overriding-exception-reporting.html
==============================================================================
--- websites/production/tapestry/content/overriding-exception-reporting.html (original)
+++ websites/production/tapestry/content/overriding-exception-reporting.html Fri Jan 22 15:19:50
2016
@@ -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>
       SyntaxHighlighter.defaults['toolbar'] = false;
       SyntaxHighlighter.all();
@@ -69,30 +68,7 @@
       </div>
 
       <div id="content">
-                <div id="ConfluenceContent"><p>    
-</p><div class="atb-scrollbar-macro">
-    <div class="prev">
-        <a  href="default-parameter.html" rel="prev">
-                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
-                                <span class="title">Default Parameter</span>
-            </a>
-
-    </div>
-    <div class="parent">
-                    <a  href="cookbook.html" rel="parent">
-                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
-                                        <span class="title">Cookbook</span>
-                </a>
-
-            </div>
-    <div class="next">
-        <a  href="error-page-recipe.html" rel="next">
-                <span class="title">Error Page Recipe</span>
-                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
-                            </a>
-
-    </div>
-</div><p>One of Tapestry's best features is its comprehensive exception reporting.
The level of detail is impressive and useful.</p><div class="aui-label" style="float:right"
title="Related Articles">
+                <div id="ConfluenceContent"><p>&#160;</p><p>One
of Tapestry's best features is its comprehensive exception reporting. The level of detail
is impressive and useful.</p><div class="aui-label" style="float:right" title="Related
Articles">
 
 
 

Modified: websites/production/tapestry/content/switching-cases.html
==============================================================================
--- websites/production/tapestry/content/switching-cases.html (original)
+++ websites/production/tapestry/content/switching-cases.html Fri Jan 22 15:19:50 2016
@@ -69,32 +69,9 @@
       </div>
 
       <div id="content">
-                <div id="ConfluenceContent">    
-<div class="atb-scrollbar-macro">
-    <div class="prev">
-        <a  href="component-libraries.html" rel="prev">
-                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
-                                <span class="title">Component Libraries</span>
-            </a>
-
-    </div>
-    <div class="parent">
-                    <a  href="cookbook.html" rel="parent">
-                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
-                                        <span class="title">Cookbook</span>
-                </a>
-
-            </div>
-    <div class="next">
-        <a  href="enum-parameter-recipe.html" rel="next">
-                <span class="title">Enum Parameter Recipe</span>
-                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
-                            </a>
-
-    </div>
-</div><h1 id="SwitchingCases-SwitchingCases">Switching Cases</h1><p>With
Tapestry's <code>If</code> component you can only test one condition at a time.
In order to distinguish multiple cases, you'd have to write complex nested if/else constructs
in your page template and have a checker method for each test inside your page class.</p><div
class="navmenu" style="float:right; background:#eee; margin:3px; padding:0 1em">
+                <div id="ConfluenceContent"><p>&#160;</p><h1 id="SwitchingCases-SwitchingCases">Switching
Cases</h1><p>With Tapestry's <code>If</code> component you can only
test one condition at a time. In order to distinguish multiple cases, you'd have to write
complex nested if/else constructs in your page template and have a checker method for each
test inside your page class.</p><div class="navmenu" style="float:right; background:#eee;
margin:3px; padding:0 1em">
 <p>    <strong>JumpStart Demo:</strong><br clear="none">
-    <a  class="external-link" href="http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/ifnotnegateswitchelseunless"
rel="nofollow">If, Not, Negate, Switch, Else, Unless</a></p></div><p>In
cases where you have to distinguish multiple cases, the <code>Delegate</code>
component comes in. It delegates rendering to some other component, for example a <code>Block</code>.
For each case you have, you basically wrap the content inside a <code>Block</code>
that doesn't get rendered by default. You then place a Delegate component on your page and
point it to a method inside your page class that will decide which of your Blocks should be
rendered.</p><p>Imagine for example a use case, where you want to distinguish
between 4 cases and you have an int property called <code>whichCase</code> that
should be tested against. Your page template would look as follows:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width:
  1px;"><b>SwitchMe.tml</b></div><div class="codeContent panelContent
pdl">
+    <a  class="external-link" href="http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/ifnotnegateswitchelseunless"
rel="nofollow">If, Not, Negate, Switch, Else, Unless</a></p></div>In
cases where you have to distinguish multiple cases, the <code>Delegate</code>
component comes in. It delegates rendering to some other component, for example a <code>Block</code>.
For each case you have, you basically wrap the content inside a <code>Block</code>
that doesn't get rendered by default. You then place a Delegate component on your page and
point it to a method inside your page class that will decide which of your Blocks should be
rendered.<p>Imagine for example a use case, where you want to distinguish between 4
cases and you have an int property called <code>whichCase</code> that should be
tested against. Your page template would look as follows:</p><div class="code panel
pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width:
1px;">
 <b>SwitchMe.tml</b></div><div class="codeContent panelContent pdl">
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;html
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"&gt;
     &lt;body&gt;
         &lt;h1&gt;Switch&lt;/h1&gt;



Mime
View raw message