JBoss Rich Faces SVN: r21863 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-02-22 07:46:46 -0500 (Tue, 22 Feb 2011)
New Revision: 21863
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/AbstractSliderTest.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
Log:
tests for slider fixed
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/AbstractSliderTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/AbstractSliderTest.java 2011-02-22 09:25:12 UTC (rev 21862)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/AbstractSliderTest.java 2011-02-22 12:46:46 UTC (rev 21863)
@@ -146,25 +146,25 @@
public void testClick() {
String reqTime = selenium.getText(time);
guardXhr(selenium).mouseDownAt(track, new Point(0, 0));
+
waitGui.failWith("Page was not updated").waitForChange(reqTime, retrieveText.locator(time));
assertEquals(selenium.getText(output), "-10", "Output was not updated.");
- String margin = selenium.getStyle(handle, CssProperty.MARGIN_LEFT).replace("px", "").trim();
- assertEquals(Double.parseDouble(margin), 0d, "Left margin of handle.");
+ int margin = selenium.getElementPositionLeft(handle) - selenium.getElementPositionLeft(track);
+ assertTrue(margin <= 3, "Left margin of handle should be 0 (was " + margin + ").");
reqTime = selenium.getText(time);
guardXhr(selenium).mouseDownAt(track, new Point(30, 0));
waitGui.failWith("Page was not updated").waitForChange(reqTime, retrieveText.locator(time));
+
assertEquals(selenium.getText(output), "-7", "Output was not updated.");
- margin = selenium.getStyle(handle, CssProperty.MARGIN_LEFT).replace("px", "").trim();
- double marginD = Double.parseDouble(margin);
- assertTrue(marginD > 25 && marginD < 30, "Left margin of handle should be between 25 and 30.");
+ margin = selenium.getElementPositionLeft(handle) - selenium.getElementPositionLeft(track);
+ assertTrue(margin >= 27 && margin <= 33, "Left margin of handle should be between 27 and 33 (was " + margin + ").");
reqTime = selenium.getText(time);
guardXhr(selenium).mouseDownAt(track, new Point(195, 0));
waitGui.failWith("Page was not updated").waitForChange(reqTime, retrieveText.locator(time));
assertEquals(selenium.getText(output), "10", "Output was not updated.");
- margin = selenium.getStyle(handle, CssProperty.MARGIN_LEFT).replace("px", "").trim();
- marginD = Double.parseDouble(margin);
- assertTrue(marginD > 190 && marginD < 200, "Left margin of handle should be between 190 and 200.");
+ margin = selenium.getElementPositionLeft(handle) - selenium.getElementPositionLeft(track);
+ assertTrue(margin >= 192 && margin <= 198, "Left margin of handle should be between 192 and 198 (was " + margin + ").");
}
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2011-02-22 09:25:12 UTC (rev 21862)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2011-02-22 12:46:46 UTC (rev 21863)
@@ -328,25 +328,23 @@
@Test
public void testMaxValueClick() {
- JQueryLocator selectOption = pjq("input[type=text][id$=maxValueInput]");
- selenium.type(selectOption, "20");
+ selenium.type(pjq("input[type=text][id$=maxValueInput]"), "20");
selenium.waitForPageToLoad();
String reqTime = selenium.getText(time);
+ reqTime = selenium.getText(time);
guardXhr(selenium).mouseDownAt(track, new Point(170, 0));
waitGui.failWith("Page was not updated").waitForChange(reqTime, retrieveText.locator(time));
assertEquals(selenium.getText(output), "17", "Output was not updated.");
- String margin = selenium.getStyle(handle, CssProperty.MARGIN_LEFT).replace("px", "").trim();
- double marginD = Double.parseDouble(margin);
- assertTrue(marginD > 165 && marginD < 175, "Left margin of handle should be between 165 and 175.");
+ int margin = selenium.getElementPositionLeft(handle) - selenium.getElementPositionLeft(track);
+ assertTrue(margin >= 167 && margin <= 173, "Left margin of handle should be between 167 and 173 (was " + margin + ").");
reqTime = selenium.getText(time);
guardXhr(selenium).mouseDownAt(track, new Point(195, 0));
waitGui.failWith("Page was not updated").waitForChange(reqTime, retrieveText.locator(time));
assertEquals(selenium.getText(output), "20", "Output was not updated.");
- margin = selenium.getStyle(handle, CssProperty.MARGIN_LEFT).replace("px", "").trim();
- marginD = Double.parseDouble(margin);
- assertTrue(marginD > 190 && marginD < 200, "Left margin of handle should be between 190 and 200.");
+ margin = selenium.getElementPositionLeft(handle) - selenium.getElementPositionLeft(track);
+ assertTrue(margin >= 192 && margin <= 198, "Left margin of handle should be between 192 and 198 (was " + margin + ").");
}
@Test
@@ -383,25 +381,23 @@
@Test
public void testMinValueClick() {
- JQueryLocator selectOption = pjq("input[type=text][id$=minValueInput]");
- selenium.type(selectOption, "-20");
+ selenium.type(pjq("input[type=text][id$=minValueInput]"), "-20");
selenium.waitForPageToLoad();
String reqTime = selenium.getText(time);
- guardXhr(selenium).mouseDownAt(track, new Point(30, 0));
+ reqTime = selenium.getText(time);
+ guardXhr(selenium).mouseDownAt(track, new Point(28, 0));
waitGui.failWith("Page was not updated").waitForChange(reqTime, retrieveText.locator(time));
assertEquals(selenium.getText(output), "-16", "Output was not updated.");
- String margin = selenium.getStyle(handle, CssProperty.MARGIN_LEFT).replace("px", "").trim();
- double marginD = Double.parseDouble(margin);
- assertTrue(marginD > 25 && marginD < 35, "Left margin of handle should be between 25 and 35.");
+ int margin = selenium.getElementPositionLeft(handle) - selenium.getElementPositionLeft(track);
+ assertTrue(margin >= 25 && margin <= 31, "Left margin of handle should be between 25 and 31 (was " + margin + ").");
reqTime = selenium.getText(time);
guardXhr(selenium).mouseDownAt(track, new Point(0, 0));
waitGui.failWith("Page was not updated").waitForChange(reqTime, retrieveText.locator(time));
assertEquals(selenium.getText(output), "-20", "Output was not updated.");
- margin = selenium.getStyle(handle, CssProperty.MARGIN_LEFT).replace("px", "").trim();
- marginD = Double.parseDouble(margin);
- assertTrue(marginD >= 0 && marginD < 10, "Left margin of handle should be between 190 and 200.");
+ margin = selenium.getElementPositionLeft(handle) - selenium.getElementPositionLeft(track);
+ assertTrue(margin <= 3, "Left margin of handle should be between 0 and 3 (was " + margin + ").");
}
@Test
15 years, 2 months
JBoss Rich Faces SVN: r21862 - modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-22 04:25:12 -0500 (Tue, 22 Feb 2011)
New Revision: 21862
Modified:
modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml
Log:
added components-api and ui dependencies for ftest
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml 2011-02-22 09:23:07 UTC (rev 21861)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml 2011-02-22 09:25:12 UTC (rev 21862)
@@ -135,12 +135,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-components-api</artifactId>
- <version>4.0.0.20110221-CR1</version>
+ <version>4.0.0.20110220-CR1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-components-ui</artifactId>
- <version>4.0.0.20110221-CR1</version>
+ <version>4.0.0.20110220-CR1</version>
</dependency>
<dependency>
<groupId>org.richfaces.tests</groupId>
15 years, 2 months
JBoss Rich Faces SVN: r21861 - modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-22 04:23:07 -0500 (Tue, 22 Feb 2011)
New Revision: 21861
Modified:
modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml
Log:
added components-api and ui dependencies for ftest
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml 2011-02-22 05:27:30 UTC (rev 21860)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/ftest/pom.xml 2011-02-22 09:23:07 UTC (rev 21861)
@@ -133,6 +133,16 @@
<version>${deployable.version}</version>
</dependency>
<dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-components-api</artifactId>
+ <version>4.0.0.20110221-CR1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-components-ui</artifactId>
+ <version>4.0.0.20110221-CR1</version>
+ </dependency>
+ <dependency>
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-ftest-source</artifactId>
<version>${ftest.source.version}</version>
15 years, 2 months
JBoss Rich Faces SVN: r21860 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: extras and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-02-22 00:27:30 -0500 (Tue, 22 Feb 2011)
New Revision: 21860
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.js
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.xml_sample
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richgraphValidator-Basic_usage.png
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Validation.xml
Log:
Updated validation as per RFPL-990
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Validation.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Validation.xml 2011-02-21 21:43:03 UTC (rev 21859)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Validation.xml 2011-02-22 05:27:30 UTC (rev 21860)
@@ -13,9 +13,6 @@
<title>JSR-303 validation annotations</title>
<programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-Validation-JSR-303_validation_annotations.js" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
- <para>
- However, this built-in validation is only applied on the server side. RichFaces Client-Side Validation provides validation on the client side without the need to reproduce the server-side annotations. RichFaces Client-Side Validation consists of the <sgmltag><rich:validator></sgmltag> and <sgmltag><rich:graphValidator></sgmltag> behaviors.
- </para>
<note>
<title>Requirements</title>
<para>
@@ -27,9 +24,9 @@
</note>
<section id="sect-Component_Reference-Validation-richvalidator">
- <title><sgmltag><rich:validator></sgmltag></title>
+ <title><sgmltag><rich:validator></sgmltag> client-side validation</title>
<para>
- The <sgmltag><rich:validator></sgmltag> behavior adds client-side validation to a control based on registered server-side validators. The <sgmltag><rich:validator></sgmltag> behavior triggers all client validator annotations listed in the relevant managed bean.
+ The validation built in to JavaServer Faces 2 occurs on the server side. The <sgmltag><rich:validator></sgmltag> behavior adds client-side validation to a control based on registered server-side validators. It provides this validation without the need to reproduce the server-side annotations. The <sgmltag><rich:validator></sgmltag> behavior triggers all client validator annotations listed in the relevant managed bean.
</para>
<section id="sect-Component_Reference-richvalidator-Basic_usage">
@@ -44,6 +41,12 @@
The <sgmltag><rich:validator></sgmltag> behavior is added to an <sgmltag><h:inputText></sgmltag> control. The validator uses the registered server-side validators included in the managed bean referenced by the input control.
</para>
</example>
+ <note>
+ <title>JSF validation tags</title>
+ <para>
+ JSF validation tags, such as <sgmltag><f:validateLength></sgmltag> and <sgmltag><f:validateDoubleRange></sgmltag> tags, can be declared alongside <sgmltag><rich:validator></sgmltag> behaviors. However, because this duplicates the validation processes at both the view and model level, it is not recommended.
+ </para>
+ </note>
</section>
<section id="sect-Component_Reference-richvalidator-Messages_from_client-side_validators">
@@ -84,17 +87,11 @@
</example>
</section>
- <section id="sect-Component_Reference-richvalidator-Fall-backs">
- <title>Fall-backs</title>
+ <section id="sect-Component_Reference-richvalidator-Ajax_fall-backs">
+ <title>Ajax fall-backs</title>
<para>
If no client-side validation method exists for a registered server-side validator, Ajax fall-back is used. The <sgmltag><rich:validator></sgmltag> behavior invokes all available client-side validators. If all the client-side validators return valid, RichFaces performs an Ajax request to invoke the remaining validators on the server side.
</para>
- <note>
- <title>JSF client-side validators</title>
- <para>
- JSF client-side validators, such as <sgmltag><f:validateLength></sgmltag> and <sgmltag><f:validateDoubleRange></sgmltag> validators, can be declared alongside <sgmltag><rich:validator></sgmltag> behaviors. However, because this duplicates the validation processes at both the view and model level, it is not recommended.
- </para>
- </note>
</section>
<section id="sect-Component_Reference-richvalidator-Reference_data">
@@ -115,6 +112,16 @@
<parameter>component-family</parameter>: <classname>org.richfaces.validator</classname>
</para>
</listitem>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Component_Reference-richvalidator-Messages.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ Failed validation checks are reported using <sgmltag><rich:message></sgmltag> components.
+ </para>
+ </textobject>
+ </mediaobject>
<listitem>
<para>
<parameter>renderer-type</parameter>: <classname>org.richfaces.validatorRenderer</classname>
@@ -130,73 +137,48 @@
</section>
<section id="sect-Component_Reference-Validation-richgraphValidator">
- <title><sgmltag><rich:graphValidator></sgmltag></title>
+ <title><sgmltag><rich:graphValidator></sgmltag> object validation</title>
<para>
- The <sgmltag><rich:graphValidator></sgmltag> behavior is used to wrap a group of input components for overall validation with Hibernate Validators. <!--This is different from the <sgmltag><rich:beanValidator></sgmltag> component, which is used as a child element to individual input components.-->
+ The <sgmltag><rich:graphValidator></sgmltag> component is used to wrap a set of input components related to one object. The input values can then be completely validated, including any properties which are not bound to the individual components. This object validation allows for cross-field validation in complex forms.
</para>
+ <note>
+ <title>Validation without model updates</title>
+ <para>
+ The <sgmltag><rich:graphValidator></sgmltag> component performs a <methodname>clone()</methodname> method on the referenced bean instance during the validation phase. The cloned object is validated and triggers any required validation messages. As such, the model object remains clean, and the lifecycle is interrupted properly after the <emphasis>Process Validations</emphasis> phase.
+ </para>
+ </note>
<section id="sect-Component_Reference-richgraphValidator-Basic_usage">
<title>Basic usage</title>
<para>
- The <varname>summary</varname> attribute is used for displaying messages about validation errors.
+ The <sgmltag><rich:graphValidator></sgmltag> element must wrap all the input controls that are required to validate the object. The <varname>value</varname> attribute names the bean for the validating object.
</para>
- <example id="exam-Component_Reference-richgraphValidator-richgraphValidator_example">
- <title><sgmltag><rich:graphValidator></sgmltag> example</title>
+ <example id="exam-Component_Reference-richgraphValidator-Basic_usage">
+ <title>Basic usage</title>
<para>
- This example shows the validation of a simple form, containing the user's name, email, and age. The <sgmltag><rich:graphValidator></sgmltag> behavior wraps the input components to validate them together.
+ The example demonstrates a simple form for changing a password. The two entered passwords must match, so a <sgmltag><rich:graphValidator></sgmltag> component is used for cross-field validation.
</para>
- <programlisting language="XML" role="XML"><xi:include href="extras/exam-Component_Reference-richgraphValidator-richgraphValidator_example-0.xml_sample" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ <programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richgraphValidator-Basic_usage.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
<para>
- The accompanying bean contains the validation data:
+ The input controls validate against the following bean:
</para>
- <programlisting language="Java" role="JAVA"><xi:include href="extras/exam-Component_Reference-ValidationBean.js" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
- <blockquote>
- <figure id="figu-Component_Reference-richgraphValidator_example-richgraphValidator_example_result">
- <title><sgmltag><rich:graphValidator></sgmltag> example result</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Component_Reference-richgraphValidator-richgraphValidator_example_result.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The result of the <sgmltag><rich:graphValidator></sgmltag> example: three text entry fields with corresponding validation messages.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </blockquote>
+ <programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richgraphValidator-Basic_usage.js" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ <para>
+ If the entered passwords do not match, the error message is displayed:
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Component_Reference-richgraphValidator-Basic_usage.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ Failed validation checks are reported using <sgmltag><rich:message></sgmltag> components.
+ </para>
+ </textobject>
+ </mediaobject>
</example>
</section>
- <section id="sect-Component_Reference-richgraphValidator-Bean_values">
- <title>Bean values</title>
- <para>
- The optional <varname>value</varname> attribute can be used to define a value bound to the bean. The bean properties are then validated again <emphasis>after</emphasis> the model has been updated.
- </para>
- <example id="exam-Component_Reference-richgraphValidator-Using_the_value_attribute">
- <title>Using the <varname>value</varname> attribute</title>
-
- <programlisting language="XML" role="XML">
- <xi:include href="extras/exam-Component_Reference-richgraphValidator-Using_the_value_attribute.xml_sample" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude" />
- </programlisting>
- <blockquote>
- <figure id="figu-Component_Reference-Using_the_value_attribute-Result_from_using_the_value_attribute">
- <title>Result from using the <varname>value</varname> attribute</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Component_Reference-richgraphValidator-Result_from_using_the_value_attribute.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The result from the example of using the <varname>value</varname> attribute with <sgmltag><rich:graphValidator></sgmltag>. The values in the number spinners need to validate before being stored.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </blockquote>
- </example>
- </section>
-
<section id="sect-Component_Reference-richgraphValidator-Reference_data">
<title>Reference data</title>
<itemizedlist>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.js
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.js (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.js 2011-02-22 05:27:30 UTC (rev 21860)
@@ -0,0 +1,21 @@
+@ManagedBean
+@RequestScoped
+public class UserBean {
+
+ @Size(min = 5, max = 15, message="Wrong size for password")
+ private String password;
+ @Size(min = 5, max = 15, message="Wrong size for confirmation")
+ private String confirm;
+ private String status = "";
+
+ @AssertTrue(message = "Different passwords entered!")
+ public boolean isPasswordsEquals() {
+ return password.equals(confirm);
+ }
+
+ public void storeNewPassword() {
+ FacesContext.getCurrentInstance().addMessage("", new FacesMessage(FacesMessage.SEVERITY_INFO, "Succesfully changed!", "Succesfully changed!"));
+ }
+
+ ...
+}
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.xml_sample
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.xml_sample (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richgraphValidator-Basic_usage.xml_sample 2011-02-22 05:27:30 UTC (rev 21860)
@@ -0,0 +1,17 @@
+<h:form>
+ <rich:graphValidator value="#{userBean}">
+ <rich:panel header="Change password">
+ <rich:messages/>
+ <h:panelGrid columns="3">
+ <h:outputText value="Enter new password:" />
+ <h:inputSecret value="#{userBean.password}" id="pass"/>
+ <rich:message for="pass"/>
+ <h:outputText value="Confirm the new password:" />
+ <h:inputSecret value="#{userBean.confirm}" id="conf"/>
+ <rich:message for="conf"/>
+ </h:panelGrid>
+ <a4j:commandButton value="Store changes"
+ action="#{userBean.storeNewPassword}" />
+ </rich:panel>
+ </rich:graphValidator>
+</h:form>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richgraphValidator-Basic_usage.png
===================================================================
(Binary files differ)
Property changes on: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richgraphValidator-Basic_usage.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
15 years, 2 months
JBoss Rich Faces SVN: r21859 - in modules/tests/metamer/trunk: ftest and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 16:43:03 -0500 (Mon, 21 Feb 2011)
New Revision: 21859
Modified:
modules/tests/metamer/trunk/ftest-source/pom.xml
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
tied back to development versions
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:32:31 UTC (rev 21858)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:43:03 UTC (rev 21859)
@@ -25,7 +25,7 @@
<parent>
<artifactId>functional-test-jboss-ci-template</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.2.SP5</version>
+ <version>1.5.3-SNAPSHOT</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -80,8 +80,8 @@
<properties>
<context.path>/metamer/</context.path>
<deployable.classifier>mojarra</deployable.classifier>
- <deployable.version>4.0.0.20110221-CR1</deployable.version>
- <ftest.source.version>4.0.0.20110221-CR1</ftest.source.version>
+ <deployable.version>4.0.0-SNAPSHOT</deployable.version>
+ <ftest.source.version>4.0.0-SNAPSHOT</ftest.source.version>
<testng.suite.xml>src/test/resources/testng.xml</testng.suite.xml>
<container.home>target/installs/${container.dir.deflatted}/${container.dir.unflatted}</container.home>
<jsf.config>Mojarra-2.0</jsf.config>
Modified: modules/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:32:31 UTC (rev 21858)
+++ modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:43:03 UTC (rev 21859)
@@ -37,7 +37,7 @@
<dependency>
<artifactId>root</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.2.SP5</version>
+ <version>1.5.3-SNAPSHOT</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2011-02-21 21:32:31 UTC (rev 21858)
+++ modules/tests/metamer/trunk/pom.xml 2011-02-21 21:43:03 UTC (rev 21859)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.richfaces.examples</groupId>
<artifactId>richfaces-example-parent</artifactId>
- <version>4.0.0.20110220-CR1</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -124,7 +124,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<richfaces.checkstyle.version>2</richfaces.checkstyle.version>
- <version.richfaces>4.0.0.20110220-CR1</version.richfaces>
+ <version.richfaces>4.0.0-SNAPSHOT</version.richfaces>
</properties>
<dependencyManagement>
15 years, 2 months
JBoss Rich Faces SVN: r21858 - in modules/tests/metamer/trunk: application and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 16:32:31 -0500 (Mon, 21 Feb 2011)
New Revision: 21858
Modified:
modules/tests/metamer/trunk/application/pom.xml
modules/tests/metamer/trunk/ftest-source/pom.xml
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: modules/tests/metamer/trunk/application/pom.xml
===================================================================
--- modules/tests/metamer/trunk/application/pom.xml 2011-02-21 21:32:13 UTC (rev 21857)
+++ modules/tests/metamer/trunk/application/pom.xml 2011-02-21 21:32:31 UTC (rev 21858)
@@ -19,7 +19,7 @@
<parent>
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0.20110221-CR1</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:32:13 UTC (rev 21857)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:32:31 UTC (rev 21858)
@@ -30,14 +30,14 @@
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-ftest</artifactId>
- <version>4.0.0.20110221-CR1</version>
+ <version>4.0.0-SNAPSHOT</version>
<name>Metamer: RichFaces Testing Application - Functional Test</name>
<packaging>pom</packaging>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/ta...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/tags/...</developerConnection>
- <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/tags/meta...</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/tr...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/trunk...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/trunk/ftest</url>
</scm>
<licenses>
Modified: modules/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:32:13 UTC (rev 21857)
+++ modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:32:31 UTC (rev 21858)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0.20110221-CR1</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2011-02-21 21:32:13 UTC (rev 21857)
+++ modules/tests/metamer/trunk/pom.xml 2011-02-21 21:32:31 UTC (rev 21858)
@@ -31,7 +31,7 @@
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0.20110221-CR1</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Metamer: RichFaces Testing Application - Project Root</name>
@@ -50,9 +50,9 @@
</licenses>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/ta...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/tags/...</developerConnection>
- <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/tags/meta...</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/trunk</developerConnection>
+ <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/trunk</url>
</scm>
<distributionManagement>
15 years, 2 months
JBoss Rich Faces SVN: r21857 - modules/tests/metamer/tags.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 16:32:13 -0500 (Mon, 21 Feb 2011)
New Revision: 21857
Added:
modules/tests/metamer/tags/metamer-4.0.0.20110221-CR1/
Log:
[maven-scm] copy for tag metamer-4.0.0.20110221-CR1
15 years, 2 months
JBoss Rich Faces SVN: r21856 - in modules/tests/metamer/trunk: application and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 16:31:52 -0500 (Mon, 21 Feb 2011)
New Revision: 21856
Modified:
modules/tests/metamer/trunk/application/pom.xml
modules/tests/metamer/trunk/ftest-source/pom.xml
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
[maven-release-plugin] prepare release metamer-4.0.0.20110221-CR1
Modified: modules/tests/metamer/trunk/application/pom.xml
===================================================================
--- modules/tests/metamer/trunk/application/pom.xml 2011-02-21 21:28:39 UTC (rev 21855)
+++ modules/tests/metamer/trunk/application/pom.xml 2011-02-21 21:31:52 UTC (rev 21856)
@@ -19,7 +19,7 @@
<parent>
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.20110221-CR1</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:28:39 UTC (rev 21855)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:31:52 UTC (rev 21856)
@@ -30,14 +30,14 @@
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-ftest</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.20110221-CR1</version>
<name>Metamer: RichFaces Testing Application - Functional Test</name>
<packaging>pom</packaging>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/tr...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/trunk...</developerConnection>
- <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/trunk/ftest</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/ta...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/tags/...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/tags/meta...</url>
</scm>
<licenses>
@@ -80,8 +80,8 @@
<properties>
<context.path>/metamer/</context.path>
<deployable.classifier>mojarra</deployable.classifier>
- <deployable.version>4.0.0-SNAPSHOT</deployable.version>
- <ftest.source.version>4.0.0-SNAPSHOT</ftest.source.version>
+ <deployable.version>4.0.0.20110221-CR1</deployable.version>
+ <ftest.source.version>4.0.0.20110221-CR1</ftest.source.version>
<testng.suite.xml>src/test/resources/testng.xml</testng.suite.xml>
<container.home>target/installs/${container.dir.deflatted}/${container.dir.unflatted}</container.home>
<jsf.config>Mojarra-2.0</jsf.config>
Modified: modules/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:28:39 UTC (rev 21855)
+++ modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:31:52 UTC (rev 21856)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.20110221-CR1</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2011-02-21 21:28:39 UTC (rev 21855)
+++ modules/tests/metamer/trunk/pom.xml 2011-02-21 21:31:52 UTC (rev 21856)
@@ -31,7 +31,7 @@
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.20110221-CR1</version>
<packaging>pom</packaging>
<name>Metamer: RichFaces Testing Application - Project Root</name>
@@ -50,9 +50,9 @@
</licenses>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/trunk</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/ta...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/modules/tests/metamer/tags/...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/RichFaces/modules/tests/metamer/tags/meta...</url>
</scm>
<distributionManagement>
15 years, 2 months
JBoss Rich Faces SVN: r21855 - in modules/tests/metamer/trunk: ftest and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 16:28:39 -0500 (Mon, 21 Feb 2011)
New Revision: 21855
Modified:
modules/tests/metamer/trunk/ftest-source/pom.xml
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
tied on release versions - richfaces:4.0.0.20110220-CR1 and richfaces-selenium:1.5.2.SP5
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:25:45 UTC (rev 21854)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2011-02-21 21:28:39 UTC (rev 21855)
@@ -25,7 +25,7 @@
<parent>
<artifactId>functional-test-jboss-ci-template</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.3-SNAPSHOT</version>
+ <version>1.5.2.SP5</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: modules/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:25:45 UTC (rev 21854)
+++ modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-21 21:28:39 UTC (rev 21855)
@@ -37,7 +37,7 @@
<dependency>
<artifactId>root</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.3-SNAPSHOT</version>
+ <version>1.5.2.SP5</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2011-02-21 21:25:45 UTC (rev 21854)
+++ modules/tests/metamer/trunk/pom.xml 2011-02-21 21:28:39 UTC (rev 21855)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.richfaces.examples</groupId>
<artifactId>richfaces-example-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.20110220-CR1</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -124,7 +124,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<richfaces.checkstyle.version>2</richfaces.checkstyle.version>
- <version.richfaces>4.0.0-SNAPSHOT</version.richfaces>
+ <version.richfaces>4.0.0.20110220-CR1</version.richfaces>
</properties>
<dependencyManagement>
15 years, 2 months
JBoss Rich Faces SVN: r21854 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 16:25:45 -0500 (Mon, 21 Feb 2011)
New Revision: 21854
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java
Log:
TestPanelMenuItemClientSideHandlers.testClientSideEventsOrderAjax - fixed event order
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java 2011-02-21 21:25:11 UTC (rev 21853)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java 2011-02-21 21:25:45 UTC (rev 21854)
@@ -47,7 +47,7 @@
@Inject
@Use(empty = true)
String event;
- String[] ajaxEvents = new String[] { "begin", "beforedomupdate", "beforeselect", "select", "complete" };
+ String[] ajaxEvents = new String[] { "beforeselect", "begin", "beforedomupdate", "select", "complete" };
String[] clientEvents = new String[] { "beforeselect", "select" };
String[] serverEvents = new String[] { "select" };
15 years, 2 months