RenderBody的用法

在做一个网站时,我们通常要做一个框架,以后的内容都在框架里展现,这就需要RednderBody了,如下:

<span jwcid="@Border">

<TABLE align=center border=0>
   <TR>
      <TD>这是嵌入页面</TD>
   </TR>
</TABLE>
<br/>
</span>

Border.html
<html jwcid="@Shell" title="RenderBody Example">
   <body jwcid="@Body">
      <table width="100%" cellspacing="0" border="0">
         <tr>
           <td>在这里开始</td>
         </tr>
         <tr>
           <td>
              <span jwcid="@RenderBody">Page content goes here.</span>
           </td>
        </tr>
        <tr>
           <td>在这里结束</td>
        </tr>
     </table>
  </body>
</html>


最后的结果是:
<html jwcid="@Shell" title="RenderBody Example">
   <body jwcid="@Body">
      <table width="100%" cellspacing="0" border="0">
         <tr>
           <td>在这里开始</td>
         </tr>
         <tr>
           <td>
              <TABLE align=center border=0>

                <TR>

                    <TD>这是嵌入页面</TD>

                </TR>

              </TABLE>

               <br/>

</td> </tr>         <tr>            <td>在这里结束</td>         </tr> </table> </body> </html>