Author: mvitenkov
Date: 2008-11-25 09:34:17 -0500 (Tue, 25 Nov 2008)
New Revision: 11362
Modified:
trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp 2008-11-25
14:34:01 UTC (rev 11361)
+++ trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp 2008-11-25
14:34:17 UTC (rev 11362)
@@ -53,8 +53,7 @@
eventsQueue="#{queueComponent.dataScrollerQueue}"
fastControls="#{dataScroller.fastControls}"
action="#{dataScroller.act}"
- actionListener="#{dataScroller.actListener}"
- maxPages="10"
+ actionListener="#{dataScroller.actListener}" maxPages="10"
scrollerListener="#{dataScroller.ScrollerListener}">
</rich:datascroller>
@@ -67,26 +66,81 @@
<h:selectOneRadio value="#{queueComponent.radioValue}">
<a4j:support id="radioSupport" event="onblur"
eventsQueue="#{queueComponent.radioQueue}"></a4j:support>
- <f:selectItems value="#{queueComponent.queues}"/>
+ <f:selectItems value="#{queueComponent.queues}" />
</h:selectOneRadio>
<h:selectOneMenu value="#{queueComponent.radioQueue}"
onchange="submit();">
<f:selectItems value="#{queueComponent.queues}" />
</h:selectOneMenu>
-
+
<h:outputText value="rich:dataFilterSlider" />
- <rich:dataFilterSlider sliderListener="#{dfs.doSlide}"
action="#{dfs.act}" forValRef="dataScroller.dataTable"
- actionListener="#{dfs.actListener}" for="dataTableId"
filterBy="getInt0"
- storeResults="true" startRange="0" endRange="999"
increment="9"
- manualInput="true" width="400px" trailer="true"
handleValue="999" id="dfsID"
- eventsQueue="#{queueComponent.dfsQueue}"></rich:dataFilterSlider>
-
+ <rich:dataFilterSlider sliderListener="#{dfs.doSlide}"
+ action="#{dfs.act}" forValRef="dataScroller.dataTable"
+ actionListener="#{dfs.actListener}" for="dataTableId"
+ filterBy="getInt0" storeResults="true" startRange="0"
endRange="999"
+ increment="9" manualInput="true" width="400px"
trailer="true"
+ handleValue="999" id="dfsID"
eventsQueue="#{queueComponent.dfsQueue}"></rich:dataFilterSlider>
+
<h:selectOneMenu value="#{queueComponent.dfsQueue}"
onchange="submit();">
<f:selectItems value="#{queueComponent.queues}" />
</h:selectOneMenu>
-
+
+ <h:outputText value="h:selectOneMenu" />
+ <h:selectOneMenu value="#{queueComponent.selectMenuValue}">
+ <f:selectItem itemLabel="apple" itemValue="apple" />
+ <f:selectItem itemLabel="kiwi" itemValue="kiwi" />
+ <f:selectItem itemLabel="pineapple" itemValue="pineapple"
/>
+ <a4j:support id="selectMenuSupport" event="onchange"
+ eventsQueue="#{queueComponent.selectMenuQueue}"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:selectOneMenu value="#{queueComponent.selectMenuQueue}"
+ onchange="submit();">
+ <f:selectItems value="#{queueComponent.queues}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="rich:suggestionbox" />
+ <h:panelGroup>
+ <h:inputText value="#{queueComponent.suggestionValue}"
id="text">
+ <f:validateLength minimum="0" maximum="30" />
+ </h:inputText>
+ <rich:suggestionbox id="suggestionBoxId"
+ bypassUpdates="#{sb.bypassUpdates}"
+ cellpadding="#{sb.cellpadding}"
cellspacing="#{sb.cellspacing}"
+ eventsQueue="#{queueComponent.suggestionQueue}"
fetchValue="#{result.text}"
+ first="#{sb.first}" for="text"
+ height="#{sb.height}"
+ ignoreDupResponses="#{sb.ignoreDupResponses}"
+ limitToList="false"
+ minChars="#{sb.minchars}" nothingLabel="#{sb.nothingLabel}"
+ usingSuggestObjects="#{sb.usingSuggestObjects}"
+ requestDelay="#{sb.requestDelay}"
+ selfRendered="#{sb.selfRendered}" var="result"
+ suggestionAction="#{sb.autocomplete}" width="#{sb.width}"
+ tokens="#{sb.tokens}">
+ <h:column>
+ <h:outputText value="#{result.city}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.contry}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.flag}" />
+ </h:column>
+ <h:column>
+ <a4j:htmlCommandLink actionListener="#{sb.selectValue}"
+ value="Click me!" />
+ </h:column>
+ </rich:suggestionbox>
+ </h:panelGroup>
+
+ <h:selectOneMenu value="#{queueComponent.suggestionQueue}"
+ onchange="submit();">
+ <f:selectItems value="#{queueComponent.queues}" />
+ </h:selectOneMenu>
+
</h:panelGrid>
<rich:separator width="100%"
height="10px"></rich:separator>
Show replies by date