cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Déflache (JIRA) <j...@apache.org>
Subject [jira] Commented: (COCOON-1858) [PATCH]on-value-change does not work on suggestion list
Date Thu, 03 Aug 2006 08:50:14 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1858?page=comments#action_12425469 ] 
            
Guillaume Déflache commented on COCOON-1858:
--------------------------------------------

It does make sense to me! Vincent, what do you think?

Anyway maybe the 1st simple styling issue could be commited separately?

> [PATCH]on-value-change does not work on suggestion list
> -------------------------------------------------------
>
>                 Key: COCOON-1858
>                 URL: http://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.
-
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