cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r106769 - /cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl
Date Sat, 27 Nov 2004 23:18:25 GMT
Author: sylvain
Date: Sat Nov 27 15:18:24 2004
New Revision: 106769

URL: http://svn.apache.org/viewcvs?view=rev&rev=106769
Log:
reinstall link style for actions, that got lost while syncing
Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl?view=diff&rev=106769&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl&r1=106768&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl&r2=106769
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-field-styling.xsl
Sat Nov 27 15:18:24 2004
@@ -320,6 +320,16 @@
     </input>
   </xsl:template>
 
+  <!--+ 
+      | fi:action, link-style 	 
+      +--> 	 
+  <xsl:template match="fi:action[fi:styling/@type = 'link']" priority="1"> 	 
+    <a title="{fi:hint}" href="#" onclick="forms_submitForm(this, '{@id}'); return false">
	 
+      <xsl:apply-templates select="." mode="styling"/> 	 
+      <xsl:copy-of select="fi:label/node()"/> 	 
+    </a>
+  </xsl:template>
+
   <!--+
       | fi:continuation-id : produce a hidden "continuation-id" input
       +-->

Mime
View raw message