Author: yradtsevich
Date: 2010-07-30 04:56:30 -0400 (Fri, 30 Jul 2010)
New Revision: 23826
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml
Log:
https://jira.jboss.org/browse/JBIDE-6711
- form:radiobutton template is added
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
08:47:24 UTC (rev 23825)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml 2010-07-30
08:56:30 UTC (rev 23826)
@@ -212,6 +212,35 @@
</option>
</vpe:template>
</vpe:tag>
+
+ <vpe:tag name="form:radiobutton" case-sensitive="yes">
+ <vpe:if test="@disabled='true'">
+ <vpe:template children="no" modify="no">
+ <span class="vpe-text">
+ <input type="radio" id="{@id}" style="{@cssStyle}"
class="{@cssClass}"
+ disabled="disabled" name="{@path}"/>
+ <label>
+ <vpe:value expr="{@label}" />
+ </label>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="no" modify="no">
+ <span class="vpe-text">
+ <input type="radio" id="{@id}" style="{@cssStyle}"
class="{@cssClass}"
+ name="{@path}" />
+ <label>
+ <vpe:value expr="{@label}" />
+ </label>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
<vpe:tag name="form:textarea" case-sensitive="no">
<vpe:template children="yes" modify="yes"