[ http://issues.apache.org/jira/browse/COCOON-1900?page=comments#action_12439440 ] Gabriele Columbro commented on COCOON-1900: -------------------------------------------
Patch must be applied to resolve the issue (IMHO it's worth) > BUG in forms-field-styling.xsl > ------------------------------ > > Key: COCOON-1900 > URL: http://issues.apache.org/jira/browse/COCOON-1900 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Forms > Reporter: johnson hsu > Attachments: forms-field-styling.diff > > > <xsl:template match="fi:[EMAIL PROTECTED]'output' or > fi:styling/@type='output']" priority="3"> > <input id="[EMAIL PROTECTED]" type="checkbox" title="{fi:hint}" > disabled="disabled" > value="[EMAIL PROTECTED]"> > <xsl:if test="fi:value != 'false'"> > <xsl:attribute name="checked">checked</xsl:attribute> > </xsl:if> > </input> > </xsl:template> > must add a name attribute. > <xsl:template match="fi:[EMAIL PROTECTED]'output' or > fi:styling/@type='output']" priority="3"> > <input id="[EMAIL PROTECTED]" type="checkbox" title="{fi:hint}" > disabled="disabled" > value="[EMAIL PROTECTED]" name="[EMAIL PROTECTED]"> > <xsl:if test="fi:value != 'false'"> > <xsl:attribute name="checked">checked</xsl:attribute> > </xsl:if> > </input> > </xsl:template> > Without the name attribute, It's not convenient to find the value of checkbox > by script. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
