Mark Lundquist wrote:

Hello Cocoon dev-dudes,

Believe it or not, people may sometimes still want or need to do some client-side Javascript stuff... :-)

I set a window.onload handler in some client-side Javascript, but it got stomped by the
<body onload="forms_onload">
added by the forms stylesheet.


Works here - due to:
<xsl:template match="body" mode="forms-field">
<xsl:attribute name="onload">forms_onload(); <xsl:value-of select="@onload"/></xsl:attribute>
</xsl:template>


in the stylesheet.


Vadim



Reply via email to