Author: yradtsevich
Date: 2010-07-30 07:47:11 -0400 (Fri, 30 Jul 2010)
New Revision: 23832
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml
Log:
https://jira.jboss.org/browse/JBIDE-6711
- templates for the following tags are added:
spring:bind
spring:escapeBody
spring:hasBindErrors
spring:htmlEscape
spring:nestedPath
spring:transform
spring:eval
spring:url
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml 2010-07-30
10:25:12 UTC (rev 23831)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml 2010-07-30
11:47:11 UTC (rev 23832)
@@ -404,6 +404,54 @@
<vpe:textFormatting use-default-formats="yes">
</vpe:textFormatting>
</vpe:template>
- </vpe:tag>
+ </vpe:tag>
+ <vpe:tag name="spring:bind" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="spring:escapeBody" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="spring:hasBindErrors" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="spring:htmlEscape" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="spring:nestedPath" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="spring:transform" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="spring:eval" case-sensitive="yes">
+ <vpe:if test="attrpresent('var')">
+ <vpe:template children="no" modify="yes" />
+ </vpe:if>
+ <vpe:template children="no" modify="yes">
+ <span class="vpe-text">
+ <vpe:value expr="{@expression}" />
+ </span>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="spring:url" case-sensitive="yes">
+ <vpe:if test="attrpresent('var')">
+ <vpe:template children="no" modify="yes" />
+ </vpe:if>
+ <vpe:template children="no" modify="yes">
+ <span class="vpe-text">
+ <vpe:value expr="{@value}" />
+ </span>
+ </vpe:template>
+ </vpe:tag>
+
</vpe:templates>