Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 34095 invoked from network); 24 Feb 2007 11:09:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2007 11:09:27 -0000 Received: (qmail 70910 invoked by uid 500); 24 Feb 2007 11:09:30 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 70833 invoked by uid 500); 24 Feb 2007 11:09:29 -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 70822 invoked by uid 99); 24 Feb 2007 11:09:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Feb 2007 03:09:29 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of andrewmadu@gmail.com designates 64.233.162.229 as permitted sender) Received: from [64.233.162.229] (HELO nz-out-0506.google.com) (64.233.162.229) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Feb 2007 03:09:18 -0800 Received: by nz-out-0506.google.com with SMTP id r28so681587nza for ; Sat, 24 Feb 2007 03:08:57 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=U3JnWC2X5wubVjUmm+HgRKj1xy0UuaUx2+uIcFt/7syrbaxw/B72Z9suC9MzQhWb2EtCpjGIKmTV6rGw0c+qxbTwDBWBuOGJnTs7KmruS5QQizzQgC4HM/XeYgtzV2+gVvtsr7xz8t+AwIyS5JsWwMJKphQuUL725d+SOR2ppnw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=H7U0x9B8rahSxVd3R6aj6NDwEpMkNLyiSljb9xCrwvjty9ppyi9MrLTCyrb+TRHF0Qlkk/EyO/eiuBNkii8GCm0I+tu/tUdQVckWdKaPQw6dj+yJsA29I8VLjGEvpiuX5xOCGgyKuKZMFlNV6hn6mqPauPb6DR5Tyj0DVVgvrsU= Received: by 10.114.25.3 with SMTP id 3mr689857way.1172315337366; Sat, 24 Feb 2007 03:08:57 -0800 (PST) Received: by 10.114.123.11 with HTTP; Sat, 24 Feb 2007 03:08:57 -0800 (PST) Message-ID: Date: Sat, 24 Feb 2007 11:08:57 +0000 From: "Andrew Madu" To: users@cocoon.apache.org Subject: Class Object binding MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_72754_6690281.1172315337298" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_72754_6690281.1172315337298 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, could someone please tell me whether it is possible to bind 2 class objects together in flow in much the same way as I can bind a form object and a class object together? If so you could you show me some examples of how to do it and what structure my bind document would take. For example is it possible to do: var objectTopopulate = new failedOrderReport(); objectTopopulate.createBinding("my_bind_document"); objectTopopulate.load(currentUserOrderObj); objectTopopulate.saveNewFailedUserOrder(objectTopopulate); I wish to have a tidier means of doing obj1.setVal(obj2.getVal). -- Regards Andrew ------=_Part_72754_6690281.1172315337298 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
could someone please tell me whether it is possible to bind 2 class objects together in flow in much the same way as I can bind a form object and a class object together? If so you  could you show me some examples of how to do it and what structure my bind document would take. For example is it possible to do:

var objectTopopulate = new failedOrderReport();
objectTopopulate.createBinding("my_bind_document");
objectTopopulate.load(currentUserOrderObj);

objectTopopulate.saveNewFailedUserOrder(objectTopopulate);

I wish to have a tidier means of doing obj1.setVal(obj2.getVal).

--
Regards

Andrew
------=_Part_72754_6690281.1172315337298--