Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 53223 invoked by uid 500); 30 Jul 2003 01:22:17 -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 53204 invoked from network); 30 Jul 2003 01:22:16 -0000 Received: from vamana-60.cablenet.com.ni (HELO ags01.agsoftware.dnsalias.com) (216.6.48.60) by daedalus.apache.org with SMTP; 30 Jul 2003 01:22:16 -0000 Received: from ags01.agsoftware.dnsalias.com (localhost [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.8/8.12.8) with ESMTP id h6U1MNom023644 for ; Tue, 29 Jul 2003 19:22:23 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.8/8.12.8/Submit) id h6U1MNQv023642; Tue, 29 Jul 2003 19:22:23 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agsoftware.dnsalias.com using -f Received: from 10.0.0.5 (SquirrelMail authenticated user agallardo) by ags01.agsoftware.dnsalias.com with HTTP; Tue, 29 Jul 2003 19:22:23 -0600 (CST) Message-ID: <32840.10.0.0.5.1059528143.squirrel@ags01.agsoftware.dnsalias.com> Date: Tue, 29 Jul 2003 19:22:23 -0600 (CST) Subject: Re: [RT] Woody and round trip of parameters. From: "Antonio Gallardo" To: In-Reply-To: <1059488377.699.262.camel@yum.ot> References: <36708.10.0.0.5.1059484024.squirrel@ags01.agsoftware.dnsalias.com> <1059488377.699.262.camel@yum.ot> X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bruno Dumon dijo: > On Tue, 2003-07-29 at 15:07, Antonio Gallardo wrote: >> Hi: >> >> I had a concern about how to manage parameters that are flying between >> the server and the client. >> >> It will worth if we have an attribute in the form that define when we >> are waiting or not for a parameter back from the user? > > do you mean something like read-only fields? Yep, read-only fields. As a read-only field we does not need to send it back to the server since the fields are no persistent at all. > >> >> I know woody has some formulas, I was not full review woody. :) >> >> I was thinking in some type of "formulas" or "equations" that we can >> send to woody and let woody calculate them. > > sending formulas to woody? Me understand not :-) Aha. For example in the invoice example (below) some fields are formulas (not persistent): Amount = Quantity * Unit Price; Subtotal = Sum(Amount); Total = Subtotal + shipping; As this kind of info is more related to the form than to the model. I think woody can handle this. What you think? Best Regards, Antonio Gallardo > >> ie: a tipical invoice >> (master-detail): >> >> Date: 29-jul-2003 N� 2300 >> Client: Cocoon >> >> ------------------------------------------- >> Quantity Item Unit Price Amount >> ------------------------------------------- >> 2 pen $1.00 2.00 >> 1 pencil $0.50 0.50 >> ------------------------------------------- >> Subtotal: 2.50 >> Shipping: 1.00 >> Total: 3.50 >>