cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r106770 - /cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml /cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl /cocoon/trunk/status.xml
Date Sat, 27 Nov 2004 23:19:10 GMT
Author: sylvain
Date: Sat Nov 27 15:19:09 2004
New Revision: 106770

URL: http://svn.apache.org/viewcvs?view=rev&rev=106770
Log:
new styling of type 'link' for actions
Modified:
   cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml
   cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl
   cocoon/trunk/status.xml

Modified: cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml?view=diff&rev=106770&p1=cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml&r1=106769&p2=cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml&r2=106770
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml	(original)
+++ cocoon/trunk/src/blocks/forms/samples/forms/tasktree.xml	Sat Nov 27 15:19:09 2004
@@ -37,6 +37,7 @@
         </fd:repeater>
         <fd:repeater-action id="addsub" repeater="tasks" action-command="add-row">
           <fd:label>Add subtasks</fd:label>
+	  <fd:hint>Creates a task subtree</fd:hint>
         </fd:repeater-action>
       </fd:widgets>
     </fd:class>

Modified: cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl?view=diff&rev=106770&p1=cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl&r1=106769&p2=cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl&r2=106770
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl	(original)
+++ cocoon/trunk/src/blocks/forms/samples/resources/forms-field-styling.xsl	Sat Nov 27 15:19:09
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
       +-->

Modified: cocoon/trunk/status.xml
Url: http://svn.apache.org/viewcvs/cocoon/trunk/status.xml?view=diff&rev=106770&p1=cocoon/trunk/status.xml&r1=106769&p2=cocoon/trunk/status.xml&r2=106770
==============================================================================
--- cocoon/trunk/status.xml	(original)
+++ cocoon/trunk/status.xml	Sat Nov 27 15:19:09 2004
@@ -431,6 +431,10 @@
    </action>
  </release>
  <release version="2.1.7" date="TBD">
+   <action dev="SW" type="add">
+     CForms: add a new "link" styling for action widgets, that renders the action
+     as an hypertext link.
+   </action>
    <action dev="RG" type="update" fixes-bug="28360" due-to="Nico Verwer" due-to-email="nverwer@email.com">
      DateInputModule now accepts date format string when specified in a sitemap.
    </action>

Mime
View raw message