Author: abelevich
Date: 2007-05-16 05:27:28 -0400 (Wed, 16 May 2007)
New Revision: 773
Modified:
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid-cell.jspx
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-cell.jspx
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid-cell.jspx 2007-05-16
01:10:09 UTC (rev 772)
+++
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid-cell.jspx 2007-05-16
09:27:28 UTC (rev 773)
@@ -11,11 +11,10 @@
component="javax.faces.component.UIComponent"
- <td id="c_#{cell_index}" class="ClientUI_Grid_BC">
- <span id="bc_#{cell_index}"
style="#{component.attributes['style']}"
class="ClientUI_Grid_BCBody">
+ <td id="#{client_id}:c_#{cell_id}" class="ClientUI_Grid_BC">
+ <span id="#{client_id}:bc_#{cell_id}"
style="#{component.attributes['style']}"
class="ClientUI_Grid_BCBody">
<vcp:body/>
</span>
</td>
-
-
+
</f:root>
\ No newline at end of file
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-16
01:10:09 UTC (rev 772)
+++
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx 2007-05-16
09:27:28 UTC (rev 773)
@@ -48,6 +48,7 @@
</div>
<input type="hidden" name="#{clientId}_state_input"
id="#{clientId}_state_input"/>
+ <input type="hidden" name="#{clienId}_model_input"
id="#{clientId}_model_input"/>
<input type="button" name="#{clientId}_submit_input"
id="#{clientId}_submit_input"
onclick="#{this:getRowsAjaxUpdate(context,component)}"
style="display:none"/>
</div>
@@ -113,7 +114,7 @@
// ClientUILib.log(ClientUILogger.WARNING, "Document loaded over " +
(currTime - ClientUILib.startTime) + " miliseconds.");
var clientId = '#{clientId}';
var rows_count = '#{rows_count}';
- // var column_count = '#{row_column}';
+ var column_count = '#{row_column}';
dataModel = new ClientUI.controls.grid.FakeArrayDataModel(1000, 8, clientId);