You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Antonio Gallardo (JIRA)" <ji...@apache.org> on 2007/02/22 17:18:06 UTC

[jira] Closed: (COCOON-2013) MultivalueEditorWithSuggestion, extended multivalueeditor widget with suggestion

     [ https://issues.apache.org/jira/browse/COCOON-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Gallardo closed COCOON-2013.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2-dev (Current SVN)
                   2.1.11-dev (Current SVN)

Patch applied with minor changes. Please cross check and reopen the issue if needed. Many thanks for the patch.

> MultivalueEditorWithSuggestion, extended multivalueeditor widget with suggestion
> --------------------------------------------------------------------------------
>
>                 Key: COCOON-2013
>                 URL: https://issues.apache.org/jira/browse/COCOON-2013
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: Ajax, Blocks: Forms
>    Affects Versions: 2.1.10
>            Reporter: Larry Ruiz
>         Assigned To: Antonio Gallardo
>            Priority: Minor
>             Fix For: 2.1.11-dev (Current SVN), 2.2-dev (Current SVN)
>
>         Attachments: multivalueeditor_with_suggestion_patch.txt, multivalueeditor_with_suggestion_patch_sample_patch.txt
>
>
> Enhance multivalueeditor with suggestion
> in definition:
> 	    <fd:multivaluefield id="contacts">
>     	     <fd:label>Contacts</fd:label>
> 	      <fd:hint>Select the contacts</fd:hint>
>     	     <fd:datatype base="long" />
> 	    </fd:multivaluefield> 
> in template:
>       <ft:widget id="contacts">
> 	<fi:styling type="MultiValueEditorWithSuggestion" dataUrl="_cocoon/forms/suggest/contacts"/>
>       </ft:widget>
> then it need a matcher that return data in json format for this url "_cocoon/forms/suggest/contacts" default dataUrl got it from "_cocoon/forms/suggest/" + widgetId, at least that one is specified.
> the patches include widget implementation code and samples.

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