Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 2172 invoked from network); 22 Sep 2007 14:31:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Sep 2007 14:31:42 -0000 Received: (qmail 19642 invoked by uid 500); 22 Sep 2007 14:31:31 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 19570 invoked by uid 500); 22 Sep 2007 14:31:31 -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 19559 invoked by uid 99); 22 Sep 2007 14:31:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2007 07:31:31 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.52.162.130] (HELO mx11.mesanetworks.net) (74.52.162.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2007 14:31:28 +0000 Received: (qmail 24283 invoked by uid 509); 22 Sep 2007 08:31:05 -0600 Received: from 65.175.0.109 by mx11.mesanetworks.net (envelope-from , uid 508) with qmail-scanner-1.25-st-qms (clamdscan: 0.87/2133. spamassassin: 3.0.6. perlscan: 1.25-st-qms. Clear:RC:1(65.175.0.109):. Processed in 0.040222 secs); 22 Sep 2007 14:31:05 -0000 X-Antivirus-MESANETWORKS-Mail-From: cocoon@lojjic.net via mx11.mesanetworks.net X-Antivirus-MESANETWORKS: 1.25-st-qms (Clear:RC:1(65.175.0.109):. Processed in 0.040222 secs Process 24277) Received: from 65-175-0-109.static.mesanetworks.net (HELO ?192.168.0.40?) (65.175.0.109) by mx11.mesanetworks.net with SMTP; 22 Sep 2007 08:31:05 -0600 Message-ID: <46F52729.9050205@lojjic.net> Date: Sat, 22 Sep 2007 08:31:05 -0600 From: Jason Johnston User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: forms with ajax and cinclude References: <200709211608.AA319881486@besonet.ch> In-Reply-To: <200709211608.AA319881486@besonet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org cocoon.erard wrote: > Hi, > > I've another problem in my application. > > I've extracted a piece of my form template in a separate xml to have a module that can be reused. > > With this include Iinclude the commented part into my template. > > In the form I enabled ajax, and when I have Errors while the validation this errors aren't shown > in browser for the included part. The rest is working. > > Regards, > > Mike > > > > ... > > > > > So looking at the order of execution here... first you have your JX generator, which processes all the ft:* elements. And then you cinclude another set of ft:* elements, but it's too late for them to be processed! I think that explains what you're seeing. You might be able to achieve what you want by removing the cinclude step and using a jx:import of the same URI in your template. That should pull in the external content and process it as JX at the same time. > > > > > > > > > > > > > ____________________________________________ > QuickLine WebMail - http://www.QuickLine.com > > --------------------------------------------------------------------- > 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