[ http://issues.apache.org/jira/browse/COCOON-1900?page=all ]
Jörg Heinicke closed COCOON-1900.
---------------------------------
Fix Version/s: 2.2-dev (Current SVN)
2.1.10-dev (current SVN)
Resolution: Fixed
> 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
> Assigned To: Jörg Heinicke
> Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>
> 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