Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 74091 invoked from network); 23 Oct 2004 20:55:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Oct 2004 20:55:28 -0000 Received: (qmail 20756 invoked by uid 500); 23 Oct 2004 20:53:56 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 20694 invoked by uid 500); 23 Oct 2004 20:53:56 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 20678 invoked by uid 99); 23 Oct 2004 20:53:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [137.120.1.4] (HELO um0004.unimaas.nl) (137.120.1.4) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Oct 2004 13:53:55 -0700 Received: by um0004.unimaas.nl (Postfix, from userid 508) id BF18C506D8; Sat, 23 Oct 2004 22:53:52 +0200 (CEST) Received: from mail011.unimaas.nl (mail011.unimaas.nl [137.120.1.42]) by um0004.unimaas.nl (Postfix) with ESMTP id 37699506BC for ; Sat, 23 Oct 2004 22:53:51 +0200 (CEST) Received: by mail011.unimaas.nl with Internet Mail Service (5.5.2653.19) id ; Sat, 23 Oct 2004 22:53:51 +0200 Message-ID: From: H.vanderLinden@MI.unimaas.nl To: users@cocoon.apache.org Subject: RE: JXTemplateGenerator and CForms Date: Sat, 23 Oct 2004 22:53:49 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-UM-Spam-DCC: : X-UM-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on um0004.unimaas.nl X-UM-Spam-Level: X-UM-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_20,NO_REAL_NAME autolearn=no version=2.63 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Have you added the "forms" transformer in your pipeline? The default name is "forms", but you should check your sitemap or root sitemap for the correct name. Basically your pipeline would look like: Generator type="jx" src="mytemplate.jx" Transformer type="forms" Transformer src="myNiftyXSLSheet" Transfomer src="forms-samples-styling" (*) Serialize type="html" (*) to translate fi: into proper HTML widgets, in case you haven't done that in your 'myNifteXSLSheet' HTH Bye, Helma > -----Original Message----- > From: Paul Joseph [mailto:pjoseph_98@yahoo.com] > Sent: Saturday, 23 October 2004 15:38 > To: Cocoon Users > Subject: JXTemplateGenerator and CForms > > > Hi, > > I am trying to use the JXTemplateGenerator with CForms > (Cocoon 2.1.5.1) in order to conditionally display > widgets. > > From the following URL: > http://cocoon.apache.org/2.1/userdocs/forms/templategenerator.html > > I understand that this should be possible as it says: > > > The same "ft:" tags as provided by the template > transformer are also available as macros for the > JXTemplate generator. > > > However when I try this, > (JXTemplateGenerator->XSLT->Serialise), I get > complaints that the ft: tags are not bound.... > > Question: Is it possible to use JXTemplateGenerator > combinded with CForms to conditionally diplay > widgets...and, when using the > JXTemplateGenerator->XSLT->Serialise > approach, how does one bind the CForm widgets? > > thx > Paul > > --------------------------------------------------------------------- > 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