Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 18129 invoked from network); 11 Sep 2003 20:32:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Sep 2003 20:32:30 -0000 Received: (qmail 25902 invoked by uid 500); 11 Sep 2003 20:32:14 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 25880 invoked by uid 500); 11 Sep 2003 20:32:14 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 25867 invoked from network); 11 Sep 2003 20:32:14 -0000 Received: from unknown (HELO web41901.mail.yahoo.com) (66.218.93.152) by daedalus.apache.org with SMTP; 11 Sep 2003 20:32:14 -0000 Message-ID: <20030911203220.95794.qmail@web41901.mail.yahoo.com> Received: from [65.116.199.18] by web41901.mail.yahoo.com via HTTP; Thu, 11 Sep 2003 13:32:20 PDT Date: Thu, 11 Sep 2003 13:32:20 -0700 (PDT) From: Timothy Larson Subject: Re: [RT] Woody dynamic widgets design To: dev@cocoon.apache.org In-Reply-To: <1063308282.1381.396.camel@yum.ot> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 --- Bruno Dumon wrote: > a first quick reaction (the rest will be for tomorrow, have to leave > now): what exactly should be understood here with "dynamic"? > > AFAIU the wd:union is a sort of switch which allows to programatically > enable a set of widgets. The wd:union "switch" can default to having no child widgets and later switch to various sets of child widgets. Constrained only by the list of cases in the union, you can dynamically decide which widgets to create and when to create them. If you keep choosing to create sets of widgets which include union widgets, then you are giving yourself the option grow the widget tree as large as you like. > > However, I thought in earlier mails you were also implying to > dynamically add new widgets (possibly with dynamically created widget > definitions) to form instances. Or does the wd:union solve all your > use-cases? I prefer to direct processes with data instead of code because data is is easier to manipulate. The dynamically created widget definitions were intended as a shortcut before I came up with this design. BTW, the idea of reusing groups of widget and template definitions was inspired by Marc's comments on the xReporter list [1]. I hope I did not mangle his idea too much. > > (will then comment on the rest later on). Thanks. --Tim Larson [1] http://lists.cocoondev.org/cgi-bin/ezmlm-cgi.py?1:msp:701:200307:olglmgpjpkocdbgobele >growing a more dynamic structure as would be required in this >case will call for some advanced flow-handling IMHO (it should >probably assemble itself out of smaller fixed portions with their >own woody-form) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com