Author: ayanul
Date: 2008-03-20 10:03:59 -0400 (Thu, 20 Mar 2008)
New Revision: 6994
Modified:
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp
Log:
fix bug
Modified:
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp 2008-03-20
13:53:17 UTC (rev 6993)
+++
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.jsp 2008-03-20
14:03:59 UTC (rev 6994)
@@ -6,9 +6,11 @@
<f:subview 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();">
</h:inputText>
@@ -30,30 +32,37 @@
</h:inputText>
<h:outputText value="frozenColCount"></h:outputText>
- <h:inputText value="#{scrollableDT.frozenColCount}"
onchange="submit();">
+ <h:inputText value="#{scrollableDT.frozenColCount}"
+ onchange="submit();">
</h:inputText>
<h:outputText value="limitToList"></h:outputText>
- <h:selectBooleanCheckbox value="#{scrollableDT.limitToList}"
onchange="submit();">
+ <h:selectBooleanCheckbox value="#{scrollableDT.limitToList}"
+ onchange="submit();">
</h:selectBooleanCheckbox>
<h:outputText value="bypassUpdates:"></h:outputText>
- <h:selectBooleanCheckbox value="#{scrollableDT.bypassUpdates}"
onchange="submit();">
+ <h:selectBooleanCheckbox value="#{scrollableDT.bypassUpdates}"
+ onchange="submit();">
</h:selectBooleanCheckbox>
<h:outputText value="ajaxSingle:"></h:outputText>
- <h:selectBooleanCheckbox value="#{scrollableDT.ajaxSingle}"
onchange="submit();"></h:selectBooleanCheckbox>
+ <h:selectBooleanCheckbox value="#{scrollableDT.ajaxSingle}"
+ onchange="submit();"></h:selectBooleanCheckbox>
<h:outputText value="rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{scrollableDT.rendered}"
onchange="submit();">
+ <h:selectBooleanCheckbox value="#{scrollableDT.rendered}"
+ onchange="submit();">
</h:selectBooleanCheckbox>
<h:outputText value="hideWhenScrolling:" />
- <h:selectBooleanCheckbox value="#{scrollableDT.hideWhenScrolling}"
onchange="submit();">
+ <h:selectBooleanCheckbox value="#{scrollableDT.hideWhenScrolling}"
+ onchange="submit();">
</h:selectBooleanCheckbox>
<h:outputText value="sortMode" />
- <h:selectOneRadio value="#{sortingAndFiltering.sortMode}"
onchange="submit();">
+ <h:selectOneRadio value="#{sortingAndFiltering.sortMode}"
+ onchange="submit();">
<f:selectItem itemLabel="single" itemValue="single" />
<f:selectItem itemLabel="multi" itemValue="multi" />
</h:selectOneRadio>
Show replies by date