Author: ppitonak(a)redhat.com
Date: 2010-09-15 12:10:55 -0400 (Wed, 15 Sep 2010)
New Revision: 19218
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml
Log:
* added component's ID to page for testing JavaScript API
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml 2010-09-15
15:17:25 UTC (rev 19217)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordion/simple.xhtml 2010-09-15
16:10:55 UTC (rev 19218)
@@ -105,6 +105,10 @@
<fieldset>
<legend>JavaScript API</legend>
+ <script type="text/javascript">
+ testedComponentId =
"#{rich:clientId('accordion')}";
+ </script>
+
<h:commandButton id="switchButton1" value="switch to
item1">
<rich:componentControl id="componentControl1"
event="click" operation="switchToItem" target="accordion"
>
<f:param value="item1" />
Show replies by date