You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jörg Heinicke (JIRA)" <ji...@apache.org> on 2008/06/10 04:03:45 UTC
[jira] Commented: (COCOON-1858) [PATCH]on-value-change does not
work on suggestion list
[ https://issues.apache.org/jira/browse/COCOON-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603751#action_12603751 ]
Jörg Heinicke commented on COCOON-1858:
---------------------------------------
What's missing here? Is it still an issue after all? We are using more recent Dojo versions, Jeremy is working on the next one as far as I remember.
> [PATCH]on-value-change does not work on suggestion list
> -------------------------------------------------------
>
> Key: COCOON-1858
> URL: https://issues.apache.org/jira/browse/COCOON-1858
> Project: Cocoon
> Issue Type: Bug
> Components: Blocks: Forms
> Affects Versions: 2.1.9
> Reporter: Vincent Demay
> Attachments: ComboBox.js, ComboBox.js
>
>
> on-value-change does not work on suggestion list : there are to issues :
> 1 - submit on change is not setted on the widget in form-advanced-field-styling.xsl :
> Here is the patch :
> --- sample/forms-advanced-field-styling.xsl 2006-06-07 14:51:27.809216500 +0
> 200
> +++ sample/forms-advanced-field-styling.new.xsl 2006-06-07 14:52:04.293358000 +0
> 200
> @@ -272,6 +272,7 @@
> <xsl:template match="fi:field[fi:styling/@type='suggest' and @state='active']">
> <span id="{@id}">
> <input name="{@id}" id="{@id}:input" value="{fi:value}" dojoType="CFormsSuggest">
> + <xsl:apply-templates select="." mode="styling"/>
> <xsl:if test="fi:suggestion">
> <xsl:attribute name="suggestion"><xsl:value-of select="fi:suggestion"/></xsl:attribute>
> </xsl:if>
> 2 - dojo Widget does not support onchange (see bug : http://trac.dojotoolkit.org/ticket/897)
> So I change the dojo file src/widget/html/ComboBox.js
> The new file is in Attachement (and patch in dojo tracker)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.