Author: dvinnichek
Date: 2010-11-03 06:02:46 -0400 (Wed, 03 Nov 2010)
New Revision: 26213
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/actionListener.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/ajax.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/attachQueue.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/param.xhtml
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java
Log:
added templates for ajax4jsf (
https://jira.jboss.org/browse/JBIDE-7446)
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml 2010-11-03
09:56:54 UTC (rev 26212)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml 2010-11-03
10:02:46 UTC (rev 26213)
@@ -292,4 +292,22 @@
</vpe:template>
</vpe:if>
</vpe:tag>
+
+ <!-- Since RichFaces 4.0 -->
+ <vpe:tag name="a4j:actionListener" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="a4j:ajax" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="a4j:attachQueue" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="a4j:param" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ </vpe:template>
+ </vpe:tag>
</vpe:templates>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/actionListener.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/actionListener.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/ajax.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/ajax.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/attachQueue.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/attachQueue.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/param.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/param.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java 2010-11-03
09:56:54 UTC (rev 26212)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java 2010-11-03
10:02:46 UTC (rev 26213)
@@ -14,8 +14,6 @@
public class Ajax4JsfComponentContentTest extends ComponentContentTest {
-
-
public Ajax4JsfComponentContentTest(String name) {
super(name);
setCheckWarning(false);
@@ -24,99 +22,115 @@
public void testAjaxListener() throws Throwable {
performInvisibleTagTest("components/ajaxListener.xhtml",
"ajaxListener"); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testKeepAlive() throws Throwable {
- performInvisibleTagTest("components/keepAlive.xhtml","keepAlive");//$NON-NLS-1$
+ performInvisibleTagTest("components/keepAlive.xhtml",
"keepAlive");//$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void _testActionparam() throws Throwable {
performInvisibleTagTest("components/actionparam.xhtml",
"actionparam1"); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testCommandButton() throws Throwable {
performContentTest("components/commandButton.xhtml");//$NON-NLS-1$
}
-
+
public void testCommandLink() throws Throwable {
performContentTest("components/commandLink.xhtml");//$NON-NLS-1$
}
-
+
public void _testForm() throws Throwable {
performContentTest("components/form.xhtml");//$NON-NLS-1$
}
-
+
public void testHtmlCommandLink() throws Throwable {
performContentTest("components/htmlCommandLink.xhtml");//$NON-NLS-1$
}
-
+
public void testJsFunction() throws Throwable {
performInvisibleTagTest("components/jsFunction.xhtml",
"jsFunction"); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testInclude() throws Throwable {
performContentTest("components/include.xhtml");//$NON-NLS-1$
}
-
+
public void testLoadBundle() throws Throwable {
performInvisibleTagTest("components/loadBundle.xhtml",
"loadBundle"); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testLoadScript() throws Throwable {
performInvisibleTagTest("components/loadScript.xhtml",
"loadScript"); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testLoadStyle() throws Throwable {
performInvisibleTagTest("components/loadStyle.xhtml", "loadStyle");
//$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testLog() throws Throwable {
performContentTest("components/log.xhtml"); //$NON-NLS-1$
}
-
+
public void testMediaOutput() throws Throwable {
performContentTest("components/mediaOutput.xhtml");//$NON-NLS-1$
}
-
+
public void testOutputPanel() throws Throwable {
}
-
+
public void _testPage() throws Throwable {
performContentTest("components/page/page.xhtml");//$NON-NLS-1$
}
-
+
public void testPoll() throws Throwable {
performInvisibleTagTest("components/poll.xhtml", "poll");
//$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testPortlet() throws Throwable {
performContentTest("components/portlet.xhtml");//$NON-NLS-1$
}
-
+
public void testPush() throws Throwable {
performInvisibleTagTest("components/push.xhtml", "push");
//$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testQueue() throws Throwable {
- performInvisibleTagTest(
- "components/queue.jsp", "a4jQueue"); //$NON-NLS-1$ //$NON-NLS-2$
+ performInvisibleTagTest("components/queue.jsp", "a4jQueue");
//$NON-NLS-1$ //$NON-NLS-2$
}
public void _testRegion() throws Throwable {
performContentTest("components/region.xhtml");//$NON-NLS-1$
}
-
+
public void testRepeat() throws Throwable {
performInvisibleTagTest("components/repeat.xhtml", "repeat");
//$NON-NLS-1$ //$NON-NLS-2$
}
-
+
public void testStatus() throws Throwable {
performContentTest("components/status.xhtml");//$NON-NLS-1$
}
-
+
public void testSupport() throws Throwable {
performInvisibleTagTest("components/support.xhtml", "support");
//$NON-NLS-1$ //$NON-NLS-2$
}
-
+
+ public void testActionListener() throws Throwable {
+ performInvisibleTagTest(
+ "components/actionListener.xhtml", "actionListener");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testAjax() throws Throwable {
+ performInvisibleTagTest("components/ajax.xhtml", "ajax");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testAttachQueue() throws Throwable {
+ performInvisibleTagTest("components/attachQueue.xhtml",
"attachQueue"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testParam() throws Throwable {
+ performInvisibleTagTest("components/param.xhtml", "param");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
protected String getTestProjectName() {
return Ajax4JsfAllTests.IMPORT_PROJECT_NAME;
}