From richfaces-svn-commits at lists.jboss.org Sat Jan 8 17:46:38 2011
Content-Type: multipart/mixed; boundary="===============6003120843003638870=="
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: r20918 - in
modules/tests/metamer/trunk/application/src/main: webapp/components/richList
and 1 other directory.
Date: Sat, 08 Jan 2011 17:46:38 -0500
Message-ID: <201101082246.p08MkcF2019504@svn01.web.mwc.hst.phx2.redhat.com>
--===============6003120843003638870==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: lfryc(a)redhat.com
Date: 2011-01-08 17:46:38 -0500 (Sat, 08 Jan 2011)
New Revision: 20918
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richL=
ist/dataScroller.xhtml
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/test=
s/metamer/bean/RichListBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richL=
ist/list.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richL=
ist/simple.xhtml
Log:
updated rich:list samples to allow test it (RFPL-671)
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfac=
es/tests/metamer/bean/RichListBean.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/RichListBean.java 2011-01-08 22:45:44 UTC (rev 20917)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tes=
ts/metamer/bean/RichListBean.java 2011-01-08 22:46:38 UTC (rev 20918)
@@ -54,14 +54,15 @@
logger =3D LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
=
- attributes =3D Attributes.getComponentAttributesFromClass(UIList.c=
lass, getClass());
+ attributes =3D Attributes.getComponentAttributesFromFacesConfig(UI=
List.class, getClass());
=
attributes.setAttribute("type", "ordered");
attributes.setAttribute("rendered", true);
attributes.setAttribute("rows", 20);
=
// TODO has to be tested in other way
- attributes.remove("componentState");
+ attributes.remove("keepSaved");
+ attributes.remove("iterationStatusVar");
attributes.remove("rowKeyVar");
attributes.remove("stateVar");
attributes.remove("value");
Copied: modules/tests/metamer/trunk/application/src/main/webapp/components/=
richList/dataScroller.xhtml (from rev 20917, modules/tests/metamer/trunk/ap=
plication/src/main/webapp/components/richList/simple.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=
List/dataScroller.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
List/dataScroller.xhtml 2011-01-08 22:46:38 UTC (rev 20918)
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #{item.name}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Modified: modules/tests/metamer/trunk/application/src/main/webapp/component=
s/richList/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=
List/list.xhtml 2011-01-08 22:45:44 UTC (rev 20917)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
List/list.xhtml 2011-01-08 22:46:38 UTC (rev 20918)
@@ -32,9 +32,12 @@
=
- Simple page that contains rich:list (with model con=
taining capitals) and
- input boxes for all its attributes.
+ Simple page that contains rich:list (with model con=
taining capitals) and "term" facet which influences list in definitions mod=
e =
+ =
+
+ Simple page that contains rich:list (with model con=
taining capitals) with bound dataScroller
+
=
=
Modified: modules/tests/metamer/trunk/application/src/main/webapp/component=
s/richList/simple.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=
List/simple.xhtml 2011-01-08 22:45:44 UTC (rev 20917)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich=
List/simple.xhtml 2011-01-08 22:46:38 UTC (rev 20918)
@@ -46,7 +46,7 @@
dir=3D"#{richListBean.attributes['dir'].value}"
first=3D"#{richListBean.attributes['first'].value}"
iterationState=3D"#{richListBean.attributes['iterat=
ionState'].value}"
- iterationStatusVar=3D"#{richListBean.attributes['it=
erationStatusVar'].value}"
+ iterationStatusVar=3D"iterationStatus"
keepSaved=3D"#{richListBean.attributes['keepSaved']=
.value}"
lang=3D"#{richListBean.attributes['lang'].value}"
onclick=3D"#{richListBean.attributes['onclick'].val=
ue}"
@@ -93,8 +93,6 @@
=
#{item.name}
-
-
=
--===============6003120843003638870==--