Author: tkuprevich
Date: 2009-03-11 12:45:51 -0400 (Wed, 11 Mar 2009)
New Revision: 12927
Modified:
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp 2009-03-11
16:43:10 UTC (rev 12926)
+++ trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp 2009-03-11
16:45:51 UTC (rev 12927)
@@ -4,18 +4,30 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="DataScrollerSubviewID">
-
+
<rich:dataTable id="dataTableId"
value="#{dataScroller.dataTable}"
- var="dT" cellpadding="5px" rows="5" border="1"
reRender="dsID,dataTableId" sortMode="#{dataScroller.sortMode}">
+ var="dT" cellpadding="5px" rows="5" border="1"
+ reRender="dsID,dataTableId"
sortMode="#{dataScroller.sortMode}">
<f:facet name="header">
- <rich:datascroller for="dataTableId"
ajaxSingle="#{dataScroller.ajaxSingle}" reRender="dataTableId"
+ <rich:datascroller for="dataTableId"
+ ajaxSingle="#{dataScroller.ajaxSingle}" reRender="dataTableId"
boundaryControls="#{dataScroller.boundaryControls}"
- binding="#{dataScroller.htmlDatascroller}" data="datascrData"
fastStep="#{dataScroller.fastStep}" id="dsID"
- page="#{dataScroller.page}" pagesVar="pages"
pageIndexVar="index"
- value="#{dataScroller.value}" status="a4jStatusID"
stepControls="#{dataScroller.stepControls}"
- eventsQueue="eventsQueue" inactiveStyle="#{style.inactiveStyle}"
inactiveStyleClass="#{style.inactiveStyleClass}"
selectedStyle="#{style.selectedStyle}"
selectedStyleClass="#{style.selectedStyleClass}"
style="#{style.style}" styleClass="#{style.styleClass}"
tableStyle="#{style.tableStyle}"
tableStyleClass="#{style.tableStyleClass}"
- fastControls="#{dataScroller.fastControls}"
action="#{dataScroller.act}"
actionListener="#{dataScroller.actListener}"
- align="center" rendered="#{dataScroller.render}"
+ binding="#{dataScroller.htmlDatascroller}" data="datascrData"
+ fastStep="#{dataScroller.fastStep}" id="dsID"
+ page="#{dataScroller.page}" pagesVar="pages"
pageIndexVar="index"
+ value="#{dataScroller.value}" status="a4jStatusID"
+ stepControls="#{dataScroller.stepControls}"
+ eventsQueue="eventsQueue" inactiveStyle="#{style.inactiveStyle}"
+ inactiveStyleClass="#{style.inactiveStyleClass}"
+ selectedStyle="#{style.selectedStyle}"
+ selectedStyleClass="#{style.selectedStyleClass}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ tableStyle="#{style.tableStyle}"
+ tableStyleClass="#{style.tableStyleClass}"
+ fastControls="#{dataScroller.fastControls}"
+ action="#{dataScroller.act}"
+ actionListener="#{dataScroller.actListener}" align="center"
+ rendered="#{dataScroller.render}"
limitToList="#{dataScroller.limitToList}"
renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
maxPages="#{dataScroller.maxPages}"
@@ -26,22 +38,25 @@
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}">
-
+
</rich:datascroller>
</f:facet>
<f:facet name="footer">
-
+
</f:facet>
- <rich:column sortBy="#{dT.str0}" filterBy="#{dT.str0}"
filterEvent="onkeyup"
- selfSorted="#{dataScroller.selfSorted}"
filterValue="#{dataScroller.filterValue}">
+ <rich:column sortBy="#{dT.str0}" filterBy="#{dT.str0}"
+ filterEvent="onkeyup" selfSorted="#{dataScroller.selfSorted}"
+ filterValue="#{dataScroller.filterValue}">
<h:outputText value="#{dT.str0}" />
</rich:column>
- <rich:column sortBy="#{dT.int0}" filterBy="#{dT.int0}"
filterEvent="onkeyup" selfSorted="#{dataScroller.selfSorted}">
+ <rich:column sortBy="#{dT.int0}" filterBy="#{dT.int0}"
+ filterEvent="onkeyup" selfSorted="#{dataScroller.selfSorted}">
<h:outputText value="#{dT.int0} " />
</rich:column>
</rich:dataTable>
<h:panelGrid id="dataScrollerActionID" columns="1">
- <a4j:commandButton value="Show action"
reRender="dataScrollerActionID" style=" width :
95px;"></a4j:commandButton>
+ <a4j:commandButton value="Show action"
reRender="dataScrollerActionID"
+ style=" width : 95px;"></a4j:commandButton>
<h:outputText value="#{dataScroller.action}" />
<h:outputText value="#{dataScroller.actionListener}" />
</h:panelGrid>
Modified:
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp 2009-03-11
16:43:10 UTC (rev 12926)
+++
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp 2009-03-11
16:45:51 UTC (rev 12927)
@@ -13,8 +13,13 @@
<h:panelGrid columns="2">
<h:outputText value="maxPages" />
<h:inputText value="#{dataScroller.maxPages}">
- <a4j:support event="onchange"
reRender="dataScrollerID"></a4j:support>
+ <a4j:support event="onchange"
reRender="dataTableId"></a4j:support>
</h:inputText>
+
+ <h:outputText value="page" />
+ <h:inputText value="#{dataScroller.page}">
+ <a4j:support event="onchange"
reRender="dataTableId"></a4j:support>
+ </h:inputText>
<h:outputText value="Rendered:" />
<h:selectBooleanCheckbox value="#{dataScroller.render}"