cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vincent Demay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1858) [PATCH]on-value-change does not work on suggestion list
Date Tue, 20 Jun 2006 07:32:30 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1858?page=comments#action_12416858 ] 

vincent Demay commented on COCOON-1858:
---------------------------------------

Dojo ComboBox widget does not support additional event so if we can not customize Dojo sources
I don't know how we can fix this bug for the moment

I will try to looking for another fix when I will have some free time...

> [PATCH]on-value-change does not work on suggestion list
> -------------------------------------------------------
>
>          Key: COCOON-1858
>          URL: http://issues.apache.org/jira/browse/COCOON-1858
>      Project: Cocoon
>         Type: Bug

>   Components: Blocks: Forms
>     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.
-
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


Mime
View raw message