From richfaces-svn-commits at lists.jboss.org Mon Apr 18 08:09:36 2011
Content-Type: multipart/mixed; boundary="===============4951434259751380909=="
MIME-Version: 1.0
From: richfaces-svn-commits at lists.jboss.org
To: richfaces-svn-commits at lists.jboss.org
Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r22429 - in
modules/tests/metamer/trunk/application/src/main:
webapp/components/richMessage and 1 other directory.
Date: Mon, 18 Apr 2011 08:09:36 -0400
Message-ID: <201104181209.p3IC9aS5013142@svn01.web.mwc.hst.phx2.redhat.com>
--===============4951434259751380909==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: jjamrich
Date: 2011-04-18 08:09:35 -0400 (Mon, 18 Apr 2011)
New Revision: 22429
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richM=
essage/csv.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richM=
essage/jsr303.xhtml
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/test=
s/metamer/bean/RichMessageBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richM=
essage/jsfValidator.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richM=
essage/list.xhtml
Log:
Set the same interface for all type validators
Change all pages to use the same interface and differs only in
validators used.
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfac=
es/tests/metamer/bean/RichMessageBean.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tes=
ts/metamer/bean/RichMessageBean.java 2011-04-18 11:55:15 UTC (rev 22428)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tes=
ts/metamer/bean/RichMessageBean.java 2011-04-18 12:09:35 UTC (rev 22429)
@@ -50,7 +50,11 @@
logger =3D LoggerFactory.getLogger(getClass());
logger.info("initializing bean " + getClass().getName());
attributes =3D Attributes.getComponentAttributesFromFacesConfig(UI=
RichMessage.class, getClass());
-
+ =
+ // setting up incorrect values to fire-up validator
+ simpleInput1 =3D "-5";
+ simpleInput2 =3D "-5";
+ =
// to get working this component example correctly is required tha=
t for
// property has been initialized
attributes.setAttribute("for", "simpleInput1");
Added: modules/tests/metamer/trunk/application/src/main/webapp/components/r=
ichMessage/csv.xhtml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/csv.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/csv.xhtml 2011-04-18 12:09:35 UTC (rev 22429)
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ =
+
+
+ =
+
+
+
+
+ =
+
+
+
+
+ =
+ =
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Modified: modules/tests/metamer/trunk/application/src/main/webapp/component=
s/richMessage/jsfValidator.xhtml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/jsfValidator.xhtml 2011-04-18 11:55:15 UTC (rev 22428)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/jsfValidator.xhtml 2011-04-18 12:09:35 UTC (rev 22429)
@@ -39,115 +39,129 @@
-
+ =
+
+
+
+
+ =
-
+ ajaxRendered=3D"#{richMessageBean.attributes['ajaxRendere=
d'].value}" =
+ for=3D"#{richMessageBean.attributes['for'].value}"
+ keepTransient=3D"#{richMessageBean.attributes['keepTransi=
ent'].value}"
+ rendered=3D"#{richMessageBean.attributes['rendered'].valu=
e}" =
+ showDetail=3D"#{richMessageBean.attributes['showDetail'].=
value}" =
+ showSummary=3D"#{richMessageBean.attributes['showSummary'=
].value}"
+ childCount=3D"#{richMessageBean.attributes['childCount'].=
value}"
+ children=3D"#{richMessageBean.attributes['children'].valu=
e}"
+ dir=3D"#{richMessageBean.attributes['dir'].value}"
+ facets=3D"#{richMessageBean.attributes['facets'].value}"
+ family=3D"#{richMessageBean.attributes['family'].value}"
+ lang=3D"#{richMessageBean.attributes['lang'].value}"
+ onclick=3D"#{richMessageBean.attributes['onclick'].value}"
+ ondblclick=3D"#{richMessageBean.attributes['ondblclick'].=
value}"
+ onkeydown=3D"#{richMessageBean.attributes['onkeydown']=
.value}"
+ onkeypress=3D"#{richMessageBean.attributes['onkeypress=
'].value}"
+ onmousedown=3D"#{richMessageBean.attributes['onmousedo=
wn'].value}"
+ onmousemove=3D"#{richMessageBean.attributes['onmousemo=
ve'].value}"
+ onmouseout=3D"#{richMessageBean.attributes['onmouseout=
'].value}"
+ onmouseover=3D"#{richMessageBean.attributes['onmouseov=
er'].value}"
+ onmouseup=3D"#{richMessageBean.attributes['onmouseup']=
.value}" =
+ rendererType=3D"#{richMessageBean.attributes['renderer=
Type'].value}"
+ rendersChildren=3D"#{richMessageBean.attributes['rende=
rsChildren'].value}"
+ style=3D"#{richMessageBean.attributes['style'].value}"
+ styleClass=3D"#{richMessageBean.attributes['styleClass'].=
value}"
+ title=3D"#{richMessageBean.attributes['title'].value}"
+ />
+ =
-
-
-
+
+ =
+
+ ajaxRendered=3D"#{richMessageBean.attributes['ajaxRendere=
d'].value}" =
+ for=3D"simpleInput1"
+ keepTransient=3D"#{richMessageBean.attributes['keepTransi=
ent'].value}"
+ rendered=3D"#{richMessageBean.attributes['rendered'].valu=
e}" =
+ showDetail=3D"#{richMessageBean.attributes['showDetail'].=
value}" =
+ showSummary=3D"#{richMessageBean.attributes['showSummary'=
].value}"
+ childCount=3D"#{richMessageBean.attributes['childCount'].=
value}"
+ children=3D"#{richMessageBean.attributes['children'].valu=
e}"
+ dir=3D"#{richMessageBean.attributes['dir'].value}"
+ facets=3D"#{richMessageBean.attributes['facets'].value}"
+ family=3D"#{richMessageBean.attributes['family'].value}"
+ lang=3D"#{richMessageBean.attributes['lang'].value}"
+ onclick=3D"#{richMessageBean.attributes['onclick'].value}"
+ ondblclick=3D"#{richMessageBean.attributes['ondblclick'].=
value}"
+ onkeydown=3D"#{richMessageBean.attributes['onkeydown']=
.value}"
+ onkeypress=3D"#{richMessageBean.attributes['onkeypress=
'].value}"
+ onmousedown=3D"#{richMessageBean.attributes['onmousedo=
wn'].value}"
+ onmousemove=3D"#{richMessageBean.attributes['onmousemo=
ve'].value}"
+ onmouseout=3D"#{richMessageBean.attributes['onmouseout=
'].value}"
+ onmouseover=3D"#{richMessageBean.attributes['onmouseov=
er'].value}"
+ onmouseup=3D"#{richMessageBean.attributes['onmouseup']=
.value}" =
+ rendererType=3D"#{richMessageBean.attributes['renderer=
Type'].value}"
+ rendersChildren=3D"#{richMessageBean.attributes['rende=
rsChildren'].value}"
+ styleClass=3D"#{richMessageBean.attributes['styleClass'].=
value}"
+ style=3D"#{richMessageBean.attributes['style'].value}"
+ title=3D"#{richMessageBean.attributes['title'].value}"
+ /> =
-
+ =
-
+
-
+
+ ajaxRendered=3D"#{richMessageBean.attributes['ajaxRendere=
d'].value}" =
+ for=3D"simpleInput2"
+ keepTransient=3D"#{richMessageBean.attributes['keepTransi=
ent'].value}"
+ rendered=3D"#{richMessageBean.attributes['rendered'].valu=
e}" =
+ showDetail=3D"#{richMessageBean.attributes['showDetail'].=
value}" =
+ showSummary=3D"#{richMessageBean.attributes['showSummary'=
].value}"
+ childCount=3D"#{richMessageBean.attributes['childCount'].=
value}"
+ children=3D"#{richMessageBean.attributes['children'].valu=
e}"
+ dir=3D"#{richMessageBean.attributes['dir'].value}"
+ facets=3D"#{richMessageBean.attributes['facets'].value}"
+ family=3D"#{richMessageBean.attributes['family'].value}"
+ lang=3D"#{richMessageBean.attributes['lang'].value}"
+ onclick=3D"#{richMessageBean.attributes['onclick'].value}"
+ ondblclick=3D"#{richMessageBean.attributes['ondblclick'].=
value}"
+ onkeydown=3D"#{richMessageBean.attributes['onkeydown']=
.value}"
+ onkeypress=3D"#{richMessageBean.attributes['onkeypress=
'].value}"
+ onmousedown=3D"#{richMessageBean.attributes['onmousedo=
wn'].value}"
+ onmousemove=3D"#{richMessageBean.attributes['onmousemo=
ve'].value}"
+ onmouseout=3D"#{richMessageBean.attributes['onmouseout=
'].value}"
+ onmouseover=3D"#{richMessageBean.attributes['onmouseov=
er'].value}"
+ onmouseup=3D"#{richMessageBean.attributes['onmouseup']=
.value}" =
+ rendererType=3D"#{richMessageBean.attributes['renderer=
Type'].value}"
+ rendersChildren=3D"#{richMessageBean.attributes['rende=
rsChildren'].value}"
+ styleClass=3D"#{richMessageBean.attributes['styleClass'].=
value}"
+ style=3D"#{richMessageBean.attributes['style'].value}"
+ title=3D"#{richMessageBean.attributes['title'].value}"
+ />
-
+ =
-
+ =
+ =
+
+
=
Added: modules/tests/metamer/trunk/application/src/main/webapp/components/r=
ichMessage/jsr303.xhtml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/jsr303.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/jsr303.xhtml 2011-04-18 12:09:35 UTC (rev 22429)
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ =
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Modified: modules/tests/metamer/trunk/application/src/main/webapp/component=
s/richMessage/list.xhtml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/list.xhtml 2011-04-18 11:55:15 UTC (rev 22428)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
Message/list.xhtml 2011-04-18 12:09:35 UTC (rev 22429)
@@ -1,42 +1,50 @@
-
-
-
-
-
-
-
-
- Rich Message
-
-
-
-
- Page containing inputs with simple JSF validators and r=
ich:messages.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ Rich Message
+
+
+
+
+ Simple page that contains rich:validator for input =
with JSR-303 validator.
+
+
+
+ Page containing input with JSR-303 validator.
+
+ =
+
+ Page containing input with simple JSF validator.
+
+
+
+
+
+
+
--===============4951434259751380909==--