Author: ayanul
Date: 2008-03-20 10:05:11 -0400 (Thu, 20 Mar 2008)
New Revision: 6995
Modified:
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml
Log:
fix bug
Modified:
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml 2008-03-20
14:03:59 UTC (rev 6994)
+++
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml 2008-03-20
14:05:11 UTC (rev 6995)
@@ -2,8 +2,11 @@
<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
id="scrollableDataTablePropertySubviewID">
<h:panelGrid columns="2">
<h:outputText value="length:"></h:outputText>
- <h:inputText value="#{scrollableDT.dataLength}"
onchange="submit();">
- </h:inputText>
+ <h:panelGroup>
+ <h:inputText value="#{scrollableDT.dataLength}"></h:inputText>
+ <a4j:commandButton action="#{scrollableDT.addNewItem}"
+ reRender="sdt" value="ok" />
+ </h:panelGroup>
<h:outputText value="rows:" />
<h:inputText value="#{scrollableDT.rows}"
onchange="submit();">