Hi,
I've got an xsl that is doing the styling, depending of the kind of widget:
<xsl:for-each select="fi:widgets/*">
<xsl:choose>
<xsl:when test="local-name(.) = 'field'">
<dothis/>
</xsl:when>
<xsl:when test="local-name(.) = 'submit'">
<dothat/>
</xsl:when>
...
Somehow the <xsl:when test="local-name(.) = 'submit'"> doesn't work.
Field widgets are "found", but submit-widgets aren't.
The forms definition-file:
...
<fd:field id="username" required="true">
<fd:label>Username:</fd:label>
<fd:datatype base="string"/>
</fd:field>
<fd:submit id="login" required="false">
<fd:label>Login</fd:label>
</fd:submit>
The forms template-file:
...
<fi:group>
<fi:widgets>
<ft:widget id="username">
<fi:styling size="20"/>
</ft:widget>
<ft:widget id="login"/>
</fi:widgets>
</fi:group>
Somehow I couldn't spot the error. Any idea what I'm doing wrong?
Cheers
Jonny
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]