addition to xforms-widgets.xsl

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

addition to xforms-widgets.xsl

Alexander Žaťko
Maybe other people could find it useful to add a new object type into the widget collection - widget footer. I placed "Cancel" and "Save" buttons in there to make them appear on every tab-screen with their horizontal position automatically constrained by the dimensions of the parent tab table. I placed the following snippet just below the <!-- Main area with the switch --> row into the xforms-widgets.xsl

<xsl:if test="widget:footer">
    <xhtml:tr>
        <xhtml:td class="widget-tabs-panel" colspan="{count(widget:tab) * 4 + 1}">
            <xsl:copy-of select="widget:footer"/>
        </xhtml:td>
    </xhtml:tr>
</xsl:if>

A.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws