Temporary experimental change.

This commit is contained in:
sb 2008-10-09 15:50:06 +00:00
parent 2159d3edfc
commit 3a938c797c

View file

@ -9,8 +9,8 @@
Transform ADL into (partial) controller classes Transform ADL into (partial) controller classes
$Author: sb $ $Author: sb $
$Revision: 1.18 $ $Revision: 1.19 $
$Date: 2008-10-02 10:52:40 $ $Date: 2008-10-09 15:50:06 $
--> -->
<!-- WARNING WARNING WARNING: Do NOT reformat this file! <!-- WARNING WARNING WARNING: Do NOT reformat this file!
@ -67,7 +67,7 @@
// //
// Automatically generated abstract super class for controllers for the // Automatically generated abstract super class for controllers for the
// <xsl:value-of select="/adl:application/@name"/> application; generated using // <xsl:value-of select="/adl:application/@name"/> application; generated using
// adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.18 $', 10)"/> // adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.19 $', 10)"/>
// //
// <xsl:value-of select="/adl:application/@revision"/> // <xsl:value-of select="/adl:application/@revision"/>
// //
@ -135,7 +135,7 @@
// //
// Controller for auto-generated forms for editing <xsl:value-of select="@name"/>s // Controller for auto-generated forms for editing <xsl:value-of select="@name"/>s
// Automatically generated from application description using // Automatically generated from application description using
// adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.18 $', 10)"/> // adl2controllerclasses.xslt version <xsl:value-of select="substring( '$Revision: 1.19 $', 10)"/>
// //
// This file is automatically generated; DO NOT EDIT IT. // This file is automatically generated; DO NOT EDIT IT.
// //
@ -1143,8 +1143,8 @@
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:message terminate="yes"> <xsl:message terminate="yes">
ADL: Error: keys of type <xsl:value-of select="$basetype"/> cannot yet be used ADL: Error: properties of type <xsl:value-of select="$basetype"/> cannot yet be used
in links in equality tests
</xsl:message> </xsl:message>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose>) </xsl:choose>)
@ -1164,6 +1164,9 @@
<xsl:when test="$basetype='string' or $basetype='text'"> <xsl:when test="$basetype='string' or $basetype='text'">
Expression.Like( "<xsl:value-of select="@name"/>", "%"+<xsl:value-of select="$value"/>+"%") Expression.Like( "<xsl:value-of select="@name"/>", "%"+<xsl:value-of select="$value"/>+"%")
</xsl:when> </xsl:when>
<xsl:when test="$basetype='real'">
/* not yet set up to generate 'like' for reals - fix this */
</xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:call-template name="hibernate-expression-eq"> <xsl:call-template name="hibernate-expression-eq">
<xsl:with-param name="property" select="$property"/> <xsl:with-param name="property" select="$property"/>