Update of /var/cvs/applications/editwizard/templates/data/xsl
In directory james.mmbase.org:/tmp/cvs-serv29335
Modified Files:
wizard.xsl
Log Message:
made fieldset directly below form-schema behave as on other places. Namely just
a container, if no prompt is indicated
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.189
retrieving revision 1.190
diff -u -b -r1.189 -r1.190
--- wizard.xsl 8 Nov 2008 13:09:58 -0000 1.189
+++ wizard.xsl 28 Nov 2008 16:18:02 -0000 1.190
@@ -13,7 +13,7 @@
@author Nico Klasens
@author Martijn Houtman
@author Robin van Meteren
- @version $Id: wizard.xsl,v 1.189 2008/11/08 13:09:58 michiel Exp $
+ @version $Id: wizard.xsl,v 1.190 2008/11/28 16:18:02 michiel Exp $
This xsl uses Xalan functionality to call java classes
to format dates and call functions on nodes
@@ -502,9 +502,20 @@
</tr>
</xsl:when>
<xsl:when test="name()='fieldset'">
+ <xsl:choose>
+ <xsl:when test="count(prompt) = 0">
+ <xsl:for-each select="field">
+ <tr class="fieldcanvas">
+ <xsl:apply-templates select="."/>
+ </tr>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
<tr class="fieldsetcanvas">
<xsl:apply-templates select="."/>
</tr>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="."/>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs