JBoss Rich Faces SVN: r12180 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-01-09 10:01:47 -0500 (Fri, 09 Jan 2009)
New Revision: 12180
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml
Log:
minor syntax error.
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml 2009-01-09 14:11:40 UTC (rev 12179)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/usage.xhtml 2009-01-09 15:01:47 UTC (rev 12180)
@@ -42,7 +42,7 @@
</div>
</fieldset>
<p><b>NOTE:</b> Old style panel calls will be also supported.</p>
- <p>The modal panel has an absolute layout.There is no reason to put in on the page
+ <p>The modal panel has an absolute layout.There is no reason to put it on the page
where it is called.If you want to perform submits from this modal panel, you should have a separate form inside it.
In this case, the panel must be declared outside of the other form on the same page.
I.e. nested forms are not allowed.<br/>
16 years, 11 months
JBoss Rich Faces SVN: r12179 - trunk/samples/richfaces-demo/src/main/webapp.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-01-09 09:11:40 -0500 (Fri, 09 Jan 2009)
New Revision: 12179
Modified:
trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml
Log:
minor syntax error.
Modified: trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2009-01-09 14:11:10 UTC (rev 12178)
+++ trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2009-01-09 14:11:40 UTC (rev 12179)
@@ -26,7 +26,7 @@
</p>
<p class="note">
Pay your attention to "New" green marks on the left navigation bar.<br/>
- Groups marked with such icons - contains the components added during latest release,
+ Groups marked with such icons - contain the components added during latest release,
or the components with new examples added.
</p>
</ui:define>
16 years, 11 months
JBoss Rich Faces SVN: r12178 - in trunk/samples/richfaces-demo/src/main: webapp/richfaces/editor/examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-01-09 09:11:10 -0500 (Fri, 09 Jan 2009)
New Revision: 12178
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml
Log:
Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java 2009-01-09 14:03:32 UTC (rev 12177)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java 2009-01-09 14:11:10 UTC (rev 12178)
@@ -21,6 +21,10 @@
configurations.add(new SelectItem(CONFIGS_PACKAGE + "advanced", "Advanced"));
}
+ public void resetValue() {
+ value = "";
+ }
+
public String getCurrentConfiguration() {
return currentConfiguration;
}
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml 2009-01-09 14:03:32 UTC (rev 12177)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml 2009-01-09 14:11:10 UTC (rev 12178)
@@ -50,7 +50,7 @@
<h:outputText value="Use Seam Text: " />
<h:selectBooleanCheckbox value="#{editorBean.useSeamText}">
<a4j:support event="onclick" reRender="editor,result" requestDelay="500"
- eventsQueue="settingsQueue" similarityGroupingId="settings" />
+ eventsQueue="settingsQueue" similarityGroupingId="settings" action="#{editorBean.resetValue}"/>
</h:selectBooleanCheckbox>
</h:panelGrid>
</rich:panel>
16 years, 11 months
JBoss Rich Faces SVN: r12177 - Reports/3.3.0 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-01-09 09:03:32 -0500 (Fri, 09 Jan 2009)
New Revision: 12177
Added:
trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.CR3.xls
Log:
Added: trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.CR3.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.CR3.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 11 months
JBoss Rich Faces SVN: r12176 - Reports/3.3.0 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-01-09 09:02:40 -0500 (Fri, 09 Jan 2009)
New Revision: 12176
Modified:
trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.CR2.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.CR2.xls
===================================================================
(Binary files differ)
16 years, 11 months
JBoss Rich Faces SVN: r12175 - in trunk/test-applications/seleniumTest/richfaces/src: main/java/org/ajax4jsf/listener and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2009-01-09 08:55:51 -0500 (Fri, 09 Jan 2009)
New Revision: 12175
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeExpandedListener.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeSelectedListener.java
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/tree/treeAutoTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java
Log:
https://jira.jboss.org/jira/browse/RF-5572
https://jira.jboss.org/jira/browse/RF-5574
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java 2009-01-09 13:46:31 UTC (rev 12174)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java 2009-01-09 13:55:51 UTC (rev 12175)
@@ -76,6 +76,8 @@
public static final String VALIDATOR_MESSAGE = "Validator message";
+ public static final String AUTOTEST_BEAN_NAME = "autoTestBean";
+
// private String input = INPUT_TEXT;
private String reRender = STATUS_ID;
@@ -169,7 +171,15 @@
public void processExpansion(NodeExpandedEvent nodeExpandedEvent) {
setStatus(getStatus() + NODE_EXPANDED_LISTENER_STATUS);
}
-
+
+ /**
+ * Puts a message into the status that can be checked by <code>AutoTester#checkMessage</code> method hereafter
+ * @param msg message
+ */
+ public void addMessage(String msg) {
+ setStatus(getStatus() + msg);
+ }
+
public void validate(FacesContext context, UIComponent component, Object o) {
if (VALIDATOR_ID.equals(this.validatorId)) {
AutoTestValidator validator = new AutoTestValidator();
Added: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeExpandedListener.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeExpandedListener.java (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeExpandedListener.java 2009-01-09 13:55:51 UTC (rev 12175)
@@ -0,0 +1,24 @@
+package org.ajax4jsf.listener;
+
+import javax.faces.event.AbortProcessingException;
+
+import org.ajax4jsf.autotest.bean.AutoTestBean;
+import org.ajax4jsf.util.FacesUtils;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeExpandedListener;
+
+public class TreeNodeExpandedListener implements NodeExpandedListener {
+
+ public static final String NE_LISTENER = "NELISTENER";
+
+ /**
+ * @see NodeExpandedListener#processExpansion(NodeExpandedEvent)
+ */
+ public void processExpansion(NodeExpandedEvent nodeExpandedEvent) throws AbortProcessingException {
+ AutoTestBean bean = (AutoTestBean) FacesUtils.getFacesBean(AutoTestBean.AUTOTEST_BEAN_NAME);
+ if (bean != null) {
+ bean.addMessage(NE_LISTENER);
+ }
+ }
+
+}
Property changes on: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeExpandedListener.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeSelectedListener.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeSelectedListener.java (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeSelectedListener.java 2009-01-09 13:55:51 UTC (rev 12175)
@@ -0,0 +1,24 @@
+package org.ajax4jsf.listener;
+
+import javax.faces.event.AbortProcessingException;
+
+import org.ajax4jsf.autotest.bean.AutoTestBean;
+import org.ajax4jsf.util.FacesUtils;
+import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.event.NodeSelectedListener;
+
+public class TreeNodeSelectedListener implements NodeSelectedListener {
+
+ public static final String NS_LISTENER = "NSLISTENER";
+
+ /**
+ * @see NodeSelectedListener#processSelection(NodeSelectedEvent)
+ */
+ public void processSelection(NodeSelectedEvent nodeSelectedEvent) throws AbortProcessingException {
+ AutoTestBean bean = (AutoTestBean) FacesUtils.getFacesBean(AutoTestBean.AUTOTEST_BEAN_NAME);
+ if (bean != null) {
+ bean.addMessage(NS_LISTENER);
+ }
+ }
+
+}
Property changes on: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/TreeNodeSelectedListener.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/tree/treeAutoTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java 2009-01-09 13:46:31 UTC (rev 12174)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java 2009-01-09 13:55:51 UTC (rev 12175)
@@ -574,6 +574,16 @@
}
}
+ public boolean checkMessage(String msg, boolean contain) {
+ String status = getStatus();
+ if (contain && status != null && status.indexOf(msg) == -1) {
+ return false;
+ } else if (!contain && status != null && status.indexOf(msg) != -1) {
+ return false;
+ }
+ return true;
+ }
+
private String getStatus() {
return base.getTextById(base.getParentId() + AUTOTEST_FORM_ID + STATUS_ID);
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java 2009-01-09 13:46:31 UTC (rev 12174)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java 2009-01-09 13:55:51 UTC (rev 12175)
@@ -23,6 +23,8 @@
import java.util.HashMap;
import java.util.Map;
+import org.ajax4jsf.listener.TreeNodeExpandedListener;
+import org.ajax4jsf.listener.TreeNodeSelectedListener;
import org.ajax4jsf.template.Template;
import org.richfaces.AutoTester;
import org.richfaces.SeleniumTestBase;
@@ -631,6 +633,30 @@
//d40
}
+ @Test
+ public void testNodeSelectedAndNodeExpandedListeners(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, INIT_AJAX_CORE_TEST);
+ tester.reset();
+ tester.clickLoad();
+ writeStatus("Check NodeExpandedListener and NodeSelectedListener");
+
+ String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
+ String firstNodeHandlerXpath = "//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a";
+ String secondNodeXpath = "//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]";
+
+ writeStatus("Expand the first node. NodeExpandedListener must be triggered. NodeSelectedListener should remain untouched. Check it");
+ clickAjaxCommandAndWait(firstNodeHandlerXpath);
+ Assert.assertTrue(tester.checkMessage(TreeNodeExpandedListener.NE_LISTENER, true), "NodeExpandedListener has to be triggered");
+ Assert.assertTrue(tester.checkMessage(TreeNodeSelectedListener.NS_LISTENER, false), "NodeSelectedListener has not to be triggered");
+
+ writeStatus("Select the second node. Now vice versa: NodeSelectedListener must be triggered. NodeExpandedListener should remain untouched. Check it");
+ tester.startTracing();
+ clickTreeNodeAndWait(secondNodeXpath);
+ Assert.assertTrue(tester.checkMessage(TreeNodeExpandedListener.NE_LISTENER, false), "NodeExpandedListener has not to be triggered");
+ Assert.assertTrue(tester.checkMessage(TreeNodeSelectedListener.NS_LISTENER, true), "NodeSelectedListener has to be triggered");
+ }
+
@Override
public void sendAjax() {
AutoTester tester = getAutoTester(this);
16 years, 11 months
JBoss Rich Faces SVN: r12174 - Reports/3.3.0 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-01-09 08:46:31 -0500 (Fri, 09 Jan 2009)
New Revision: 12174
Modified:
trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.CR2.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.CR2.xls
===================================================================
(Binary files differ)
16 years, 11 months
JBoss Rich Faces SVN: r12173 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2009-01-09 07:13:25 -0500 (Fri, 09 Jan 2009)
New Revision: 12173
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
Log:
RF-5219: dropSupport: typeMapping attribute have wrong description.
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2009-01-09 10:57:27 UTC (rev 12172)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2009-01-09 12:13:25 UTC (rev 12173)
@@ -122,7 +122,7 @@
<para>Using the <emphasis><property>"typeMapping"</property></emphasis> attribute. Previous example shows that a drop zone could accept a dragable item or not.
Special markers, which are placed at <emphasis role="bold"><property><rich:dragIndicator></property></emphasis>, inform user about drop zone’s possible behaviors:
- "checkmark" appears if drop is accepted and "No stop" sign if it is not.
+ "checkmark" appears if drop is accepted and "No" symbol if it is not.
Moreover, some extra information (e.g. text message) could be put into the Indicator to reinforce the signal about drop zone’s behavior or pass some other additional sense.
This reinforcement could be programmed and attributed to drop zone via <emphasis><property>"typeMapping"</property></emphasis> attribute using JSON syntax.
The type of dragged zone (dragType) should be passed as "key" and name of <emphasis role="bold"><property><rich:dndParam></property></emphasis>
16 years, 11 months
JBoss Rich Faces SVN: r12172 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2009-01-09 05:57:27 -0500 (Fri, 09 Jan 2009)
New Revision: 12172
Modified:
trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/queue.xml
Log:
RF-4664 - the information has been updated, the link has been added.
Modified: trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml 2009-01-09 10:55:49 UTC (rev 12171)
+++ trunk/docs/userguide/en/src/main/docbook/included/queue.desc.xml 2009-01-09 10:57:27 UTC (rev 12172)
@@ -7,7 +7,7 @@
</keywordset>
</sectioninfo>
<title>Description</title>
- <para>The <emphasis role="bold"><property><a4j:queue></property></emphasis> component creates queues of requests of Ajax request.
+ <para>The <emphasis role="bold"><property><a4j:queue></property></emphasis> component creates queues of the Ajax requests.
With the help of this component other Ajax4JSF or RichFaces components can reference and use it.</para>
<para>By means of the attributes of this component you can manage server requests of the components, which refered to it.</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/queue.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/queue.xml 2009-01-09 10:55:49 UTC (rev 12171)
+++ trunk/docs/userguide/en/src/main/docbook/included/queue.xml 2009-01-09 10:57:27 UTC (rev 12172)
@@ -37,22 +37,12 @@
<section>
<title>Creating on a page</title>
- <para>There is possibility of the creation as a named queue so and a queue with the default name.
+ <para>There is possibility of the creation several types of the queue. The additional information about them you can find <link linkend="QueuePrinciples">here</link>.
You can reference the named queue only from such components which have <emphasis><property>"eventsQueue"</property></emphasis> attribute.</para>
- <para>So, the following example helps to create the named queue.</para>
+ <para>So, the following example is the easiest example of the queue's creation .</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML"><![CDATA[<a4j:queue name="myQueue" ... />
-...
-<h:inputText value="#{myQueue.text}">
- <a:support id="onblur" event="onblur" eventsQueue="myQueue"/>
-</h:inputText>
-...>]]></programlisting>
- <para>See the example of the creation the default queue below.</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
<programlisting role="XML"><![CDATA[<h:form>
...
<a4j:queue/>
@@ -76,89 +66,12 @@
<section>
<title>Key attributes and ways of usage</title>
<para>It's possible by means of the <emphasis role="bold"><property><a4j:queue></property></emphasis> component to create the several types of the queues. The information about it you can find here.</para>
- <!-- <itemizedlist>
- <listitem>
- <para>
- So that to create a global queue you should add the following code into your "web.xml" file. In this instance the queue can be used for the all pages and all components of these pages.
- </para>
- <para>
- You can define only one global queue.
- </para>
- <programlisting role="XML"><![CDATA[<context-param>
- <param-name>org.richfaces.queue.global.enabled</param-name>
- <param-value>true</param-value>
- </context-param>]]></programlisting>
- <para>
- By default the global queue is disabled. In order to enable or disable the queue the value of the "<code>org.richfaces.global_queue</code>" parameter should be "true" or "false" accordingly.
- </para>
- <programlisting role="XML"><![CDATA[<a4j:queue name="org.richfaces.global_queue" disabled="false"... />]]></programlisting>
- </listitem>
- <listitem>
- <para>
- You can create a separate queue for a specific form with the help of the <emphasis role="bold"><property><a4j:form></property></emphasis> or <emphasis role="bold"><property><h:form></property></emphasis> tags.
- It is the queue only for this form. The queue's name don't define by default if you haven't defined it.
- </para>
- <para>
- <emphasis role="bold">
- Example:
- </emphasis>
- </para>
- <programlisting role="XML"><![CDATA[<h:form ... >
- ...
- <a4j:queue ... />
- ...
- </h:form>]]></programlisting>
- <para>
- or:
- </para>
- <para>
- <emphasis role="bold">
- Example:
- </emphasis>
- </para>
- <programlisting role="XML"><![CDATA[<a4j:form ... >
- ...
- <a4j:queue name="myQueue" ... />
- ...
-</a4j:form>]]></programlisting>
- <para>If you use the <emphasis role="bold"><property><a4j:form></property></emphasis> tag, you can reference a named queue as the form's default.</para>
- <para>
- <emphasis role="bold">
- Example:
- </emphasis>
- </para>
- <programlisting role="XML"><![CDATA[<a4j:form eventsQueue="myQueue" ...>
- ...
- </a4j:form>]]></programlisting>
- </listitem>
- <listitem>
- <para>With the help of the <emphasis><property>"eventsQueue"</property></emphasis> attribute you can reference a named queue from any <emphasis role="bold"><property>a4j</property></emphasis> or <emphasis role="bold"><property>rich</property></emphasis> component that supports this attribute.</para>
- <para>
- <emphasis role="bold">
- Example:
- </emphasis>
- </para>
- <programlisting role="XML"><![CDATA[<a4j:queue name="myQueue" ... />
-...
-<h:inputText value="#{queueBean.text}">
- <a4j:support id="onblur" event="onblur" eventsQueue="myQueue"/>
-</h:inputText>
-
-<a4j:commandButton eventsQueue="myQueue" ... >]]></programlisting>
- <para>
- As a result all requests generated after the "onblur" event of the <emphasis role="bold"><property><h:inputText></property></emphasis> component, and clicking of the <emphasis role="bold"><property><h:commandButton></property></emphasis> will be funneled through the <code>"myQueue"</code>.
- </para>
- <para>
- If you try to refer to the nonexistent queue the new named queue will be created with all default settings.
- </para>
- </listitem>
- </itemizedlist>-->
<para>In order to disable or enable the <emphasis role="bold"><property><a4j:queue></property></emphasis> component on the page you can use the <emphasis><property>"disabled"</property></emphasis> attribute.</para>
<para>
The <emphasis><property>"size"</property></emphasis> attribute helps you to set the number of requests allowed in the queue at one time.
</para>
<para>
- The <emphasis><property>"sizeExceededBehavior"</property></emphasis> attribute defines four strategies of the queue's behavior if the number of the requests waiting in the queue is exceeded:
+ The <emphasis><property>"sizeExceededBehavior"</property></emphasis> attribute defines the strategies of the queue's behavior if the number of the requests waiting in the queue is exceeded:
</para>
<itemizedlist>
<listitem>
@@ -174,6 +87,7 @@
<para>fireNew - immediately fires the incoming request.</para>
</listitem>
</itemizedlist>
+ <para>You can use this attribute only if the <emphasis><property>"size"</property></emphasis> attribute's value has been set.</para>
<para>
The example of the usage this attribute you can find below.
</para>
@@ -183,7 +97,7 @@
</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <a4j:queue sizeExceededBehavior="dropNext" requestDelay="5000" ... />
+ <a4j:queue size="4" sizeExceededBehavior="dropNext" ... />
...]]></programlisting>
<para>
The <emphasis><property>"requestDelay"</property></emphasis> attribute defines delay time for all the requests which fired using this queue.
16 years, 11 months
JBoss Rich Faces SVN: r12171 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2009-01-09 05:55:49 -0500 (Fri, 09 Jan 2009)
New Revision: 12171
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml
Log:
RF-5387 - the component's description has been corrected.
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml 2009-01-09 10:47:20 UTC (rev 12170)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml 2009-01-09 10:55:49 UTC (rev 12171)
@@ -14,10 +14,8 @@
</sectioninfo>
<section>
<title>Description</title>
- <para>The component lets selecting a number from a numeric region. It's a horizontal or vertical
- oriented scroll-like control with its own input field (optional) present. The keyboard input in a
- field is possible (optional). Also it's possible to see the current value in the toolTip
- above a dragged handle control.</para>
+ <para>The <emphasis role="bold"><property><rich:inputNumberSlider></property></emphasis> component is a slider component. A handler's position corresponds to a definite value on the slider track. In order to change the value you can slide a handler or set the necessary value into the input field.
+ You can dispose it horizontally or vertically on the page.</para>
<figure>
<title><emphasis role="bold"><property><rich:inputNumberSlider></property></emphasis> component, horizontal and vertical views</title>
<mediaobject>
16 years, 11 months