cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Högqvist <>
Subject Auth taglib with WML
Date Thu, 12 Apr 2001 09:54:39 GMT

I have a site that is supposed to show different features of cocoon for my colleges. There
I have a login-form that uses auth taglib (with jdbctable). Now I want to do a WAP-version
of this site, but I don't know how to convert the login-form so it matches WML syntax.

Here is the form in the xsl stylesheet for html:
<xsl:template match="form">
 <form action="{@url}" method="POST">
   <tr><td colspan="2" align="center">
   <input type="submit" name="authlogin" value="{@authlogin}"/>
   <input type="hidden" name="authlogin" value=""/>

<xsl:template match="forminputfield">
 <td align="left"><xsl:value-of select="name"/>:</td>
 <td align="right">
 <xsl:variable name="type">
   <xsl:when test="@type"><xsl:value-of select="@type"/></xsl:when>
 <input type="{$type}" name="{param}" size="30" value=""/>

Is there someone that can help me?

/Anders Högqvist

View raw message