Author: dgolovin
Date: 2011-12-02 04:07:43 -0500 (Fri, 02 Dec 2011)
New Revision: 36866
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
Log:
https://issues.jboss.org/browse/JBIDE-10050 No name attribute in input html tag
patch is applied
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2011-12-02
07:41:03 UTC (rev 36865)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2011-12-02
09:07:43 UTC (rev 36866)
@@ -1236,7 +1236,7 @@
<vpe:tag name="input" case-sensitive="no">
<vpe:if test="(@type='checkbox')|(@type='radio')">
<vpe:template children="no" modify="no">
- <vpe:copy
attrs="id,style,class,type,checked,disabled,height,width,placeholder">
+ <vpe:copy
attrs="id,style,class,type,checked,disabled,height,width,placeholder,name">
<!--vpe:attribute name="disabled" value="disabled"/-->
</vpe:copy>
<vpe:dnd>
@@ -1246,7 +1246,7 @@
</vpe:if>
<vpe:if test="(@type='submit')|(@type='button')">
<vpe:template children="yes" modify="yes">
- <vpe:copy
attrs="id,type,value,style,class,dir,disabled,height,width,placeholder" />
+ <vpe:copy
attrs="id,type,value,style,class,dir,disabled,height,width,placeholder,name"
/>
<!--span class="__button__tag" style="{@style}">
<nobr><vpe:value expr="{@value}"/></nobr>
</span-->
@@ -1292,7 +1292,7 @@
<vpe:template children="no" modify="no">
<input type="file" value="{@value}"
class="{@styleClass}" style="{@style}" size="{@size}"
disabled="{@disabled}"
- height="{@height}" width="{@width}"
placeholder="{@placeholder}"/>
+ height="{@height}" width="{@width}"
placeholder="{@placeholder}" name="{@name}"/>
<vpe:resize>
<vpe:width width-attr="style.width" />
<vpe:height height-attr="style.height" />
@@ -1312,11 +1312,11 @@
<!-- <img src="{@src}" width="20" height="20"
/>-->
<input type="image" value="{@value}"
class="{@class}" style="{@style}"
size="{@size}" disabled="{@disabled}"
border="{@border}" dir="{@dir}" src="{src(@src)}"
- height="{@height}" width="{@width}"
placeholder="{@placeholder}" />
+ height="{@height}" width="{@width}"
placeholder="{@placeholder}" name="{@name}" />
</vpe:template>
</vpe:if>
<vpe:template children="no" modify="no">
- <vpe:copy
attrs="id,type,style,class,value,size,dir,disabled,height,width,placeholder"
/>
+ <vpe:copy
attrs="id,type,style,class,value,size,dir,disabled,height,width,placeholder,name"
/>
<!--span class="__input__tag" style="{@style}">
<nobr><vpe:value expr="{@value}"/></nobr>
</span-->