cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Langisch <>
Subject Troubles with Ajax (fd:suggestion-list)
Date Wed, 23 Aug 2006 07:46:53 GMT

I try to get a simple Ajax sample running but I have some troubles.

My sample consists of a fd:suggestion-list as follows:

        <fd:field id="path">
            <fd:datatype base="string"/>
                <fd:item value="aaa"/>
                <fd:item value="abb"/>
                <fd:item value="abc"/>
                <fd:item value="acc">
                        The last one

I also followed the notes about Ajax on the Cocoon site:

The selection list I'd like to see on my form is displayed as a normal
textfield without any interactivity. In the Coccoon samples I saw that
there is a matching rule for the asynchronous Ajax request in the

<map:match pattern="_cocoon/forms/suggest">
<map:generate type="suggestion-list"/>
<map:transform type="i18n"/>
<map:serialize type="text"/>

Do I need this too for my static list? And where does this
'_cocoon/forms/suggest' comes from? Currently I just have a match rule
defined for the POST action of my form.

Any help is greatly appreciated!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message