Author: abelevich
Date: 2007-05-02 11:47:08 -0400 (Wed, 02 May 2007)
New Revision: 613
Modified:
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx
Log:
Modified:
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx 2007-05-02
15:46:56 UTC (rev 612)
+++
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx 2007-05-02
15:47:08 UTC (rev 613)
@@ -73,7 +73,7 @@
}
}();
- #{this:getScriptContributions(context, component)}
+ #{this:getScriptContributions(context, component)};
Event.observe(window, 'load', #{this:getJavaScriptVarName(context,
component)}.init);
// ]]>
@@ -83,115 +83,17 @@
<div id="GridContainer" style="width:60%; height:300px;"
class="ClientUI_Grid">
<div id="GridHeaderTemplate">
<table class="TestGridHeader" cellpadding="0"
cellspacing="0" border="1">
- <tr>
- <td frozen="true" id="testHeaderCell" align="right"
valign="middle" width="100px">Column 1</td>
- <td class="SecondClolumn" width="150px">
- <table cellpadding="0" cellspacing="0"
style="width:100%;">
- <tr><td style="width:100%;" align="center"
class="ClientUI_Grid_HCBodyContent">Column 2</td></tr>
- <tr>
- <td style="width:100%;">
- <table class="ClientUI_Grid_HCBodyContent"
cellpadding="0" cellspacing="0" style="width:100%;">
- <tr>
- <td style="font-size: 1px;" colspan="3"><div
class="CustomHeaderHSep"> </div></td>
- </tr>
- <tr>
- <td class="ClientUI_Grid_HCBodyContent" align="center"
width="50%">Column 2.1</td>
- <td class="CustomHeaderVSep">  </td>
- <td class="ClientUI_Grid_HCBodyContent" align="center"
width="50%">Column 2.2</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td width="100px" align="right"
valign="middle">Column 3</td>
- <td width="100px" valign="middle"
align="center">
- <select id="ColumnFilter" style="width: 90px">
- <option id="opt1">Select option 1</option>
- <option id="opt2" selected="true">Select option
2</option>
- <option id="opt3">Select option 3</option>
- <option id="opt4">Select option 4</option>
- <option id="opt5">Select option 5</option>
- <option id="opt6">Select option 6</option>
- </select>
- </td>
- <td width="100px" align="right"
valign="middle">Column 5</td>
- <td width="100px">
- <table cellpadding="0" cellspacing="0"
style="width:100%;">
- <tr><td style="width:100%;" align="center"
class="ClientUI_Grid_HCBodyContent">Column 6</td></tr>
- <tr>
- <td style="width:100%;">
- <table class="ClientUI_Grid_HCBodyContent"
cellpadding="0" cellspacing="0" style="width:100%;">
- <tr>
- <td style="font-size: 1px;" colspan="3"><div
class="CustomHeaderHSep"> </div></td>
- </tr>
- <tr>
- <td class="ClientUI_Grid_HCBodyContent" align="center"
width="50%">Column 6.1</td>
- <td class="CustomHeaderVSep">  </td>
- <td class="ClientUI_Grid_HCBodyContent" align="center"
width="50%">Column 6.2</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td width="100px" align="right"
valign="middle">Column 7</td>
- </tr>
+ <f:call name="renderHeaders"/>
</table>
</div>
<div id="GridBodyTemplate">
<table cellpadding="0" cellspacing="0">
- <tr>
- <td class="FirstClolumn">$(0)</td>
- <td align="center">
- $(1)
- <script type="text/javascript">
- processCellValue("$(cid)", "$(1)");
- </script>
- </td>
- <td>
- <div style="position:relative; top:-2px;left:0px; width:100%; height:
20px">
- <select id="dddd$(row)" style="width: 100%; height: 100%;
font:normal 8pt arial;">
- <option value="value 1">text 1</option>
- <option value="value 2">text 2</option>
- </select>
- </div>
- </td>
- <td>$(3)</td>
- <td>
- <div style="position:relative; top:-2px;left:-2px; width:100%; height:
20px">
- <input type="text" value="$(4)" style="border:1px
solid blue; width: 100%; height: 18px; font:normal 8pt arial;" />
- </div>
- </td>
- <td>$(5)</td>
- <td>$(6)</td>
- </tr>
- </table>
- <!--
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>$(index_0)</td>
- <td align="center">$(index_1)</td>
- <td>$(index_2)</td>
- <td>$(index_3)</td>
- <td>$(index_4)</td>
- <td>$(index_5)</td>
- <td>$(index_6)</td>
- </tr>
- </table>
- -->
+ <vcp:body/>
+ </table>
</div>
<div id="GridFooterTemplate">
<table cellpadding="0" cellspacing="0">
- <tr>
- <td style="width: 100px">Footer 1</td>
- <td style="width: 100px">Footer 2</td>
- <td style="width: 100px">Footer 3</td>
- <td style="width: 100px">Footer 4</td>
- <td style="width: 100px">Footer 5</td>
- <td style="width: 100px">Footer 6</td>
- <td style="width: 100px">Footer 7</td>
- </tr>
+ <f:call name="renderFooters"/>
</table>
</div>
</div>
Show replies by date