Author: mvitenkov
Date: 2008-12-09 13:14:01 -0500 (Tue, 09 Dec 2008)
New Revision: 11677
Modified:
trunk/test-applications/seamApp/web/src/main/webapp/Queue/QueueProperty.xhtml
Log:
+server timeout possibility
Modified: trunk/test-applications/seamApp/web/src/main/webapp/Queue/QueueProperty.xhtml
===================================================================
---
trunk/test-applications/seamApp/web/src/main/webapp/Queue/QueueProperty.xhtml 2008-12-09
18:13:25 UTC (rev 11676)
+++
trunk/test-applications/seamApp/web/src/main/webapp/Queue/QueueProperty.xhtml 2008-12-09
18:14:01 UTC (rev 11677)
@@ -5,7 +5,11 @@
xmlns:rich="http://richfaces.org/rich"
id="queuePropertySubviewID">
<h:commandButton value="add test"
action="#{queue.addQueue}"></h:commandButton>
- <h:panelGrid columns="2">
+ <a4j:commandButton actionListener="#{queueComponent.sleepThread}"
+ value="sleep5sec" />
+
+ <h:panelGrid columns="2">
+
<h:outputText value="disabled" />
<h:selectBooleanCheckbox value="#{queue.disabled}"
onclick="submit()" />
@@ -23,7 +27,7 @@
<a4j:support event="onchange"
reRender="queueID"></a4j:support>
</h:inputText>
- <h:outputText value="sizeExceededBehavior" />
+ <h:outputText value="sizeExceededBehavior" />
<h:selectOneRadio value="#{queue.sizeExceededBehavior}"
onchange="submit();">
<f:selectItem itemLabel="dropNext" itemValue="dropNext" />
@@ -31,7 +35,7 @@
<f:selectItem itemLabel="fireNext" itemValue="fireNext" />
<f:selectItem itemLabel="fireNew" itemValue="fireNew" />
</h:selectOneRadio>
-
+
<h:outputText value="timeout" />
<h:inputText value="#{queue.timeout}">
<a4j:support event="onchange"
reRender="queueID"></a4j:support>