Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 45694 invoked from network); 30 Mar 2006 10:41:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2006 10:41:52 -0000 Received: (qmail 81231 invoked by uid 500); 30 Mar 2006 10:41:49 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 81173 invoked by uid 500); 30 Mar 2006 10:41:49 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 81162 invoked by uid 99); 30 Mar 2006 10:41:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 02:41:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 02:41:44 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id 3B60D33B62 for ; Thu, 30 Mar 2006 12:41:20 +0200 (CEST) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22039-05 for ; Thu, 30 Mar 2006 12:41:13 +0200 (CEST) Received: from [10.0.0.27] (poukram.anyware [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id 1DE6333AF8 for ; Thu, 30 Mar 2006 12:41:12 +0200 (CEST) Message-ID: <442BB5C8.5040205@apache.org> Date: Thu, 30 Mar 2006 12:41:12 +0200 From: Sylvain Wallez User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [CForms] Form id not propagated? References: <442B99FE.5010708@apache.org> <442B9DCD.2010708@apache.org> <442BB442.1050404@apache.org> In-Reply-To: <442BB442.1050404@apache.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at anyware-tech.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: > Sylvain Wallez schrieb: > >> Carsten Ziegeler wrote: >> >>> I'm setting the id on a form in the model and it seems that neither >>> the cforms transformer nor the jx macros propagate this id to the >>> resulting html, so a simple >>> >>> is not enough. >>> >>> Currently I have to repeat the id, like: >>> >>> >>> which should be imho unnecessary as the id is already specified in the >>> model. >>> >>> Is this a bug or a mistake on my site? >>> >>> >> Looking at the code, the id attribute is not output when the form has no >> id, but should be produced otherwise... >> > So it should work? Can you point me to the source where this is done? > It's in o.a.c.forms.formmodel.AbstractWidget.getXMLElementAttributes() Sylvain -- Sylvain Wallez http://bluxte.net Apache Software Foundation Member