diff options
Diffstat (limited to 'src/codegen')
-rw-r--r-- | src/codegen/properties.xsl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl index a787e93e2..1c3a6fd98 100644 --- a/src/codegen/properties.xsl +++ b/src/codegen/properties.xsl @@ -1003,7 +1003,15 @@ public class </xsl:text> <xsl:param name="lrtb"/> <xsl:param name="rltb"/> <xsl:param name="tbrl"/> - <xsl:text>propertyList.wmMap(Constants.PR_</xsl:text> + <xsl:choose> + <xsl:when test="parwmrel2abs"> + <xsl:text>parentFO.propertyList</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>propertyList</xsl:text> + </xsl:otherwise> + </xsl:choose> + <xsl:text>.wmMap(Constants.PR_</xsl:text> <xsl:apply-templates mode="x"> <xsl:with-param name="dir" select='$lrtb'/> </xsl:apply-templates> |