Author: ilya_shaikovsky
Date: 2010-02-01 09:39:56 -0500 (Mon, 01 Feb 2010)
New Revision: 16385
Modified:
root/examples/trunk/richfaces-demo/src/main/webapp/templates/main.xhtml
Log:
Modified: root/examples/trunk/richfaces-demo/src/main/webapp/templates/main.xhtml
===================================================================
--- root/examples/trunk/richfaces-demo/src/main/webapp/templates/main.xhtml 2010-02-01
06:44:17 UTC (rev 16384)
+++ root/examples/trunk/richfaces-demo/src/main/webapp/templates/main.xhtml 2010-02-01
14:39:56 UTC (rev 16385)
@@ -7,20 +7,53 @@
</h:head>
<h:body>
<ui:composition>
- <rich:page id="page">
- <f:facet name="header">
- <h1>Welcome to RichFaces demo!</h1>
- </f:facet>
- <f:facet name="sidebar">
- <ui:include src="/templates/includes/navigation.xhtml" />
- </f:facet>
- <ui:insert name="body">
- Body content missed
- </ui:insert>
- <f:facet name="footer">
- footer
- </f:facet>
- </rich:page>
+ <html
xmlns="http://www.w3.org/1999/xhtml">
+ <h:head>
+ <title>Components Gallery</title>
+ </h:head>
+ <h:body>
+ <h:outputStylesheet name="rich/css/page.css" />
+ <table border="0" cellpadding="0" cellspacing="0"
+ class="rich-page #{cc.attrs.pageClass}">
+ <tbody>
+ <tr>
+ <td class="header_bg">
+ <div
+ class="header_content rich-page-header #{cc.attrs.headerClass}">
+ <h1>Welcome to RichFaces demo!</h1>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td width="100%" height="100%"
class="bg_tabbody">
+ <table cellpadding="0" cellspacing="0" border="0"
width="100%"
+ height="100%" class="rich-page-content
#{cc.attrs.contentClass}">
+ <tbody>
+ <tr>
+ <td class="menu_col rich-page-sidebar
#{cc.attrs.sidebarClass}">
+ <div class="menu_width spacer"
+ style="width:#{cc.attrs.sidebarWidth}px"></div>
+ <ui:include src="/templates/includes/navigation.xhtml"
/></td>
+ <td class="content_col rich-page-body #{cc.attrs.bodyClass}">
+ <ui:insert name="body">
+ Body content missed
+ </ui:insert></td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="footer_bg">
+ <div
+ class="footer_bg_content rich-page-footer #{cc.attrs.footerClass}">
+ footer</div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </h:body>
+ </html>
</ui:composition>
</h:body>
</html>
\ No newline at end of file