Author: mvitenkov
Date: 2008-11-24 14:08:02 -0500 (Mon, 24 Nov 2008)
New Revision: 11330
Added:
trunk/test-applications/jsp/src/main/webapp/Queue/
trunk/test-applications/jsp/src/main/webapp/Queue/Queue.jsp
trunk/test-applications/jsp/src/main/webapp/Queue/QueueDefault.jsp
trunk/test-applications/jsp/src/main/webapp/Queue/QueueProperty.jsp
trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp
Log:
+Queue jsp pages
Added: trunk/test-applications/jsp/src/main/webapp/Queue/Queue.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Queue/Queue.jsp
(rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Queue/Queue.jsp 2008-11-24 19:08:02 UTC
(rev 11330)
@@ -0,0 +1,21 @@
+<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
+
+<f:subview id="queueSubviewID">
+ <a4j:queue binding="#{queue.myQueue}"
+ disabled="#{queue.disabled}"
+ ignoreDupResponses="#{queue.ignoreDupResponses}"
+ name="formQueue"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ oncomplete="#{event.oncomplete}"
+ onerror="#{event.onerror}"
+ onsizeexceeded="#{event.onsizeexceeded}"
+ onsubmit="#{event.onsubmit}"
+ rendered="#{queue.rendered}"
+ requestDelay="#{queue.requestDelay}"
+ size="#{queue.size}"
+ sizeExceededBehavior="#{queue.sizeExceededBehavior}"
+ timeout="#{queue.timeout}"/>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/Queue/QueueDefault.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Queue/QueueDefault.jsp
(rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Queue/QueueDefault.jsp 2008-11-24 19:08:02
UTC (rev 11330)
@@ -0,0 +1,4 @@
+<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/Queue/QueueProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Queue/QueueProperty.jsp
(rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Queue/QueueProperty.jsp 2008-11-24
19:08:02 UTC (rev 11330)
@@ -0,0 +1,40 @@
+<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
+
+<f:subview id="queuePropertySubviewID">
+ <h:commandButton value="add test"
+ action="#{queue.addQueue}"></h:commandButton>
+ <h:panelGrid columns="2">
+ <h:outputText value="disabled" />
+ <h:selectBooleanCheckbox value="#{queue.disabled}"
onclick="submit()" />
+
+ <h:outputText value="ignoreDupResponses" />
+ <h:selectBooleanCheckbox value="#{queue.ignoreDupResponses}"
+ onclick="submit()" />
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{queue.rendered}"
onclick="submit()" />
+
+ <h:outputText value="requestDelay" />
+ <h:inputText value="#{queue.requestDelay}">
+ <a4j:support event="onchange"
reRender="queueID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="size" />
+ <h:inputText value="#{queue.size}">
+ <a4j:support event="onchange"
reRender="queueID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="requestDelay" />
+ <h:panelGroup>
+ <h:inputText value="#{queue.sizeExceededBehavior}"
+ id="sizeExceededBehaviorID">
+ <a4j:support event="onchange"
reRender="queueID"></a4j:support>
+ </h:inputText>
+ <h:outputLabel value=" \"dropNext\", \"dropNew\",
\"fireNext\", \"fireNew\"" for="sizeExceededBehaviorID"
/>
+ </h:panelGroup>
+
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp
(rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Queue/QueueStraightforward.jsp 2008-11-24
19:08:02 UTC (rev 11330)
@@ -0,0 +1,114 @@
+<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
+<f:subview id="queueStraightforwardSubviewID">
+ <h:panelGrid columns="3" id="panelID" border="1"
+ style="text-align:center;">
+
+ <h:outputText value="Component name" style="FONT-WEIGHT: bold;"
/>
+ <h:outputText value="Component" style="FONT-WEIGHT: bold;"
/>
+ <h:outputText value="Select eventsQueue" style="FONT-WEIGHT:
bold;" />
+
+ <h:outputText value="h:inputText" />
+ <h:inputText value="#{queueComponent.inputValue}"
id="inputID">
+ <a4j:support id="inputSupport" event="onblur"
+ eventsQueue="#{queueComponent.inputQueue}"></a4j:support>
+ </h:inputText>
+
+ <h:selectOneMenu value="#{queueComponent.inputQueue}"
+ onchange="submit();">
+ <f:selectItems value="#{queueComponent.queues}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="rich:calendar" />
+ <rich:calendar id="calendarID"
value="#{queueComponent.calendarValue}"
+ eventsQueue="#{queueComponent.calendarQueue}">
+ </rich:calendar>
+
+ <h:selectOneMenu value="#{queueComponent.calendarQueue}"
+ onchange="submit();">
+ <f:selectItems value="#{queueComponent.queues}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="h:selectBooleanCheckbox" />
+ <h:selectBooleanCheckbox value="#{queueComponent.checkboxValue}"
+ id="checkboxID">
+ <a4j:support id="checkboxSupport" event="onchange"
+ eventsQueue="#{queueComponent.checkboxQueue}"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:selectOneMenu value="#{queueComponent.checkboxQueue}"
+ onchange="submit();">
+ <f:selectItems value="#{queueComponent.queues}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="rich:dataScroller" />
+ <rich:datascroller for="dataTableId" reRender="dataTableId"
+ boundaryControls="#{dataScroller.boundaryControls}"
+ fastStep="#{dataScroller.fastStep}" id="dsID"
+ page="#{dataScroller.page}"
+ value="#{queueComponent.dataScrollerValue}"
+ stepControls="#{dataScroller.stepControls}"
+ eventsQueue="#{queueComponent.dataScrollerQueue}"
+ fastControls="#{dataScroller.fastControls}"
+ action="#{dataScroller.act}"
+ actionListener="#{dataScroller.actListener}"
+ maxPages="10"
+ scrollerListener="#{dataScroller.ScrollerListener}">
+ </rich:datascroller>
+
+ <h:selectOneMenu value="#{queueComponent.dataScrollerQueue}"
+ onchange="submit();">
+ <f:selectItems value="#{queueComponent.queues}" />
+ </h:selectOneMenu>
+
+ <h:outputText value="h:selectOneRadio" />
+ <h:selectOneRadio value="#{queueComponent.radioValue}">
+ <a4j:support id="radioSupport" event="onblur"
+ eventsQueue="#{queueComponent.radioQueue}"></a4j:support>
+ <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>
+
+ <h:selectOneMenu value="#{queueComponent.dfsQueue}"
+ onchange="submit();">
+ <f:selectItems value="#{queueComponent.queues}" />
+ </h:selectOneMenu>
+
+ </h:panelGrid>
+
+ <rich:separator width="100%"
height="10px"></rich:separator>
+ <rich:dataTable id="dataTableId"
value="#{dataScroller.dataTable}"
+ var="dT" cellpadding="5px" rows="5" border="1"
+ reRender="dsID,dataTableId"
sortMode="#{dataScroller.sortMode}">
+ <f:facet name="header">
+ <h:outputText value="Header" />
+ </f:facet>
+ <f:facet name="footer">
+
+ </f:facet>
+ <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}">
+ <h:outputText value="#{dT.int0} " />
+ </rich:column>
+ </rich:dataTable>
+
+
+</f:subview>
\ No newline at end of file