Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 53323 invoked from network); 25 May 2005 11:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2005 11:46:46 -0000 Received: (qmail 89603 invoked by uid 500); 25 May 2005 11:46:39 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 89580 invoked by uid 500); 25 May 2005 11:46:39 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 89566 invoked by uid 99); 25 May 2005 11:46:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.aim-ag.com (HELO io.aim-ag.com) (193.154.31.84) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 25 May 2005 04:46:37 -0700 Received: by io.aim-ag.com with Internet Mail Service (5.5.2653.19) id ; Wed, 25 May 2005 13:46:34 +0200 Message-ID: From: Lutz Thomas To: users@cocoon.apache.org Subject: Forms binding: update flag for changed values Date: Wed, 25 May 2005 13:46:33 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5611F.65F2F970" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5611F.65F2F970 Content-Type: text/plain Hi everybody ! My cocoon app is a frontend to a db storing historic data. As my database layer is capable of storing xml trees, basically all I have to do is to bind the forms to my xml schema, hit save, get the xml and store it to the db. When I edit a tree's node via a forms repeater, I have to create historic records for all changed nodes. This makes it necessary to diff old vs. new data... So I need to flag all updated values, e.g. using an attribute. I had a look at the binding sources, there is a check wether the value has changed, but the resulting Boolean is debugged only... Is there a solution out there ? Or are there plans for a future release of cocoon supporting this "mark updates" feature ? Best regards, tom ------_=_NextPart_001_01C5611F.65F2F970 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hi everybody !

 

My cocoon app is a frontend to a db storing = historic data. As my database layer is capable of storing xml trees, basically = all I have to do is to bind the forms to my xml schema, hit save, get the xml = and store it to the db. When I edit a tree’s node via a forms = repeater, I have to create historic records for all changed nodes. This makes it = necessary to diff old vs. new data…

 

So I need to flag all updated values, e.g. = using an attribute. I had a look at the binding sources, there is a check wether = the value has changed, but the resulting Boolean is debugged = only…

 

Is there a solution out there ? Or are there = plans for a future release of cocoon supporting this “mark = updates” feature ?

 

Best regards,

tom

 

 

 

 

------_=_NextPart_001_01C5611F.65F2F970--