Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 77411 invoked from network); 19 Jun 2006 10:00:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jun 2006 10:00:03 -0000 Received: (qmail 8584 invoked by uid 500); 19 Jun 2006 10:00:02 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 8059 invoked by uid 500); 19 Jun 2006 09:59:59 -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 Delivered-To: moderator for dev@cocoon.apache.org Received: (qmail 6902 invoked by uid 99); 19 Jun 2006 09:56:55 -0000 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) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: RE: [CForms] Tree widget based on XML document Date: Mon, 19 Jun 2006 11:56:29 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [CForms] Tree widget based on XML document Thread-Index: AcaStjKePwbvhFEuTEqrJ+qRaQO4VAAz8tXQ From: "Martijn C. Vos" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Bruno Dumon [mailto:bruno@outerthought.org] wrote: >=20 > > I think Cocoon only needs one tree model and that is a tree=20 > > model based on > > XML. The selection-list widget has the possibility to=20 > > declare static content > > in the form definition and can also refer to an xml=20 > > document in the src > > attribute. Something like that would be nice for the tree widget. >=20 > I don't see why the tree widget should be limited to XML models only, > the selection list isn't limited to that either (see e.g. the jxpath > selection list). Dictating to use XML would again require needless > conversions from Java to XML when it is not needed. I don't think it should necessarily be the only one, but it definitely should be the default tree. Everything can be converted to XML, and Cocoon is designed around XML. The only reason to use something else is to skip a conversion step and save a bit of time, but unlike the current trees, a good XML tree can do anything. mcv.