Update of /var/cvs/applications/editwizard/templates/data/xsl
In directory james.mmbase.org:/tmp/cvs-serv29966/templates/data/xsl

Modified Files:
        wizard.xsl 
Log Message:
smalle new feature: you can group a few list's with a 'listset'. This allows 
for nicer inclusion-possiblities


See also: 
http://cvs.mmbase.org/viewcvs/applications/editwizard/templates/data/xsl


Index: wizard.xsl
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/data/xsl/wizard.xsl,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -b -r1.190 -r1.191
--- wizard.xsl  28 Nov 2008 16:18:02 -0000      1.190
+++ wizard.xsl  28 Nov 2008 16:51:01 -0000      1.191
@@ -13,7 +13,7 @@
     @author Nico Klasens
     @author Martijn Houtman
     @author Robin van Meteren
-    @version $Id: wizard.xsl,v 1.190 2008/11/28 16:18:02 michiel Exp $
+    @version $Id: wizard.xsl,v 1.191 2008/11/28 16:51:01 michiel Exp $
 
     This xsl uses Xalan functionality to call java classes
     to format dates and call functions on nodes
@@ -487,7 +487,7 @@
   -->
 
   <xsl:template match="form">
-    <xsl:for-each select="fieldset|field|list">
+    <xsl:for-each select="listset|fieldset|field|list">
       <xsl:choose>
         <xsl:when test="name()='field'">
           <tr class="fieldcanvas">
@@ -517,6 +517,15 @@
             </xsl:otherwise>
           </xsl:choose>
         </xsl:when>
+        <xsl:when test="name()='listset'">
+          <xsl:for-each select="./list">
+            <tr class="listcanvas">
+              <td colspan="2">
+                <xsl:apply-templates select="."/>
+              </td>
+            </tr>
+              </xsl:for-each>
+        </xsl:when>
         <xsl:otherwise>
           <xsl:apply-templates select="."/>
         </xsl:otherwise>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to