Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 89156 invoked from network); 25 Nov 2003 13:38:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Nov 2003 13:38:28 -0000 Received: (qmail 21932 invoked by uid 500); 25 Nov 2003 13:38:17 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 21912 invoked by uid 500); 25 Nov 2003 13:38:17 -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 21898 invoked from network); 25 Nov 2003 13:38:16 -0000 Received: from unknown (HELO mail.fridayfives.net) (209.137.167.162) by daedalus.apache.org with SMTP; 25 Nov 2003 13:38:16 -0000 Received: from kamajii.forthill.int (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 89B571F433 for ; Tue, 25 Nov 2003 08:38:17 -0500 (EST) Received: from forthillcompany.com (kite.forthill.int [192.168.1.30]) by mail.fridayfives.net (Postfix) with ESMTP id 616E51F425 for ; Tue, 25 Nov 2003 08:38:17 -0500 (EST) Date: Tue, 25 Nov 2003 08:38:16 -0500 Subject: Re: JXTemplate and Woody Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Brian McCallister To: users@cocoon.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <002401c3b355$4e560c40$1e01a8c0@WRPO> Message-Id: <9FE36314-1F4C-11D8-8C57-000A95782782@forthillcompany.com> X-Mailer: Apple Mail (2.553) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hmm, not bad. Just pass into each page everything that it needs. I would prefer to encapsulate that somehow than pass around maps all the time, but... maps an scripting languages do go hand in hand =) I am still working my noggin around building applications with FlowScript. It makes lots of sense conceptually but I don't have the mental set quite yet. Your technique requires a FlowScript control for every page -- I had been using it only where it was more than a one-shot render. Need to adjust my thinking some. On Tuesday, November 25, 2003, at 08:09 AM, Reinhard Poetz wrote: > Yes, you are right. On the other hand you can do something like > > > var user; > > function login() { > user = new User(); > } > > function myFunc() { > cocoon.sendPage( "myPipeline", {user : user} ); > } > > *one* sitemap. This should also mean that you your persistence layer > (in > your case OJB, isn't it ;-) is not queried any more. Actually in this case it is an ldap. I haven't used JNDI for very complicated things in the past so once I get better at it and grok the idioms I may do an ldap backend for OJB ;-) Thank you! -Brian --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org