cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/forms/samples/resources forms-field-styling.xsl
Date Thu, 01 Jul 2004 23:45:45 GMT
joerg       2004/07/01 16:45:45

  Modified:    src/blocks/forms/samples/resources forms-field-styling.xsl
  Log:
  fixed upload widget: button caused a "real" submit, not an action submit (spotted by Peter
Velychko, http://marc.theaimsgroup.com/?t=108869758400003&r=1&w=4)
  
  Revision  Changes    Path
  1.14      +5 -2      cocoon-2.1/src/blocks/forms/samples/resources/forms-field-styling.xsl
  
  Index: forms-field-styling.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/resources/forms-field-styling.xsl,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- forms-field-styling.xsl	30 Jun 2004 18:51:48 -0000	1.13
  +++ forms-field-styling.xsl	1 Jul 2004 23:45:45 -0000	1.14
  @@ -368,7 +368,10 @@
         <xsl:when test="fi:value">
           <!-- Has a value (filename): display it with a change button -->
           <span title="{fi:hint}">
  -          [<xsl:value-of select="fi:value"/>] <input type="submit" id="{@id}"
name="{@id}" value="..."/>
  +          <xsl:text>[</xsl:text>
  +          <xsl:value-of select="fi:value"/>
  +          <xsl:text>] </xsl:text>
  +          <input type="button" id="{@id}" name="{@id}" value="..." onclick="forms_submitForm(this)"/>
           </span>
         </xsl:when>
         <xsl:otherwise>
  
  
  

Mime
View raw message