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, '[EMAIL 
PROTECTED]'); 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
       +-->

Reply via email to