Author: mareshkau
Date: 2010-11-01 12:22:37 -0400 (Mon, 01 Nov 2010)
New Revision: 26165
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/clientValidator.xhtml
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
Log:
https://jira.jboss.org/browse/JBIDE-7452
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2010-11-01
14:40:15 UTC (rev 26164)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2010-11-01
16:22:37 UTC (rev 26165)
@@ -735,6 +735,10 @@
<vpe:template children="yes" modify="no"/>
</vpe:tag>
+ <vpe:tag name="rich:clientValidator" case-sensitive="yes">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
<vpe:tag name="rich:hotKey" case-sensitive="yes">
<vpe:template children="yes" modify="no"/>
</vpe:tag>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/clientValidator.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/clientValidator.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/clientValidator.xhtml 2010-11-01
16:22:37 UTC (rev 26165)
@@ -0,0 +1,9 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:rich="http://richfaces.org/rich">
+<h:form>
+<rich:clientValidator id="clientValidator"
[event="onsubmit"]/>
+</h:form>
+</html>
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2010-11-01
14:40:15 UTC (rev 26164)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2010-11-01
16:22:37 UTC (rev 26165)
@@ -135,6 +135,10 @@
public void testDragListener() throws Throwable {
performInvisibleTagTest("components/dragListener.xhtml",
"dragListener"); //$NON-NLS-1$ //$NON-NLS-2$
}
+
+ public void testClientValidator() throws Throwable {
+ performInvisibleTagTest("components/clientValidator.xhtml",
"clientValidator"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
public void testDropListener() throws Throwable {
performInvisibleTagTest("components/dropListener.xhtml",
"dropListener"); //$NON-NLS-1$ //$NON-NLS-2$