From richfaces-svn-commits at lists.jboss.org Thu Nov 24 18:53:52 2011 Content-Type: multipart/mixed; boundary="===============4497910750734773890==" 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: r23004 - in modules/tests/metamer/trunk/application/src/main: webapp/components/richCollapsibleSubTable and 1 other directory. Date: Thu, 24 Nov 2011 18:53:52 -0500 Message-ID: <201111242353.pAONrqeY031279@svn01.web.mwc.hst.phx2.redhat.com> --===============4497910750734773890== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: jjamrich Date: 2011-11-24 18:53:52 -0500 (Thu, 24 Nov 2011) New Revision: 23004 Added: modules/tests/metamer/trunk/application/src/main/webapp/components/richC= ollapsibleSubTable/rf-11656.xhtml Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/test= s/metamer/bean/rich/RichCollapsibleSubTableBean.java modules/tests/metamer/trunk/application/src/main/webapp/components/richC= ollapsibleSubTable/list.xhtml Log: RF-11656: add example to simulate issue Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfac= es/tests/metamer/bean/rich/RichCollapsibleSubTableBean.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/rich/RichCollapsibleSubTableBean.java 2011-11-24 17:56:59 U= TC (rev 23003) +++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tes= ts/metamer/bean/rich/RichCollapsibleSubTableBean.java 2011-11-24 23:53:52 U= TC (rev 23004) @@ -79,6 +79,9 @@ private Map filtering =3D new HashMap(= ); // expanded private Map, Boolean> expanded =3D new HashMap, Boolean>(); + = + // expanded state for employee detail (for RF-11656) = + private Map expandedEmployee =3D new HashMap(); = /** * Initializes the managed bean. @@ -181,4 +184,12 @@ public Map, Boolean> getExpanded() { return expanded; } + = + public Map getExpandedEmployee() { + return expandedEmployee; + } + + public void setExpandedEmployee(Map expandedEmploye= e) { + this.expandedEmployee =3D expandedEmployee; + } } Modified: modules/tests/metamer/trunk/application/src/main/webapp/component= s/richCollapsibleSubTable/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= CollapsibleSubTable/list.xhtml 2011-11-24 17:56:59 UTC (rev 23003) +++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich= CollapsibleSubTable/list.xhtml 2011-11-24 23:53:52 UTC (rev 23004) @@ -64,6 +64,10 @@ Page for testing attribute keepSaved of rich:collapsibl= eSubTable. + = + + Page for testing RF-11656 + = = Added: modules/tests/metamer/trunk/application/src/main/webapp/components/r= ichCollapsibleSubTable/rf-11656.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= CollapsibleSubTable/rf-11656.xhtml (rev 0) +++ modules/tests/metamer/trunk/application/src/main/webapp/components/rich= CollapsibleSubTable/rf-11656.xhtml 2011-11-24 23:53:52 UTC (rev 23004) @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + = +

+ Page with nested collapsibleSubTable to verify RF-11656 +

+ Nested collapsibleSubTable contains information about empl= oyee's company (Company Name and Phone). +
+ collapsibleSubTableToggler managing @expanded on nested Co= llapsibleSubTable is labeled "Employess's Company Details". + If you are not able to collapse Company details for employ= ee, it is still not working
+ This attribute value (@expanded) for nested collapsibleSub= Table should be set to false as well, and don't work. +

+ = + + + + + + + + + + + + + + + + + + + + + + + = + = + + = + = + + + + + + + + + + + = + + + + + + + = + + = + + + + + + = + + + + + + + + + = + = +
+ +
+ \ No newline at end of file --===============4497910750734773890==--