JBoss Rich Faces SVN: r8191 - trunk/ui/dataTable/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-25 12:01:52 -0400 (Fri, 25 Apr 2008)
New Revision: 8191
Modified:
trunk/ui/dataTable/src/main/config/component/dataTable.xml
trunk/ui/dataTable/src/main/config/component/subTable.xml
Log:
http://jira.jboss.com/jira/browse/RF-2220
http://jira.jboss.com/jira/browse/RF-730
Corrected language and added default values
Modified: trunk/ui/dataTable/src/main/config/component/dataTable.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-04-25 15:59:18 UTC (rev 8190)
+++ trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-04-25 16:01:52 UTC (rev 8191)
@@ -47,25 +47,25 @@
<property>
<name>columns</name>
<classname>int</classname>
- <description>Quantity of columns
+ <description>Number of columns
</description>
</property>
<property>
<name>border</name>
<classname>java.lang.String</classname>
- <description>This attributes specifies the width of the frame around a component</description>
+ <description>This attributes specifies the width of the frame around a component. Default value is "0".</description>
<defaultvalue>"0"</defaultvalue>
</property>
<property>
<name>cellpadding</name>
<classname>java.lang.String</classname>
- <description>This attribute specifies the amount of space between the border of the cell and its contents</description>
+ <description>This attribute specifies the amount of space between the border of the cell and its contents. Default value is "0".</description>
<defaultvalue>"0"</defaultvalue>
</property>
<property>
<name>cellspacing</name>
<classname>java.lang.String</classname>
- <description>This attribute specifies the amount of space between the border of the cell and its contents. The attribute also specifies the amount of space to leave between cells
+ <description>This attribute specifies the amount of space between the border of the cell and its contents. The attribute also specifies the amount of space to leave between cells. Default value is "0".
</description>
<defaultvalue>"0"</defaultvalue>
</property>
@@ -209,11 +209,11 @@
<name>summary</name>
<classname>java.lang.Object</classname>
</property>
- <property>
- <name>rowKeyConverter</name>
- <classname>javax.faces.convert.Converter</classname>
- <description>Converter for a RowKey object.
- </description>
- </property>
+ <property>
+ <name>rowKeyConverter</name>
+ <classname>javax.faces.convert.Converter</classname>
+ <description>Converter for a RowKey object.
+ </description>
+ </property>
</component>
</components>
Modified: trunk/ui/dataTable/src/main/config/component/subTable.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/subTable.xml 2008-04-25 15:59:18 UTC (rev 8190)
+++ trunk/ui/dataTable/src/main/config/component/subTable.xml 2008-04-25 16:01:52 UTC (rev 8191)
@@ -154,13 +154,16 @@
<property>
<name>sortOrder</name>
<classname>org.richfaces.model.Ordering</classname>
- <description>SortOrder is an enumeration of the possible sort orderings.</description>
+ <description>SortOrder is an enumeration of the possible sort orderings.
+ Default value is "Ordering.UNSORTED".
+ </description>
<defaultvalue>Ordering.UNSORTED</defaultvalue>
</property>
<property>
<name>selfSorted</name>
<classname>boolean</classname>
- <description>Manages if the header of the column is clickable, icons rendered and sorting is fired after click on the header. You need to define this attribute inside <rich:dataTable> component</description>
+ <description>Manages if the header of the column is clickable, icons rendered and sorting is fired after click on the header. You need to define this attribute inside <rich:dataTable> component.
+ Default value is "true".</description>
<defaultvalue>true</defaultvalue>
</property>
<property elonly="true">
16 years, 8 months
JBoss Rich Faces SVN: r8190 - trunk/ui/dataFilterSlider/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-25 11:59:18 -0400 (Fri, 25 Apr 2008)
New Revision: 8190
Modified:
trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
Log:
http://jira.jboss.com/jira/browse/RF-2220
http://jira.jboss.com/jira/browse/RF-730
Corrected language and added default values
Modified: trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
===================================================================
--- trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2008-04-25 15:59:10 UTC (rev 8189)
+++ trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2008-04-25 15:59:18 UTC (rev 8190)
@@ -51,7 +51,7 @@
<property>
<name>width</name>
<classname>java.lang.String</classname>
- <description>Width of the slider control</description>
+ <description>Width of the slider control. Default value is "200px".</description>
<defaultvalue><![CDATA["200px"]]></defaultvalue>
</property>
<property>
@@ -204,14 +204,14 @@
<property>
<name>onSlideSubmit</name>
<classname>boolean</classname>
- <description>DEPRECATED(use submitOnSlide). If the slider value changes must submit a form. Default value is true.</description>
+ <description>DEPRECATED (use submitOnSlide). If the slider value changes must submit a form. Default value is "true".</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name>submitOnSlide</name>
<classname>boolean</classname>
- <description>If the slider value changes must submit a form. Default value is true.</description>
+ <description>If the slider value changes must submit a form. Default value is "true".</description>
<defaultvalue>true</defaultvalue>
</property>
16 years, 8 months
JBoss Rich Faces SVN: r8189 - trunk/ui/contextMenu/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-25 11:59:10 -0400 (Fri, 25 Apr 2008)
New Revision: 8189
Modified:
trunk/ui/contextMenu/src/main/config/component/contextMenu.xml
Log:
http://jira.jboss.com/jira/browse/RF-2220
http://jira.jboss.com/jira/browse/RF-730
Corrected language and added default values
Modified: trunk/ui/contextMenu/src/main/config/component/contextMenu.xml
===================================================================
--- trunk/ui/contextMenu/src/main/config/component/contextMenu.xml 2008-04-25 15:58:59 UTC (rev 8188)
+++ trunk/ui/contextMenu/src/main/config/component/contextMenu.xml 2008-04-25 15:59:10 UTC (rev 8189)
@@ -29,8 +29,8 @@
<name>submitMode</name>
<classname>java.lang.String</classname>
<description>
- Set the submission mode for all menu items of the menu except
- ones where this attribute redefined (ajax, server(Default), none)
+ Sets the submission mode for all menu items of the menu except
+ those where this attribute redefined. Possible value are "ajax","server", "none". Default value is "sever".
</description>
<defaultvalue>"server"</defaultvalue>
</property>
@@ -38,7 +38,7 @@
<name>event</name>
<classname>java.lang.String</classname>
<description>
- Defines an event on the parent element that triggers the menu's appearance
+ Defines an event on the parent element to display the menu. Default value is "oncontextmenu".
</description>
<defaultvalue>"oncontextmenu"</defaultvalue>
</property>
@@ -46,9 +46,9 @@
<name>attached</name>
<classname>boolean</classname>
<description>
- If the value of the "attached" attribute is true, component is attached to component,
+ If the value of the "attached" attribute is true, the component is attached to the component,
specified in the "attachTo" attribute or to the parent component,
- if "attachTo" is not defined.
+ if "attachTo" is not defined. Default value is "true".
</description>
<defaultvalue>true</defaultvalue>
</property>
@@ -56,7 +56,7 @@
<name>disableDefaultMenu</name>
<classname>boolean</classname>
<description>
- Forbids default handling for adjusted event
+ Forbids default handling for adjusted event. Default value "true".
</description>
<defaultvalue>true</defaultvalue>
</property>
@@ -64,7 +64,7 @@
<name>showDelay</name>
<classname>java.lang.Integer</classname>
<description>
- Delay between event and menu showing.
+ Delay between event and menu showing. Default value is "50".
</description>
<defaultvalue><![CDATA[new Integer(50)]]></defaultvalue>
</property>
@@ -73,7 +73,7 @@
<name>hideDelay</name>
<classname>java.lang.Integer</classname>
<description>
- Delay between losing focus and menu closing.
+ Delay between losing focus and menu closing. Default value is "800".
</description>
<defaultvalue><![CDATA[new Integer(800)]]></defaultvalue>
</property>
@@ -103,7 +103,7 @@
<name>attachTiming</name>
<classname>java.lang.String</classname>
<description>
- Defines the timing when the menu is attached to the target element
+ Defines the timing when the menu is attached to the target element. Default value is "onavailable".
</description>
<defaultvalue>"onavailable"</defaultvalue>
</property>
16 years, 8 months
JBoss Rich Faces SVN: r8188 - trunk/ui/componentControl/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-25 11:58:59 -0400 (Fri, 25 Apr 2008)
New Revision: 8188
Modified:
trunk/ui/componentControl/src/main/config/component/componentControl.xml
Log:
http://jira.jboss.com/jira/browse/RF-2220
http://jira.jboss.com/jira/browse/RF-730
Corrected language and added default values
Modified: trunk/ui/componentControl/src/main/config/component/componentControl.xml
===================================================================
--- trunk/ui/componentControl/src/main/config/component/componentControl.xml 2008-04-25 15:58:49 UTC (rev 8187)
+++ trunk/ui/componentControl/src/main/config/component/componentControl.xml 2008-04-25 15:58:59 UTC (rev 8188)
@@ -103,7 +103,7 @@
<name>attachTiming</name>
<classname>java.lang.String</classname>
<description>
- Defines the page loading phase when componentControl is attached to another component
+ Defines the page loading phase when componentControl is attached to another component. Default value is "onavailable"
</description>
<defaultvalue>"onavailable"</defaultvalue>
</property>
16 years, 8 months
JBoss Rich Faces SVN: r8187 - trunk/ui/combobox/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-25 11:58:49 -0400 (Fri, 25 Apr 2008)
New Revision: 8187
Modified:
trunk/ui/combobox/src/main/config/component/combobox.xml
Log:
http://jira.jboss.com/jira/browse/RF-2220
http://jira.jboss.com/jira/browse/RF-730
Corrected language and added default values
Modified: trunk/ui/combobox/src/main/config/component/combobox.xml
===================================================================
--- trunk/ui/combobox/src/main/config/component/combobox.xml 2008-04-25 15:58:34 UTC (rev 8186)
+++ trunk/ui/combobox/src/main/config/component/combobox.xml 2008-04-25 15:58:49 UTC (rev 8187)
@@ -37,43 +37,43 @@
<property>
<name>enableManualInput</name>
<classname>boolean</classname>
- <description>enabled for keybord input, if "false" keybord input will be locked</description>
+ <description>Enables keyboard input, if "false" keyboard input will be locked. Default value is "true"</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name>filterNewValues</name>
<classname>java.lang.Boolean</classname>
- <description>Defines the appearance of values in the list</description>
+ <description>Defines the appearance of values in the list. Default value is "true".</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name>directInputSuggestions</name>
<classname>java.lang.Boolean</classname>
- <description>Defines the first value from the suggested in input field</description>
+ <description>Defines the first value from the suggested in input field. Default value is "false".</description>
<defaultvalue>false</defaultvalue>
</property>
<property>
<name>selectFirstOnUpdate</name>
<classname>java.lang.Boolean</classname>
- <description>Defines if the first value from suggested is selected in popup list</description>
+ <description>Defines if the first value from suggested is selected in pop-up list. Default value is "true".</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name>showDelay</name>
<classname>java.lang.Integer</classname>
- <description>Delay between event and popup list showing</description>
+ <description>Delay between event and pop-up list showing. Default value is "0".</description>
<defaultvalue><![CDATA[0]]></defaultvalue>
</property>
<property>
<name>hideDelay</name>
<classname>java.lang.Integer</classname>
- <description>Delay between losing focus and popup list closing</description>
+ <description>Delay between losing focus and pop-up list closing. Default value is "0".</description>
<defaultvalue><![CDATA[0]]></defaultvalue>
</property>
<property>
<name>width</name>
<classname>java.lang.String</classname>
- <description>Width of the component</description>
+ <description>Width of the component. Default value is "150".</description>
<defaultvalue><![CDATA["150"]]></defaultvalue>
</property>
@@ -89,7 +89,7 @@
<property>
<name>listHeight</name>
<classname>java.lang.String</classname>
- <description>Defines height of file popup list</description>
+ <description>Defines height of file pop-up list. Default value is "200px". </description>
<defaultvalue>"200px"</defaultvalue>
</property>
<property>
@@ -113,7 +113,7 @@
<property>
<name>disabled</name>
<classname>boolean</classname>
- <description>make component disabled</description>
+ <description>Makes component disabled. . Default value is "false".</description>
<defaultvalue>false</defaultvalue>
</property>
<property>
@@ -272,7 +272,7 @@
&html_input_attributes;
&html_input_events;
&html_events;
- &ui_input_attributes;
+ &ui_input_attributes;
<property hidden="true" existintag="false" exist="false">
<name>size</name>
@@ -283,19 +283,19 @@
<name>alt</name>
<classname>java.lang.String</classname>
<description></description>
- </property>
- <property hidden="true" existintag="false" exist="false" >
- <name>localValueSet</name>
- <classname>boolean</classname>
- </property>
- <property hidden="true" existintag="false" exist="false" >
- <name>valid</name>
- <classname>boolean</classname>
- </property>
- <property hidden="true" existintag="false" exist="false" >
- <name>maxlength</name>
- <classname>int</classname>
+ </property>
+ <property hidden="true" existintag="false" exist="false" >
+ <name>localValueSet</name>
+ <classname>boolean</classname>
</property>
+ <property hidden="true" existintag="false" exist="false" >
+ <name>valid</name>
+ <classname>boolean</classname>
+ </property>
+ <property hidden="true" existintag="false" exist="false" >
+ <name>maxlength</name>
+ <classname>int</classname>
+ </property>
</properties>
</component>
</components>
16 years, 8 months
JBoss Rich Faces SVN: r8186 - trunk/ui/columns/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-25 11:58:34 -0400 (Fri, 25 Apr 2008)
New Revision: 8186
Modified:
trunk/ui/columns/src/main/config/component/columns.xml
Log:
http://jira.jboss.com/jira/browse/RF-2220
http://jira.jboss.com/jira/browse/RF-730
Corrected language and added default values
Modified: trunk/ui/columns/src/main/config/component/columns.xml
===================================================================
--- trunk/ui/columns/src/main/config/component/columns.xml 2008-04-25 15:36:40 UTC (rev 8185)
+++ trunk/ui/columns/src/main/config/component/columns.xml 2008-04-25 15:58:34 UTC (rev 8186)
@@ -21,7 +21,7 @@
<test/>
</tag>
<taghandler generate="false">
- <classname>org.richfaces.taglib.ComponentHandler</classname>
+ <classname>org.richfaces.taglib.ComponentHandler</classname>
</taghandler>
&ui_data_attributes;
&attributes;
@@ -50,7 +50,7 @@
<name>columns</name>
<classname>java.lang.Object</classname>
<description>
- Count of columns
+ Number of columns to be rendered
</description>
</property>
<property>
16 years, 8 months
JBoss Rich Faces SVN: r8185 - trunk/test-applications/seleniumTest/src/test/java/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-04-25 11:36:40 -0400 (Fri, 25 Apr 2008)
New Revision: 8185
Removed:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumExampleTest.java
Log:
delete example class
Deleted: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumExampleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumExampleTest.java 2008-04-25 15:36:03 UTC (rev 8184)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SeleniumExampleTest.java 2008-04-25 15:36:40 UTC (rev 8185)
@@ -1,61 +0,0 @@
-/**
- *
- */
-package org.richfaces;
-
-/**
- * @author asmirnov
- *
- */
-import static org.testng.Assert.assertEquals;
-
-import org.testng.annotations.AfterTest;
-import org.testng.annotations.BeforeTest;
-import org.testng.annotations.Parameters;
-import org.testng.annotations.Test;
-
-import com.thoughtworks.selenium.DefaultSelenium;
-
-public class SeleniumExampleTest
-
-{
- private DefaultSelenium selenium;
-
- protected DefaultSelenium createSeleniumClient(String url, String browser){
- return new DefaultSelenium("localhost", 4444,
- browser, url);
- }
- @BeforeTest
- @Parameters({ "browser" })
- public void startSelenium(String browser){
- selenium = createSeleniumClient("http://localhost:8080/", browser);
- selenium.start();
- }
-
- @Test(enabled=true)
- public void testSomethingSimple() throws Exception {
- selenium.open("http://localhost:8080/seleniumTest/faces/test.xhtml");
- selenium.waitForPageToLoad("5000");
-
- //
- System.out.println("body [" + selenium.getHtmlSource() + "]");
- //
- // selenium.getEval("window.done=false;A4J.AJAX.AddListener(new
- // A4J.AJAX.Listener(function(){window.done=true}))");
- selenium.click("id=fff:lnk");
- selenium.waitForCondition(
- "selenium.browserbot.getCurrentWindow().done==true", "3000");
- System.out.println("ajax body [" + selenium.getHtmlSource() + "]");
- assertEquals("testOk", selenium.getText("id=fff:out"));
-
- // Test help link
- }
- /**
- *
- */
- @AfterTest
- public void stopSelenium() {
- selenium.stop();
- selenium = null;
- }
-}
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8184 - in trunk/test-applications/seleniumTest/src: main/webapp/pages/ajaxCommandButton and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-04-25 11:36:03 -0400 (Fri, 25 Apr 2008)
New Revision: 8184
Modified:
trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml
trunk/test-applications/seleniumTest/src/main/webapp/pages/ajaxCommandButton/ajaxButtonTest.xhtml
trunk/test-applications/seleniumTest/src/main/webapp/pages/ajaxCommandLink/ajaxLinkTest.xhtml
trunk/test-applications/seleniumTest/src/main/webapp/pages/progressBar/progressBarTest.xhtml
trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/RichSeleniumTest.java
trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/SeleniumTestBase.java
trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java
Log:
change all tests
Modified: trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml 2008-04-25 15:36:03 UTC (rev 8184)
@@ -6,6 +6,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
+ <a4j:loadScript src="resource:///org/ajax4jsf/javascript/scripts/AJAX.js"></a4j:loadScript>
<script>
var errorMessage = null;
var pauseHolder = {};
@@ -47,7 +48,7 @@
<table border="0" cellpadding="5" cellspacing="0">
<tr>
<td colspan="2">
- <a4j:commandLink reRender="_Selenium_Test_Form" style="display: none;" value="ReRenderAll" id="_reRender">
+ <a4j:commandLink reRender="_Selenium_Test_Common_Grid" style="" value="ReRenderAll" id="_reRender">
</a4j:commandLink>
<h:commandLink value="setTemplate" style="" id="_Selenium_Template_DataTable" actionListener="#{templateBean.initTemplate}">
<f:param name="t" value="dataTable"/>
@@ -63,13 +64,11 @@
</table>
</h:form>
<div id="_Selenium_Test_ControlPoint1" style="display: none;">Control1</div>
-<h:form id="_Selenium_Test_Form" >
- <div id="_Selenium_Test_Common_Div">
+<h:panelGrid id="_Selenium_Test_Common_Grid">
<ui:insert name="template"/>
- </div>
-</h:form>
+</h:panelGrid>
<script type="text/javascript">
- window.done=false;A4J.AJAX.AddListener(new A4J.AJAX.Listener(function(){window.done=true}));
+ window.done=false; A4J.AJAX.AddListener(new A4J.AJAX.Listener(function(){window.done=true;}));
</script>
<div id="_Selenium_Test_ControlPoint2" style="display: none;">Control2</div>
Modified: trunk/test-applications/seleniumTest/src/main/webapp/pages/ajaxCommandButton/ajaxButtonTest.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/pages/ajaxCommandButton/ajaxButtonTest.xhtml 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/main/webapp/pages/ajaxCommandButton/ajaxButtonTest.xhtml 2008-04-25 15:36:03 UTC (rev 8184)
@@ -6,8 +6,9 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
-<ui:composition template="../../layout/template.xhtml">
+<ui:composition template="#{templateBean.template}">
<ui:define name="component">
+ <h:form id="_form">
<a4j:commandButton
id="b1"
action="#{commandBean.action}"
@@ -54,6 +55,7 @@
<br/>
<h:inputText value="#{commandBean.value}" id="_value"></h:inputText>
<br/>
+ </h:form>
</ui:define>
<ui:define name="description">
<ui:include src="ajaxButtonDescription.xhtml" />
Modified: trunk/test-applications/seleniumTest/src/main/webapp/pages/ajaxCommandLink/ajaxLinkTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/src/main/webapp/pages/progressBar/progressBarTest.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/pages/progressBar/progressBarTest.xhtml 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/main/webapp/pages/progressBar/progressBarTest.xhtml 2008-04-25 15:36:03 UTC (rev 8184)
@@ -8,6 +8,7 @@
<ui:composition template="#{templateBean.template}">
<ui:define name="component">
+ <h:form id="_form">
<rich:progressBar enabled="#{progressBarBean.enabled}" id="progressBar1" value="#{progressBarBean.value}">
<f:facet name="initial">
<h:outputText value="Process not started"></h:outputText>
@@ -27,6 +28,7 @@
</f:facet>
<h:outputText value="{value}%"></h:outputText>
</rich:progressBar> <br/>
+ </h:form>
</ui:define>
<ui:define name="description">
<ui:include src="progressBarDescription.xhtml" />
Modified: trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/RichSeleniumTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/RichSeleniumTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/RichSeleniumTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -6,4 +6,6 @@
public void stopSelenium();
+ public String getTestUrl();
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/SeleniumTestBase.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/SeleniumTestBase.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/SeleniumTestBase.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -95,6 +95,7 @@
protected void renderPage(String homePage) {
selenium.open(protocol + "://" + host + ":" + port + "/" + APPLICATION_NAME + homePage);
selenium.waitForPageToLoad(String.valueOf(pageRenderTime));
+
checkPageRendering(); // At the first we check if page has been
// rendered
@@ -106,7 +107,30 @@
//checkJSError();
}
+
+ /**
+ * Renders page
+ */
+ protected void renderPage(String homePage, Templates template) {
+ selenium.open(protocol + "://" + host + ":" + port + "/" + APPLICATION_NAME + homePage);
+ selenium.waitForPageToLoad(String.valueOf(pageRenderTime));
+
+ if (!template.equals(Templates.SIMPLE)) {
+ template.loadTemplate(this);
+ }
+ checkPageRendering(); // At the first we check if page has been
+ // rendered
+ checkJSError(); // At the second we check if JS errors occurred
+
+ reRenderForm(); // ReRender component
+
+ checkPageRendering(); // Check all again
+ checkJSError();
+
+ }
+
+
// /**
// * Return component id inside Data table
// *
@@ -147,6 +171,19 @@
checkJSError();
return result;
}
+
+ /**
+ * Performs script defined in parameter
+ * @param script
+ * @return
+ */
+ public String runScript(String script, boolean checkEerror) {
+ String result = selenium.getEval(WINDOW_JS_RESOLVER + script);
+ if (checkEerror) {
+ checkJSError();
+ }
+ return result;
+ }
/**
* This method are invoking after selenium tests completed
@@ -189,6 +226,7 @@
*/
public void waitForAjaxCompletion(int miliseconds) {
selenium.waitForCondition(WINDOW_JS_RESOLVER + "done==true", String.valueOf(miliseconds));
+ runScript("window.done=false");
}
/**
Modified: trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -3,9 +3,9 @@
public class Templates {
- public static final String COMPONENT_PREFIX_INSIDE_TABLE = "_Selenium_Test_Form:_Selenium_Test_DataTable:0:";
+ public static final String COMPONENT_PREFIX_INSIDE_TABLE = "_Selenium_Test_DataTable:0:";
- public static final String COMPONENT_PREFIX_SIMPLE = "_Selenium_Test_Form:";
+ public static final String COMPONENT_PREFIX_SIMPLE = "";
private String template = null;
@@ -29,8 +29,21 @@
public void loadTemplate(SeleniumTestBase test) {
setParentId(test);
- test.runScript("loadTemplate('" + template + "');");
+ test.runScript("loadTemplate('" + template + "');", false);
test.waitForPageToLoad();
}
+
+ public boolean equals(Object obj) {
+ if (obj == null || !(obj instanceof Templates)) {
+ return false;
+ }
+ Templates template = (Templates) obj;
+ if (template.template.equals(this.template)) {
+ return true;
+ }
+ return false;
+ }
+
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -2,6 +2,7 @@
import org.ajax4jsf.test.base.RichSeleniumTest;
import org.ajax4jsf.test.base.SeleniumTestBase;
+import org.ajax4jsf.test.base.Templates;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Parameters;
@@ -33,14 +34,14 @@
@Test
public void testAjaxCommandButtonComponent() throws Exception {
- renderPage("/faces/pages/ajaxCommandButton/ajaxButtonTest.xhtml");
-
-// _testAjaxCommandButtonComponent(COMPONENT_PREFIX_INSIDE_TABLE);
-// _testAjaxCommandButtonComponent(COMPONENT_PREFIX_SIMPLE);
+ _testAjaxCommandButtonComponent(Templates.DATATABLE);
}
- private void _testAjaxCommandButtonComponent(String parentId) {
- // test inside DataTable
+ private void _testAjaxCommandButtonComponent(Templates template) {
+ renderPage(getTestUrl(), template);
+
+ String parentId = getParentId() + "_form:";
+
String buttonId = parentId + "b1";
String inputId = parentId + "_value";
@@ -89,4 +90,8 @@
AssertValueEquals(inputId, "5");
}
+ public String getTestUrl() {
+ return "/faces/pages/ajaxCommandButton/ajaxButtonTest.xhtml";
+ }
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -2,6 +2,7 @@
import org.ajax4jsf.test.base.RichSeleniumTest;
import org.ajax4jsf.test.base.SeleniumTestBase;
+import org.ajax4jsf.test.base.Templates;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Parameters;
@@ -32,14 +33,14 @@
@Test
public void testAjaxCommandLinkComponent() throws Exception {
- renderPage("/faces/pages/ajaxCommandLink/ajaxLinkTest.xhtml");
-
-// _testAjaxCommandLinkComponent(COMPONENT_PREFIX_INSIDE_TABLE);
-// _testAjaxCommandLinkComponent(COMPONENT_PREFIX_SIMPLE);
+ _testAjaxCommandLinkComponent(Templates.DATATABLE);
}
- private void _testAjaxCommandLinkComponent(String parentId) {
- // test inside DataTable
+ private void _testAjaxCommandLinkComponent(Templates template) {
+ renderPage(getTestUrl(), template);
+
+ String parentId = getParentId() + "_form:";
+
String LinkId = parentId + "l1";
String inputId = parentId + "_value";
@@ -88,4 +89,8 @@
AssertValueEquals(inputId, "5");
}
+ public String getTestUrl() {
+ return null;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -95,4 +95,9 @@
Assert.assertFalse(isVisibleById(output2));
Assert.assertTrue(isVisibleById(output3));
}
+
+ public String getTestUrl() {
+ return null;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -195,4 +195,9 @@
AssertValueEquals(inputId, "pItem1_single");
AssertTextEquals(outputId, "2");
}
+
+ public String getTestUrl() {
+ return null;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -2,6 +2,7 @@
import org.ajax4jsf.test.base.RichSeleniumTest;
import org.ajax4jsf.test.base.SeleniumTestBase;
+import org.ajax4jsf.test.base.Templates;
import org.testng.Assert;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
@@ -34,16 +35,15 @@
@Test
public void testProgressBarComponent() {
- renderPage("/faces/pages/progressBar/progressBarTest.xhtml");
-
-// _testProgressBarComponent(COMPONENT_PREFIX_INSIDE_TABLE);
-// _testProgressBarComponent(COMPONENT_PREFIX_SIMPLE);
+ _testProgressBarComponent(Templates.DATATABLE);
}
- private void _testProgressBarComponent(String parentId) {
+ private void _testProgressBarComponent(Templates template) {
- //- Test ajax mode
-
+ renderPage(getTestUrl(), template);
+
+ String parentId = getParentId() + "_form:";
+
String progressBarId = parentId + "progressBar1";
int value = getProgressBarValue(progressBarId);
Assert.assertTrue(value < 0);
@@ -106,5 +106,10 @@
Integer v = Integer.parseInt(value);
return v;
}
+
+ public String getTestUrl() {
+ return null;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -101,5 +101,10 @@
AssertTextEquals(outputId, "4");
Assert.assertFalse(isVisibleById(serverBody));
}
+
+ public String getTestUrl() {
+ return null;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -119,5 +119,10 @@
}
}
+
+ public String getTestUrl() {
+ return null;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java 2008-04-25 15:30:20 UTC (rev 8183)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java 2008-04-25 15:36:03 UTC (rev 8184)
@@ -33,147 +33,159 @@
import com.thoughtworks.selenium.SeleniumException;
-public class TogglePanelTest extends SeleniumTestBase implements RichSeleniumTest {
+public class TogglePanelTest extends SeleniumTestBase implements
+ RichSeleniumTest {
private static final String PAGE = "/faces/pages/togglePanel/togglePanelTest.xhtml";
-
+
public TogglePanelTest() {
super("http", "localhost", "8080");
}
-
+
/**
- * This method are invoking before selenium tests started
- */
+ * This method are invoking before selenium tests started
+ */
@BeforeTest
- @Parameters( { "browser" })
- public void startSelenium(String browser) {
- super.startSelenium(browser);
- }
-
- /**
- * This method are invoking after selenium tests completed
- */
+ @Parameters( { "browser" })
+ public void startSelenium(String browser) {
+ super.startSelenium(browser);
+ }
+
+ /**
+ * This method are invoking after selenium tests completed
+ */
@AfterTest
- public void stopSelenium() {
- super.stopSelenium();
- }
-
+ public void stopSelenium() {
+ super.stopSelenium();
+ }
+
@Test
- public void testTogglePanelComponent() throws Exception {
+ public void testTogglePanelComponent() throws Exception {
_testTogglePanelComponent(Templates.SIMPLE);
- _testTogglePanelComponent(Templates.DATATABLE);
- }
-
- private void _testTogglePanelComponent(Templates template) {
- template.loadTemplate(this);
-
- String parentId = getParentId();
- renderPage(PAGE + "?" + TemplateBean.PARAM_NAME + "=" + template);
-
- String inputId = parentId + "_value";
- String outputId = parentId + "_value2";
-
- String controlNext = parentId + "ajax_next";
- String controlOne = parentId + "ajax_one";
- String controlTwo = parentId + "ajax_two";
-
- String oneFacet = parentId + "ajax_state_one";
- String twoFacet = parentId + "ajax_state_two";
-
- clickById(controlNext);
- waitForAjaxCompletion(5000);
- pause(60000, "");
- AssertValueEquals(inputId, "ajax_next");
- AssertTextEquals(outputId, "1");
- Assert.assertTrue(isVisibleById(twoFacet));
- try {
- getTextById(oneFacet);
- Assert.fail("Both of 'one' and 'two' states were rendered for ajax toggle panel.");
- } catch (SeleniumException se) {
-
- }
-
- clickById(controlOne);
- waitForAjaxCompletion(5000);
- AssertValueEquals(inputId, "ajax_one");
- AssertTextEquals(outputId, "2");
- Assert.assertTrue(isVisibleById(oneFacet));
- try {
- getTextById(twoFacet);
- Assert.fail("Both of 'one' and 'two' states were rendered for ajax toggle panel.");
- } catch (SeleniumException se) {
-
- }
-
- clickById(controlTwo);
- waitForAjaxCompletion(5000);
- AssertValueEquals(inputId, "ajax_two");
- AssertTextEquals(outputId, "1");
- Assert.assertTrue(isVisibleById(twoFacet));
- try {
- getTextById(oneFacet);
- Assert.fail("Both of 'one' and 'two' states were rendered for ajax toggle panel.");
- } catch (SeleniumException se) {
-
- }
-
- controlNext = parentId + "server_next";
- controlOne = parentId + "server_one";
- controlTwo = parentId + "server_two";
- oneFacet = parentId + "server_state_one";
- twoFacet = parentId + "server_state_two";
-
- clickById(controlNext);
- waitForPageToLoad();
- AssertValueEquals(inputId, "server_next");
- AssertTextEquals(outputId, "2");
- Assert.assertTrue(isVisibleById(twoFacet));
- try {
- getTextById(oneFacet);
- Assert.fail("Both of 'one' and 'two' states were rendered for server toggle panel.");
- } catch (SeleniumException se) {
-
- }
-
- clickById(controlOne);
- waitForPageToLoad();
- AssertValueEquals(inputId, "server_one");
- AssertTextEquals(outputId, "3");
- Assert.assertTrue(isVisibleById(oneFacet));
- try {
- getTextById(twoFacet);
- Assert.fail("Both of 'one' and 'two' states were rendered for server toggle panel.");
- } catch (SeleniumException se) {
-
- }
-
- clickById(controlTwo);
- waitForPageToLoad();
- AssertValueEquals(inputId, "server_two");
- AssertTextEquals(outputId, "4");
- Assert.assertTrue(isVisibleById(twoFacet));
- try {
- getTextById(oneFacet);
- Assert.fail("Both of 'one' and 'two' states were rendered for server toggle panel.");
- } catch (SeleniumException se) {
-
- }
-
- controlNext = parentId + "client_next";
- controlOne = parentId + "client_one";
- controlTwo = parentId + "client_two";
- oneFacet = parentId + "client_state_one";
- twoFacet = parentId + "client_state_two";
-
- clickById(controlNext);
- Assert.assertTrue(isVisibleById(twoFacet));
- Assert.assertFalse(isVisibleById(oneFacet));
-
- clickById(controlOne);
- Assert.assertTrue(isVisibleById(oneFacet));
- Assert.assertFalse(isVisibleById(twoFacet));
-
- clickById(controlTwo);
- Assert.assertTrue(isVisibleById(twoFacet));
- Assert.assertFalse(isVisibleById(oneFacet));
- }
+ _testTogglePanelComponent(Templates.DATATABLE);
+ }
+
+ private void _testTogglePanelComponent(Templates template) {
+ template.loadTemplate(this);
+
+ String parentId = getParentId();
+ renderPage(PAGE + "?" + TemplateBean.PARAM_NAME + "=" + template);
+
+ String inputId = parentId + "_value";
+ String outputId = parentId + "_value2";
+
+ String controlNext = parentId + "ajax_next";
+ String controlOne = parentId + "ajax_one";
+ String controlTwo = parentId + "ajax_two";
+
+ String oneFacet = parentId + "ajax_state_one";
+ String twoFacet = parentId + "ajax_state_two";
+
+ clickById(controlNext);
+ waitForAjaxCompletion(5000);
+ pause(60000, "");
+ AssertValueEquals(inputId, "ajax_next");
+ AssertTextEquals(outputId, "1");
+ Assert.assertTrue(isVisibleById(twoFacet));
+ try {
+ getTextById(oneFacet);
+ Assert
+ .fail("Both of 'one' and 'two' states were rendered for ajax toggle panel.");
+ } catch (SeleniumException se) {
+
+ }
+
+ clickById(controlOne);
+ waitForAjaxCompletion(5000);
+ AssertValueEquals(inputId, "ajax_one");
+ AssertTextEquals(outputId, "2");
+ Assert.assertTrue(isVisibleById(oneFacet));
+ try {
+ getTextById(twoFacet);
+ Assert
+ .fail("Both of 'one' and 'two' states were rendered for ajax toggle panel.");
+ } catch (SeleniumException se) {
+
+ }
+
+ clickById(controlTwo);
+ waitForAjaxCompletion(5000);
+ AssertValueEquals(inputId, "ajax_two");
+ AssertTextEquals(outputId, "1");
+ Assert.assertTrue(isVisibleById(twoFacet));
+ try {
+ getTextById(oneFacet);
+ Assert
+ .fail("Both of 'one' and 'two' states were rendered for ajax toggle panel.");
+ } catch (SeleniumException se) {
+
+ }
+
+ controlNext = parentId + "server_next";
+ controlOne = parentId + "server_one";
+ controlTwo = parentId + "server_two";
+ oneFacet = parentId + "server_state_one";
+ twoFacet = parentId + "server_state_two";
+
+ clickById(controlNext);
+ waitForPageToLoad();
+ AssertValueEquals(inputId, "server_next");
+ AssertTextEquals(outputId, "2");
+ Assert.assertTrue(isVisibleById(twoFacet));
+ try {
+ getTextById(oneFacet);
+ Assert
+ .fail("Both of 'one' and 'two' states were rendered for server toggle panel.");
+ } catch (SeleniumException se) {
+
+ }
+
+ clickById(controlOne);
+ waitForPageToLoad();
+ AssertValueEquals(inputId, "server_one");
+ AssertTextEquals(outputId, "3");
+ Assert.assertTrue(isVisibleById(oneFacet));
+ try {
+ getTextById(twoFacet);
+ Assert
+ .fail("Both of 'one' and 'two' states were rendered for server toggle panel.");
+ } catch (SeleniumException se) {
+
+ }
+
+ clickById(controlTwo);
+ waitForPageToLoad();
+ AssertValueEquals(inputId, "server_two");
+ AssertTextEquals(outputId, "4");
+ Assert.assertTrue(isVisibleById(twoFacet));
+ try {
+ getTextById(oneFacet);
+ Assert
+ .fail("Both of 'one' and 'two' states were rendered for server toggle panel.");
+ } catch (SeleniumException se) {
+
+ }
+
+ controlNext = parentId + "client_next";
+ controlOne = parentId + "client_one";
+ controlTwo = parentId + "client_two";
+ oneFacet = parentId + "client_state_one";
+ twoFacet = parentId + "client_state_two";
+
+ clickById(controlNext);
+ Assert.assertTrue(isVisibleById(twoFacet));
+ Assert.assertFalse(isVisibleById(oneFacet));
+
+ clickById(controlOne);
+ Assert.assertTrue(isVisibleById(oneFacet));
+ Assert.assertFalse(isVisibleById(twoFacet));
+
+ clickById(controlTwo);
+ Assert.assertTrue(isVisibleById(twoFacet));
+ Assert.assertFalse(isVisibleById(oneFacet));
+ }
+
+ public String getTestUrl() {
+ return null;
+ }
+
}
16 years, 8 months
JBoss Rich Faces SVN: r8183 - in trunk/ui/modal-panel/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-04-25 11:30:20 -0400 (Fri, 25 Apr 2008)
New Revision: 8183
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
Log:
http://jira.jboss.com/jira/browse/RF-3266
http://jira.jboss.com/jira/browse/RF-3251
Modified: trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
--- trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-04-25 14:44:53 UTC (rev 8182)
+++ trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-04-25 15:30:20 UTC (rev 8183)
@@ -175,10 +175,6 @@
eCdiv.mpUseExpr = true;
}
- if (this.options.onhide && this.options.onhide != ""){
- this.eventOnHide = new Function("event",this.options.onhide);
- }
-
ModalPanel.panels.push(this);
this.eventFirstOnfocus = this.firstOnfocus.bindAsEventListener(this);
@@ -659,7 +655,9 @@
var event = {};
event.parameters = opts || {};
- if (this.eventOnHide) this.eventOnHide(event);
+ if (this.options && this.options.onhide) {
+ this.options.onhide(event);
+ }
var forms = eCdiv.getElementsByTagName("form");
if (this.options.keepVisualState && forms) {
Modified: trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-04-25 14:44:53 UTC (rev 8182)
+++ trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-04-25 15:30:20 UTC (rev 8183)
@@ -188,8 +188,8 @@
});
</script>
</div>
+ <script type="text/javascript" >
+ #{this:getShowScript(context, component)}
+ </script>
</div>
- <script type="text/javascript" >
- #{this:getShowScript(context, component)}
- </script>
</f:template>
16 years, 8 months