cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez (JIRA) <>
Subject [jira] Commented: (COCOON-2186) Suggest list .. initial value not being displayed
Date Mon, 31 Mar 2008 08:00:25 GMT


Carlos Chávez commented on COCOON-2186:

Hi Imran.
Hi All.

I figure out that the issue is because some method on dojo is setting the mimetype to "text/json"
instead "text/json-comment-filtered". This need to be fixed by Dojo team, i think.

On the cocoon site we need to wrap the JSON array wit h /* */ and set the mimetype in the
json serializer to "text/json-comment-filtered" instead "text/javascript".

I posted a message about this on the dojo forum see:

Now, we are using a legacy version of dojo and i checked the code in the trunk of dojo and
it seems like even if we update the dojo version the issue it will still there because the
method in the dojo trunk still setting the mimetype as "text/json".

meanwhile i think we can rewrite the dojo.widget.incrementalComboBoxDataProvider, but this
is a hack. 

> Suggest list .. initial value not being displayed 
> --------------------------------------------------
>                 Key: COCOON-2186
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Ajax, Blocks: Forms
>    Affects Versions: 2.1.11
>            Reporter: imran pariyani
>            Priority: Minor
> For the forms field of type suggest with a suggestion list the initial value is not being
displayed ... this dint happen for version 2.1.10 .. but when i upgraded to version 2.1.11
it no longer sets the initial value .. this bug is also present for the sample 
> Initial value of the widget is 16, the widget must show "Bruno Dumon".  
> <fd:datatype base="integer"/>
>       <fd:initial-value>16</fd:initial-value>
>       <fd:suggestion-list type="javascript">
> after debugging i found out that the widgets value is being set but it isnt passed on
to DOJO as initial value when the DOJO widget is created ..

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message