You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2007/05/16 10:22:15 UTC

svn commit: r538473 - /myfaces/tomahawk/trunk/examples/simple/src/main/webapp/dataScroller.jsp

Author: mmarinschek
Date: Wed May 16 01:22:15 2007
New Revision: 538473

URL: http://svn.apache.org/viewvc?view=rev&rev=538473
Log:
fixed dataScroller-sample - rowCount wasn't referred from the dataTable, plus no commandButton available to set rowCount

Modified:
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/dataScroller.jsp

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/dataScroller.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/dataScroller.jsp?view=diff&rev=538473&r1=538472&r2=538473
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/dataScroller.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/dataScroller.jsp Wed May 16 01:22:15 2007
@@ -37,6 +37,7 @@
 
     <h:outputText value="Rows to show"/>
     <h:inputText value="#{scrollerList.rowCount}" />
+    <h:commandButton value="set rowCount"/>
 
     <h:panelGroup id="body">
     
@@ -49,7 +50,7 @@
                 var="car"
                 value="#{scrollerList.list}"
                 preserveDataModel="false"
-                rows="10"
+                rows="#{scrollerList.rowCount}"
            >
            <h:column>
                <f:facet name="header">