Commits

Anonymous committed 01fe7b2

Added onchange for file.

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@293573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits afe3596

Comments (0)

Files changed (2)

File src/etc/taglib.tld

             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
         </attribute>
+        <attribute>
+            <name>onchange</name>
+            <required>false</required>
+            <rtexprvalue>false</rtexprvalue>
+        </attribute>
     </tag>
 
     <tag>

File src/java/template/xhtml/file.vm

                                    name="$!webwork.htmlEncode($parameters.name)"
 #if ($parameters.size)             size="$!webwork.htmlEncode($parameters.size)"            #end
 #if ($parameters.nameValue)        value="$!webwork.htmlEncode($parameters.nameValue)"      #end
-#if ($parameters.disabled == true) disabled="disabled"                #end
+#if ($parameters.disabled == true) disabled="disabled"                                      #end
 #if ($parameters.id)               id="$!webwork.htmlEncode($parameters.id)"                #end
 #if ($parameters.accept)           accept="$!webwork.htmlEncode($parameters.accept)"        #end
+#if ($parameters.onchange)         onchange="$!parameters.onchange"                         #end
 />
 
 #parse("/template/xhtml/controlfooter.vm")