Re: Form hidden after updating to orbeon-3.9.0.pre.201103180400-CE
Posted by ncrofts on Mar 19, 2011; 7:27pm
URL: https://discuss.orbeon.com/Form-hidden-after-updating-to-orbeon-3-9-0-pre-201103180400-CE-tp3388622p3390155.html
I found the problem, and in case this affects anyone else post the solution below:
The problem was that I was using a theme based on the file "theme-plain.xsl" from an early 3.8 release. This contained the following extract:
<xhtml:body>
<xsl:apply-templates select="/xhtml:html/xhtml:body/@*"/>
<xsl:apply-templates select="/xhtml:html/xhtml:body/node()"/>
</xhtml:body>
<xsl:for-each select="/xhtml:html/xhtml:head/xhtml:script">
<xsl:element name="xhtml:{local-name()}" namespace="{namespace-uri()}">
<xsl:apply-templates select="@*|node()"/>
</xsl:element>
</xsl:for-each>
The latest 3.9 preview build has the following alternative to this:
<xsl:apply-templates select="/xhtml:html/xhtml:body"/>
<xsl:apply-templates select="/xhtml:html/xhtml:script"/>
I swapped in this code and the forms are visible again.
Regards,
Neil