cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Becker <>
Subject <fd:submit - How to access from xsl?
Date Tue, 14 Jun 2005 14:22:01 GMT

I've got an xsl that is doing the styling, depending of the kind of widget:

<xsl:for-each select="fi:widgets/*">
                <xsl:when test="local-name(.) = 'field'">
                <xsl:when test="local-name(.) = 'submit'">

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:datatype base="string"/>
<fd:submit id="login" required="false">

The forms template-file:
           <ft:widget id="username">
                    <fi:styling size="20"/>
            <ft:widget id="login"/>

Somehow I couldn't spot the error. Any idea what I'm doing wrong?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message