Author: mvitenkov
Date: 2008-06-30 10:25:04 -0400 (Mon, 30 Jun 2008)
New Revision: 9304
Modified:
trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
trunk/test-applications/jsp/src/main/webapp/ComponentControl/ComponentControl.jsp
trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp
trunk/test-applications/jsp/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.jsp
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp
trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedList.jsp
trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedListProperty.jsp
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -294,8 +294,8 @@
value="switch"></a4j:commandLink>
</h:panelGrid>
- <h:outputText value="JS API with
componentControl"></h:outputText>
-
+ <h:outputText value="JS API with
componentControl"></h:outputText>
+
<f:verbatim>
<br />
<a href="#" id="doExpandCalendarID">Calendar
(expand)</a>
@@ -311,26 +311,53 @@
<a href="#" id="doPrevMonthCalendarID">Calendar
(prevMonth)</a>
<br />
<a href="#" id="doTodayCalendarID">Calendar
(today)</a>
- <br />
+ <br />
<a href="#"
id="getSelectedDateID">Calendar(getSelectedDate)</a>
- <br />
+ <br />
<a href="#"
id="getCurrentDateID">Calendar(getCurrentDate)</a>
- <br />
+ <br />
<a href="#"
id="getCurrentMonthID">Calendar(getCurrentMonth)</a>
- <br />
+ <br />
<a href="#"
id="getCurrentYearID">Calendar(getCurrentYear)</a>
</f:verbatim>
- <rich:componentControl attachTo="doExpandCalendarID"
for="calendarClientID" event="onclick" operation="expand"
/>
- <rich:componentControl attachTo="collapseCalendarID"
for="calendarClientID" event="onclick" operation="collapse"
/>
- <rich:componentControl attachTo="doNextYearCalendarID"
for="calendarClientID" event="onclick" operation="nextYear"
/>
- <rich:componentControl attachTo="doPrevYearCalendarID"
for="calendarClientID" event="onclick" operation="prevYear"
/>
- <rich:componentControl attachTo="doNextMonthCalendarID"
for="calendarClientID" event="onclick" operation="nextMonth"
/>
- <rich:componentControl attachTo="doPrevMonthCalendarID"
for="calendarClientID" event="onclick" operation="prevMonth"
/>
- <rich:componentControl attachTo="doTodayCalendarID"
for="calendarClientID" event="onclick" operation="today"
/>
- <rich:componentControl attachTo="doTodayCalendarRenderedID"
for="calendarClientID" event="onclick" operation="today"
/>
- <rich:componentControl attachTo="getSelectedDateID"
for="calendarClientID" event="onclick"
operation="alert(getSelectedDate())" />
- <rich:componentControl attachTo="getCurrentDateID"
for="calendarClientID" event="onclick"
operation="alert(getCurrentDate())" />
- <rich:componentControl attachTo="getCurrentMonthID"
for="calendarClientID" event="onclick"
operation="alert(getCurrentMonth())" />
- <rich:componentControl attachTo="getCurrentYearID"
for="calendarClientID" event="onclick"
operation="alert(getCurrentYear())" />
+ <rich:componentControl attachTo="doExpandCalendarID"
+ for="calendarClientID" event="onclick" operation="expand"
/>
+ <rich:componentControl attachTo="collapseCalendarID"
+ for="calendarClientID" event="onclick"
operation="collapse" />
+ <rich:componentControl attachTo="doNextYearCalendarID"
+ for="calendarClientID" event="onclick"
operation="nextYear" />
+ <rich:componentControl attachTo="doPrevYearCalendarID"
+ for="calendarClientID" event="onclick"
operation="prevYear" />
+ <rich:componentControl attachTo="doNextMonthCalendarID"
+ for="calendarClientID" event="onclick"
operation="nextMonth" />
+ <rich:componentControl attachTo="doPrevMonthCalendarID"
+ for="calendarClientID" event="onclick"
operation="prevMonth" />
+ <rich:componentControl attachTo="doTodayCalendarID"
+ for="calendarClientID" event="onclick" operation="today"
/>
+ <rich:componentControl attachTo="doTodayCalendarRenderedID"
+ for="calendarClientID" event="onclick" operation="today"
/>
+ <rich:componentControl attachTo="getSelectedDateID"
+ for="calendarClientID" event="onclick"
+ operation="alert(getSelectedDate())" />
+ <rich:componentControl attachTo="getCurrentDateID"
+ for="calendarClientID" event="onclick"
+ operation="alert(getCurrentDate())" />
+ <rich:componentControl attachTo="getCurrentMonthID"
+ for="calendarClientID" event="onclick"
+ operation="alert(getCurrentMonth())" />
+ <rich:componentControl attachTo="getCurrentYearID"
+ for="calendarClientID" event="onclick"
+ operation="alert(getCurrentYear())" />
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
value="#{rich:findComponent('calendarClientID').value}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -69,9 +69,19 @@
<br />
<a href="#" id="disableID">disable</a>
</f:verbatim>
- <rich:componentControl attachTo="showListID" event="onclick"
for="comboboxID"
operation="showList"></rich:componentControl>
+ <rich:componentControl attachTo="showListID" event="onclick"
for="comboboxID" operation="showList"
params="label:label"></rich:componentControl>
<rich:componentControl attachTo="hideListID" event="onclick"
for="comboboxID"
operation="hideList"></rich:componentControl>
<rich:componentControl attachTo="enableID" event="onclick"
for="comboboxID" operation="enable"></rich:componentControl>
<rich:componentControl attachTo="disableID" event="onclick"
for="comboboxID"
operation="disable"></rich:componentControl>
-
+ <br/>
+ <br/>
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('comboboxID').value}"
/>
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified:
trunk/test-applications/jsp/src/main/webapp/ComponentControl/ComponentControl.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ComponentControl/ComponentControl.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++
trunk/test-applications/jsp/src/main/webapp/ComponentControl/ComponentControl.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -95,6 +95,17 @@
<rich:menuItem icon="/pics/info.gif" value="c">
</rich:menuItem>
</rich:contextMenu>
- <rich:componentControl event="oncontextmenu"
attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
operation="show"
+ <rich:componentControl id="componentID" event="oncontextmenu"
attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
operation="show"
params="expand:'show work'" />
+ <br/>
+ <br/>
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getOperation"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
value="#{rich:findComponent('componentID').operation}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++
trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -89,4 +89,15 @@
<rich:componentControl attachTo="hideID" event="onclick"
for="contextMenuDefaultID"
operation="hide"></rich:componentControl>
<rich:componentControl attachTo="enableID" event="onclick"
for="contextMenuDefaultID"
operation="enable"></rich:componentControl>
<rich:componentControl attachTo="disableID" event="onclick"
for="contextMenuDefaultID"
operation="disable"></rich:componentControl>
+ <br/>
+ <br/>
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getChildCount"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
value="#{rich:findComponent('contextMenuDefaultID').childCount}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified:
trunk/test-applications/jsp/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++
trunk/test-applications/jsp/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -4,30 +4,43 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="dataDefinitionListPropertySubviewID">
- <h:panelGrid columns="2">
- <h:outputText value="title" />
- <h:inputText value="#{dataDefinitionList.title}" >
- <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="first" />
- <h:inputText value="#{dataDefinitionList.first}" >
- <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="rows" />
- <h:inputText value="#{dataDefinitionList.rows}" >
- <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="dir" />
- <h:selectOneRadio value="#{dataDefinitionList.dir}">
- <f:selectItem itemValue="LTR" itemLabel="LTR"/>
- <f:selectItem itemValue="RTL" itemLabel="RTL"/>
- <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
- </h:selectOneRadio>
+ <h:panelGrid columns="2">
+ <h:outputText value="title" />
+ <h:inputText value="#{dataDefinitionList.title}">
+ <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
+ </h:inputText>
- <h:outputText value="rendered" />
- <h:selectBooleanCheckbox value="#{dataDefinitionList.rendered}"
onchange="submit();" />
- </h:panelGrid>
+ <h:outputText value="first" />
+ <h:inputText value="#{dataDefinitionList.first}">
+ <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rows" />
+ <h:inputText value="#{dataDefinitionList.rows}">
+ <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="dir" />
+ <h:selectOneRadio value="#{dataDefinitionList.dir}">
+ <f:selectItem itemValue="LTR" itemLabel="LTR" />
+ <f:selectItem itemValue="RTL" itemLabel="RTL" />
+ <a4j:support event="onchange"
reRender="ddListID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{dataDefinitionList.rendered}"
+ onchange="submit();" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRowCount"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('ddListID').rowCount}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified:
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -10,4 +10,16 @@
<a4j:support event="onclick"
reRender="p1"></a4j:support>
</h:selectBooleanCheckbox>
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getEndRange"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('dfsID').endRange}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedList.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedList.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++
trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedList.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -7,7 +7,7 @@
<rich:dataOrderedList id="doListID"
value="#{dataOrderedList.arr}" var="arr"
first="#{dataOrderedList.first}"
rendered="#{dataOrderedList.rendered}"
title="#{dataOrderedList.title}" type="#{dataOrderedList.type}"
dir="#{dataOrderedList.dir}"
rows="#{dataOrderedList.rows}"
- columnClasses="#{style.columnClasses}"
footerClass="#{style.footerClass}" headerClass="#{style.headerClass}"
rowClasses="#{style.rowClasses}" style="#{style.style}"
styleClass="#{style.styleClass}" >
+ footerClass="#{style.footerClass}"
headerClass="#{style.headerClass}" rowClasses="#{style.rowClasses}"
style="#{style.style}" styleClass="#{style.styleClass}" >
<f:facet name="header">
<h:outputText value="Africa(header):" />
</f:facet>
Modified:
trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedListProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedListProperty.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++
trunk/test-applications/jsp/src/main/webapp/DataOrderedList/DataOrderedListProperty.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -43,4 +43,17 @@
<h:outputText value="rendered" />
<h:selectBooleanCheckbox value="#{dataOrderedList.rendered}"
onchange="submit();"/>
</h:panelGrid>
+
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRowCount"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('doListID').rowCount}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Modified:
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp 2008-06-30
14:10:46 UTC (rev 9303)
+++
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp 2008-06-30
14:25:04 UTC (rev 9304)
@@ -5,90 +5,98 @@
<f:subview id="datascrollerPropertySubviewID">
- <h:commandButton action="#{dataScroller.CutArray}"
value="CutArray" />
- <h:commandButton action="#{dataScroller.RestoreArray}"
- value="RestoreArray" />
+ <h:commandButton action="#{dataScroller.CutArray}"
value="CutArray" />
+ <h:commandButton action="#{dataScroller.RestoreArray}"
+ value="RestoreArray" />
- <h:panelGrid columns="2">
- <h:outputText value="maxPages" />
- <h:inputText value="#{dataScroller.maxPages}">
- <a4j:support event="onchange"
reRender="dataScrollerID"></a4j:support>
- </h:inputText>
+ <h:panelGrid columns="2">
+ <h:outputText value="maxPages" />
+ <h:inputText value="#{dataScroller.maxPages}">
+ <a4j:support event="onchange"
reRender="dataScrollerID"></a4j:support>
+ </h:inputText>
- <h:outputText value="Rendered:" />
- <h:selectBooleanCheckbox value="#{dataScroller.render}"
- onclick="submit();" />
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.render}"
+ onclick="submit();" />
- <h:outputText value="renderIfSinglePage:" />
- <h:selectBooleanCheckbox value="#{dataScroller.renderIfSinglePage}"
- onclick="submit();" />
+ <h:outputText value="renderIfSinglePage:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.renderIfSinglePage}"
+ onclick="submit();" />
- <h:outputText value="limitToList:" />
- <h:selectBooleanCheckbox value="#{dataScroller.limitToList}"
- onclick="submit();" />
+ <h:outputText value="limitToList:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.limitToList}"
+ onclick="submit();" />
- <h:outputText value="fastControls" />
- <h:selectOneRadio value="#{dataScroller.fastControls}">
- <f:selectItem itemLabel="auto" itemValue="auto" />
- <f:selectItem itemLabel="show" itemValue="show" />
- <f:selectItem itemLabel="hide" itemValue="hide" />
- <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
- </h:selectOneRadio>
+ <h:outputText value="fastControls" />
+ <h:selectOneRadio value="#{dataScroller.fastControls}">
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <f:selectItem itemLabel="show" itemValue="show" />
+ <f:selectItem itemLabel="hide" itemValue="hide" />
+ <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
- <h:outputText value="align" />
- <h:selectOneRadio value="#{dataScroller.align}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <f:selectItem itemLabel="center" itemValue="center" />
- <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="ajaxSingle" />
- <h:selectBooleanCheckbox
value="#{dataScroller.ajaxSingle}"></h:selectBooleanCheckbox>
-
- <h:outputText value="boundaryControls" />
- <h:selectOneRadio value="#{dataScroller.boundaryControls}">
- <f:selectItem itemLabel="auto" itemValue="auto" />
- <f:selectItem itemLabel="show" itemValue="show" />
- <f:selectItem itemLabel="hide" itemValue="hide" />
- <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="fastStep"></h:outputText>
- <h:inputText value="#{dataScroller.fastStep}"/>
-
- <h:outputText value="page"/>
- <h:inputText value="#{dataScroller.page}"></h:inputText>
-
- <h:outputText value="value"></h:outputText>
- <h:outputText value="#{dataScroller.value}"></h:outputText>
-
- <h:outputText value="stepControls"></h:outputText>
- <h:selectOneRadio value="#{dataScroller.stepControls}">
- <f:selectItem itemLabel="auto" itemValue="auto" />
- <f:selectItem itemLabel="show" itemValue="show" />
- <f:selectItem itemLabel="hide" itemValue="hide" />
- <a4j:support event="onclick"
reRender="dataTableId,dsID"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="sortMode"></h:outputText>
- <h:selectOneRadio value="#{dataScroller.sortMode}">
- <f:selectItem itemLabel="single" itemValue="single"/>
- <f:selectItem itemLabel="multi" itemValue="multi"/>
- <a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="sortOrder"></h:outputText>
- <h:selectOneRadio value="#{dataScroller.currentSortOrder}">
- <f:selectItem itemLabel="ASCENDING"
itemValue="ASCENDING"/>
- <f:selectItem itemLabel="DESCENDING"
itemValue="DESCENDING"/>
- <f:selectItem itemLabel="UNSORTED" itemValue="UNSORTED"/>
- <a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="selfSorted(1st)"></h:outputText>
- <h:selectBooleanCheckbox value="#{dataScroller.selfSorted}">
- <a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
- </h:selectBooleanCheckbox>
- </h:panelGrid>
+ <h:outputText value="align" />
+ <h:selectOneRadio value="#{dataScroller.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="ajaxSingle" />
+ <h:selectBooleanCheckbox
value="#{dataScroller.ajaxSingle}"></h:selectBooleanCheckbox>
+
+ <h:outputText value="boundaryControls" />
+ <h:selectOneRadio value="#{dataScroller.boundaryControls}">
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <f:selectItem itemLabel="show" itemValue="show" />
+ <f:selectItem itemLabel="hide" itemValue="hide" />
+ <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="fastStep"></h:outputText>
+ <h:inputText value="#{dataScroller.fastStep}" />
+
+ <h:outputText value="value"></h:outputText>
+ <h:outputText value="#{dataScroller.value}"></h:outputText>
+
+ <h:outputText value="stepControls"></h:outputText>
+ <h:selectOneRadio value="#{dataScroller.stepControls}">
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <f:selectItem itemLabel="show" itemValue="show" />
+ <f:selectItem itemLabel="hide" itemValue="hide" />
+ <a4j:support event="onclick"
reRender="dataTableId,dsID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="sortMode"></h:outputText>
+ <h:selectOneRadio value="#{dataScroller.sortMode}">
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="multi" itemValue="multi" />
+ <a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="sortOrder"></h:outputText>
+ <h:selectOneRadio value="#{dataScroller.currentSortOrder}">
+ <f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING"
/>
+ <f:selectItem itemLabel="DESCENDING" itemValue="DESCENDING"
/>
+ <f:selectItem itemLabel="UNSORTED" itemValue="UNSORTED" />
+ <a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="selfSorted(1st)"></h:outputText>
+ <h:selectBooleanCheckbox value="#{dataScroller.selfSorted}">
+ <a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getPage"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('dsID').page}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file