Author: ppitonak(a)redhat.com
Date: 2010-12-07 06:31:11 -0500 (Tue, 07 Dec 2010)
New Revision: 20429
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml
Log:
https://jira.jboss.org/browse/RFPL-836
* added listener to collapsible panel
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java 2010-12-07
10:32:26 UTC (rev 20428)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.java 2010-12-07
11:31:11 UTC (rev 20429)
@@ -80,4 +80,8 @@
public void panelToggleListener(ToggleEvent event) {
RichBean.logToPage("* panel " + (event.isExpanded() ?
"expanded" : "collapsed"));
}
+
+ public void toggleListener() {
+ RichBean.logToPage("* toggle listener");
+ }
}
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml 2010-12-07
10:32:26 UTC (rev 20428)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richCollapsiblePanel/simple.xhtml 2010-12-07
11:31:11 UTC (rev 20429)
@@ -73,6 +73,7 @@
styleClass="#{richCollapsiblePanelBean.attributes['styleClass'].value}"
switchType="#{richCollapsiblePanelBean.attributes['switchType'].value}"
title="#{richCollapsiblePanelBean.attributes['title'].value}"
+
toggleListener="#{richCollapsiblePanelBean.toggleListener}"
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a
neque turpis, at cursus nunc.