| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <!-- $Id$ --> |
| <html> |
| <head> |
| <title>RenderBody</title> |
| <link rel="stylesheet" type="text/css" href="Tapestry.css" title="style"> |
| </head> |
| |
| <body> |
| <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| <tr> |
| <td align="left"><A href="RenderBlock.html"><IMG alt=RenderBlock src="common-images/prev.png"></A></td> |
| <td align="middle"><A href="index.html"><IMG alt="Component Index" src="common-images/home.png" ></A></td> |
| <td align="right"><A href="Rollover.html"><IMG alt=Rollover src="common-images/next.png"></A></td> |
| <tr> |
| <tr> |
| <td colspan="3"><hr></td> |
| </tr> |
| <tr> |
| <td colspan="3"> |
| <table border="0" cellpadding="4" cellspacing="4" width="100%"> |
| |
| <tr valign="top"> |
| <td> |
| <table> |
| <tr> |
| <td><font size="+2"><b>RenderBody</b></font></td> |
| </tr> |
| <tr> |
| <td> |
| <A href="../api/org/apache/tapestry/components/RenderBody.html"> |
| org.apache.tapestry.components.RenderBody</A> |
| </td> |
| </tr> |
| </table> |
| </td> |
| <td> |
| <table align="right" valign="middle" bgcolor="#c0c0c0" cellpadding="8"> |
| <tr> |
| <td>Non Visual Component</td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| |
| <tr valign="center"> |
| <td colspan="2"> </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2"> |
| <b>Description</b> |
| <br> |
| Renders the body (static HTML and components) wrapped by the container of the |
| RenderBody component. Components which have HTML templates and can wrap |
| other elements should include exactly one InsertBody component in their |
| template. |
| <p> |
| This component is very useful for creating a common navigational component |
| used by multiple pages of an application. Typically you create a common |
| navigational component which contains navigational links |
| (<a href="PageLink.html">PageLink</a>) to other |
| pages and a RenderBody component which will insert the actual |
| content of the page. The application pages then use the navigational |
| component as their first element, and then their usual content. When |
| the pages renders, it renders the surrounding navigational component |
| and then the page's content.</p> |
| <P>Prior to release 2.2, this component was called |
| <STRONG>InsertWrapped</STRONG>.</P> |
| |
| </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2"> |
| <b>See Also</b> |
| <br> |
| <A href="Block.html">Block</A>, |
| <A href="Insert.html">Insert</A>, |
| <a href="RenderBlock.html">RenderBlock</a>, |
| <A href="InsertText.html">InsertText</A> |
| </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2"> |
| <b>Parameters</b> |
| <br> |
| None |
| <p> |
| Body: <STRONG>removed</STRONG> |
| <BR> |
| Informal parameters: |
| <STRONG>forbidden</STRONG> |
| <br> |
| Reserved parameters: <EM>none |
| </EM></p> |
| |
| </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2"> |
| <b>Examples</b> |
| <p> This example shows an implementation of the classical Border component, |
| an application specific component. It is a common practice to use |
| a Border component to provide common layout to almost all of application |
| pages. </p> |
| |
| <table width="200" class="tapestry-examples" cellspacing="0" border="0" align="center"> |
| <tr> |
| <td valign="top" style="text-align:justify;"> |
| <H1 align=center><FONT color=#ff3333>Agnosis</FONT></H1> |
| <TABLE align=center border=0> |
| <TR> |
| <TD> |
| <P> |
| <B>A</B>GNOSIS feliz |
| <BR/> |
| <B>G</B>racias al ciego destino |
| <BR/> |
| <B>N</B>ada es constante |
| <BR/> |
| <B>O</B>lvidados por el Hado |
| <BR/> |
| <B>S</B>i �l existe |
| <BR/> |
| <B>I</B>ncomprensible y eterno |
| <BR/> |
| <B>S</B>ilencio |
| </P> |
| </TD> |
| </TR> |
| </TABLE> |
| <br/> |
| </td> |
| </tr> |
| <tr> |
| <td valign="bottom"> |
| <table width="100%" cellspacing="0" border="0"> |
| <tr> |
| <td align="center"> |
| <a href="http://jakarta.apache.org/tapestry"><img src="images/poweredbyTapestry.gif" width="79" height="33" border="0" alt="Tapestry"></a> |
| <br/> |
| <br/> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| <br> |
| <pre><span jwcid="@Border"><br><H1 align=center><FONT color=#ff3333>Agnosis</FONT></H1><br><TABLE align=center border=0><br> <TR><br> <TD><br> <P><br> <B>A</B>GNOSIS feliz<br> <BR/><br> <B>G</B>racias al ciego destino<br> <BR/><br> <B>N</B>ada es constante<br> <BR/><br> <B>O</B>lvidados por el Hado<br> <BR/><br> <B>S</B>i Él existe<br> <BR/><br> <B>I</B>ncomprensible y eterno<br> <BR/><br> <B>S</B>ilencio <br> </P><br> </TD><br> </TR><br></TABLE><br><br/><br></span></pre> |
| <br> |
| Border.html |
| <pre><html jwcid="@Shell" title="RenderBody Example"><br> <body jwcid="@Body"><br> <table width="100%" cellspacing="0" border="0"><br> <tr><br> <td valign="top" style="text-align:justify;"><br> <span jwcid="@<a href="RenderBody.html">RenderBody</a>">Page content goes here.</span><br> </td><br> </tr><br> <tr><br> <td valign="bottom"><br> <table width="100%" cellspacing="0" border="0"><br> <tr><br> <td align="center"><br> <a href="http://jakarta.apache.org/tapestry"><img src="images/poweredbyTapestry.gif" width="79" height="33" border="0" alt="Tapestry"></a><br> <br/><br> <br/><br> </td><br> </tr><br> </table><br> </td><br> </tr><br> </table><br> </body><br></html></pre> |
| <br> |
| Border.jwc |
| <pre><?xml version="1.0" encoding="UTF-8"?><br><!DOCTYPE component-specification<br> PUBLIC "-//Apache Software Foundation//Tapestry Specification 3.0//EN"<br> "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd"><br> |
| <component-specification allow-body="yes" allow-informal-parameters="no"><br></component-specification><br> |
| </pre> |
| </td> |
| </tr></table> |
| </td></tr> |
| <tr> |
| <td colspan="3"><hr></td> |
| </tr> |
| <tr> |
| <td align="left"><A href="RenderBlock.html"><IMG alt=RenderBlock src="common-images/prev.png"></A></td> |
| <td align="middle"><A href="index.html"><IMG alt="Component Index" src="common-images/home.png" ></A></td> |
| <td align="right"><A href="Rollover.html"><IMG alt=Rollover src="common-images/next.png"></A></td> |
| </tr> |
| </table> |
| |
| </body> |
| </html> |