You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by an...@apache.org on 2009/09/24 21:01:26 UTC

svn commit: r818589 - in /tapestry/tapestry4/trunk/src/site: site.xml xdoc/components/general/shell.xml xdoc/components/general/style.xml

Author: andyhot
Date: Thu Sep 24 19:01:25 2009
New Revision: 818589

URL: http://svn.apache.org/viewvc?rev=818589&view=rev
Log:
TAPESTRY-2748: docs

Modified:
    tapestry/tapestry4/trunk/src/site/site.xml
    tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml
    tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml

Modified: tapestry/tapestry4/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/site.xml?rev=818589&r1=818588&r2=818589&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/site.xml (original)
+++ tapestry/tapestry4/trunk/src/site/site.xml Thu Sep 24 19:01:25 2009
@@ -28,9 +28,9 @@
         </links>
         
         <head>
+            <link rel="shortcut icon" href="http://tapestry.apache.org/tapestry4.1/favicon.ico" />			
             <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script>
             <script type="text/javascript">_uacct = "UA-400821-1"; urchinTracker();</script>
-            <link rel="shortcut icon" href="http://tapestry.apache.org/tapestry4.1/favicon.ico" />
         </head>
         
         <menu ref="parent" />
@@ -190,7 +190,8 @@
             <item name="Archetype" href="/tapestry-archetype/index.html" />
         </menu>
         
-        ${reports} 
+        <menu ref="reports"></menu> 
+
     </body>
     
 </project>

Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml?rev=818589&r1=818588&r2=818589&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/components/general/shell.xml Thu Sep 24 19:01:25 2009
@@ -214,6 +214,27 @@
                             includes to be overriden.
                         </td>
                     </tr>
+				</table>
+
+          		<p>
+				Parameters used to configure the default 
+                <a href="../../apidocs/org/apache/tapestry/dojo/AjaxShellDelegate.html">ajaxDelegate</a> :
+        	        <span class="info">
+					<strong>Info:</strong>
+					<p>If you've bound the ajaxDelegate parameter to a custom value, 
+					the parameters that follow will not be used (usually those
+					custom delegates will provide different means for configuration). </p>
+					</span>
+				</p> 
+
+                <table>
+                    <tr>
+                        <th>Name</th>
+                        <th>Type</th>
+                        <th>Required</th>
+                        <th>Default</th>
+                        <th>Description</th>
+                    </tr>
                     <tr>
                         <td>browserLogLevel</td>
                         <td>String - One of [DEBUG,INFO,WARNING,ERROR,CRITICAL]</td>
@@ -383,6 +404,37 @@
 
             </section>
 
+			<section name="Order of Rendered Content">
+
+				<ul>
+					<li>Doctype</li>
+					<li>Tapestry metadata as comments (optional)</li>
+					<li><code>&lt;html&gt;</code> with informal parameters</li>
+					<li><code>&lt;head&gt;</code></li>
+					<li><code>&lt;meta&gt;</code> related to content generator, caching, content type and refresh (optional)</li>
+					<li><code>&lt;base&gt;</code> (optional)</li>
+					<li><code>&lt;title&gt;</code></li>
+					<li>Rendering of delegate parameter</li>
+					<li>Stylesheets as defined in the stylesheet and stylesheets parameters</li>
+					<li>Stylesheets and <code>&lt;link&gt;</code> to documents as discovered 
+					from <a href="style.html">Style</a> and <a href="relation.html">Relation</a> components within the rendered page
+					</li>
+					<li>Rendering of ajaxDelegate parameter
+	        	        <span class="info">
+						<strong>Info:</strong>
+						<p>Prior to 4.1.7, the ajaxDelegate would render one step earlier
+						(before the <a href="style.html">Style</a> and <a href="relation.html">Relation</a> components)
+						</p>
+						</span>
+					</li>
+					<li>Rendering of any additional content included via <a href="../../apidocs/org/apache/tapestry/html/Shell.html#includeAdditionalContent(java.lang.String)">Shell#includeAdditionalContent(String)</a>
+					</li>
+					<li><code>&lt;/head&gt;</code></li>
+					<li>Rendering of the component's body</li>
+					<li><code>&lt;/html&gt;</code> and optional comment with the elapsed render time</li>
+				</ul>
+			</section>
+
             <section name="Examples">
 
 

Modified: tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml?rev=818589&r1=818588&r2=818589&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/components/general/style.xml Thu Sep 24 19:01:25 2009
@@ -87,6 +87,15 @@
                         <td></td>
                         <td>Specifies on which device this stylesheet will apply.</td>
                     </tr>                                                                                                 
+
+                    <tr>
+                        <td>ieCondition</td>
+                        <td>String</td>
+                        <td>no</td>
+                        <td></td>
+                        <td>If specified, the normal output of the component will be wrapped within a conditional comment 
+						using the provided condition. Useful for targeting the styles or the css to specific IE browsers.</td>
+                    </tr>                                                                                                 
                 </table>
 
                 <p>