Author: ilya_shaikovsky
Date: 2010-05-31 10:28:31 -0400 (Mon, 31 May 2010)
New Revision: 17414
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/queue/queue.xhtml
Log:
queue ignoreDupResponce now not present - removing from options form
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/queue/queue.xhtml
===================================================================
---
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/queue/queue.xhtml 2010-05-31
14:25:51 UTC (rev 17413)
+++
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/queue/queue.xhtml 2010-05-31
14:28:31 UTC (rev 17414)
@@ -18,17 +18,14 @@
influence Ajax requests. This example is a good start to learn about Ajax requests
flood protection.</p>
-<p>Pay attention to next points in the example:</p>
+<p>Pay attention to next point in the example:</p>
<ul>
-<li>Setting ignoreDupResponces to true reduces the count of DOM updates on typing
inside the input. (in initial state count of updates is equals to count of
requests)</li>
<li>Setting request delay to greater value reduces the greatly requests count on
fast typing. (More similar requests are combined in the result)</li>
</ul>
Also pay your attention to the queue definition. Such definition (inside some form
without a name) means that the queue options becomes global for the form.
<rich:panel>
<h:form id="form">
- <a4j:queue requestDelay="#{queueBean.requestDelay}"
- ignoreDupResponses="#{queueBean.ignoreDupResponces}"
- />
+ <a4j:queue requestDelay="#{queueBean.requestDelay}"/>
<h:panelGrid columns="1" width="100%">
<h:panelGrid columns="2">
<h:outputText value="Type here:" />
@@ -54,8 +51,6 @@
converterMessage="Delay field should be a number (Demo input disabled till
this resolved)">
<f:convertNumber integerOnly="true"/>
</h:inputText>
- <h:outputText value="Ignore Duplicated Responces" />
- <h:selectBooleanCheckbox value="#{queueBean.ignoreDupResponces}" />
<f:facet name="footer">
<h:commandButton value="Apply"
action="#{queueBean.resetText}" />
</f:facet>
Show replies by date