Author: dsakovich
Date: 2008-03-18 11:32:57 -0400 (Tue, 18 Mar 2008)
New Revision: 6989
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/src/org/jboss/tools/jsf/vpe/ajax4jsf/template/Ajax4JSFReapeatTemplate.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1922
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/src/org/jboss/tools/jsf/vpe/ajax4jsf/template/Ajax4JSFReapeatTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/src/org/jboss/tools/jsf/vpe/ajax4jsf/template/Ajax4JSFReapeatTemplate.java
(rev 0)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/src/org/jboss/tools/jsf/vpe/ajax4jsf/template/Ajax4JSFReapeatTemplate.java 2008-03-18
15:32:57 UTC (rev 6989)
@@ -0,0 +1,20 @@
+package org.jboss.tools.jsf.vpe.ajax4jsf.template;
+
+
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Node;
+
+public class Ajax4JSFReapeatTemplate extends VpeAbstractTemplate {
+
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+ return new VpeCreationData(null);
+ }
+
+
+}
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 2008-03-18
14:55:47 UTC (rev 6988)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml 2008-03-18
15:32:57 UTC (rev 6989)
@@ -314,10 +314,10 @@
<vpe:template children="yes" file="{@viewId}"
class="org.jboss.tools.vpe.editor.template.VpeIncludeTemplate"/>
</vpe:tag>
- <vpe:tag name="a4j:repeat" case-sensitive="yes">
- <vpe:template children="yes" modify="no">
- </vpe:template>
- </vpe:tag>
+ <vpe:tag name="a4j:repeat" case-sensitive="yes"
haveVisualPreview="no">
+ <vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.ajax4jsf.template.Ajax4JSFReapeatTemplate">
+ </vpe:template>
+ </vpe:tag>
<vpe:tag name="a4j:portlet" case-sensitive="yes">
<vpe:template children="yes" modify="no">