Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 52864 invoked from network); 23 Aug 2006 08:32:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 08:32:06 -0000 Received: (qmail 26818 invoked by uid 500); 23 Aug 2006 08:31:59 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 26708 invoked by uid 500); 23 Aug 2006 08:31:59 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 26669 invoked by uid 99); 23 Aug 2006 08:31:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 01:31:58 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.8.217.2] (HELO mail.s-und-n.de) (212.8.217.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 01:31:58 -0700 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id 0808C19FD85 for ; Wed, 23 Aug 2006 10:31:35 +0200 (CEST) Subject: Antwort: Troubles with Ajax (fd:suggestion-list) To: users@cocoon.apache.org X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000 Message-ID: From: fhagen@s-und-n.de Date: Wed, 23 Aug 2006 10:31:57 +0200 X-MIMETrack: Serialize by Router on PBSN1/Systeme und Netzwerke(Release 6.5.3|September 14, 2004) at 23.08.2006 10:31:57 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Yves, yes, the entry in the sitemap is needed. //a new generator has to be de= fined at the sitemap components (see below) //comes from the cocoon-forms-block.jar Definition of the generator: At the "forms-advanced-field-styling.xls" you need these lines of code:= And now you define your suggestion-list in the forms-template like this= : You also need this in your form-template: and within the forms - tag: Hope that will help. Freundliche Gr=FC=DFe / With kind regards Fabian Hagen S&N AG Klingenderstr. 5 D 33100 Paderborn voice +49 5251/1581- 0 fax +49 5251/1581-71 eMail fhagen@s-und-n.de web http://www.s-und-n.de |---------+---------------------------> | | Yves Langisch | | | | | | | | | 23.08.2006 09:46| | | Bitte antworten | | | an users | | | | |---------+---------------------------> >--------------------------------------------------------------------= -----------------------------------------------------------| | = | | An: users@cocoon.apache.org = | | Kopie: = | | Thema: Troubles with Ajax (fd:suggestion-list) = | >--------------------------------------------------------------------= -----------------------------------------------------------| Hi, I try to get a simple Ajax sample running but I have some troubles. My sample consists of a fd:suggestion-list as follows: The last one I also followed the notes about Ajax on the Cocoon site: http://cocoon.apache.org/2.1/userdocs/ajax.html 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 sitemap: 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! Thanks Yves --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org = --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org