Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 79873 invoked from network); 22 Sep 2004 20:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Sep 2004 20:04:07 -0000 Received: (qmail 60612 invoked by uid 500); 22 Sep 2004 20:04:03 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 60516 invoked by uid 500); 22 Sep 2004 20:04:02 -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 60486 invoked by uid 99); 22 Sep 2004 20:04:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [213.228.0.169] (HELO postfix3-2.free.fr) (213.228.0.169) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Sep 2004 13:04:01 -0700 Received: from [192.168.0.100] (lns-vlq-39f-81-56-134-235.adsl.proxad.net [81.56.134.235]) by postfix3-2.free.fr (Postfix) with ESMTP id EEBCAC223 for ; Wed, 22 Sep 2004 22:03:56 +0200 (CEST) Message-ID: <4151DAAE.1040408@apache.org> Date: Wed, 22 Sep 2004 22:03:58 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Widget states: let's do it (was Re: CForms making widgets invisible) References: <41514D5B.20709@juwimm.com> <415186AA.50601@apache.org> <415195F7.3010805@reverycodes.com> <4151A003.1080004@apache.org> <4151CA86.8040400@reverycodes.com> In-Reply-To: <4151CA86.8040400@reverycodes.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Vadim Gritsenko wrote: > Sylvain Wallez wrote: > >> And now, with "enabled"/"disabled"/"invisible"? > > > I guess I'm Ok with that; can you also comment how it relates to: > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108981424626685 > > > Your proposal seems to differ a bit by mixing presentation and > input/output concern - I guess there is a reason for this too :) My proposal is only about what data comes in a out from the form model. The state certainly impacts how it is displayed, but this can be further refined in the view. For example Tim's "inline" and "disabled" proposal are two possible stylings of a disabled widget, in the same manner than an enabled widget that can have the "hidden" styling. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }