Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 532 invoked from network); 27 Feb 2006 01:04:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 01:04:56 -0000 Received: (qmail 2018 invoked by uid 500); 27 Feb 2006 01:04:54 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 1422 invoked by uid 500); 27 Feb 2006 01:04:50 -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 1411 invoked by uid 99); 27 Feb 2006 01:04:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 17:04:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.9.33.3] (HELO mail0.tt.com.au) (203.9.33.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 17:04:50 -0800 Received: from mail0.tt.com.au (localhost [127.0.0.1]) by localhost.tt.com.au (Postfix) with ESMTP id 5EFF119262 for ; Mon, 27 Feb 2006 12:06:02 +1100 (EST) Received: from imap.tt.com.au (imap.tt.com.au [10.2.0.9]) by mail0.tt.com.au (Postfix) with ESMTP id 3641F19261 for ; Mon, 27 Feb 2006 12:06:02 +1100 (EST) Received: from [10.2.0.72] (bhatt-2.tt.com.au [10.2.0.72]) by imap.tt.com.au (8.13.4/8.13.4) with ESMTP id k1R13BqD012564 for ; Mon, 27 Feb 2006 12:03:11 +1100 (EST) Message-ID: <4402507D.7090506@tt.com.au> Date: Mon, 27 Feb 2006 12:06:05 +1100 From: Kamal Bhatt User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Cforms - fd:initial-value Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi I have a field of datatype integer, I want set an initial value like so: 1 This is perfectly legitimate in regards to the validation. However, when I do this, I get null pointer exceptions on the line where I create the form, ie var form = new Form("cforms/promotion.xml"); What am I doing wrong? Cheers. Kamal. -- Kamal Bhatt Tourism Technology Pty Ltd T: +61 (02) 9956 7300 F: +61 (02) 9956 7411 Level 10, 1 Pacific Highway, North Sydney, NSW 2060 http://www.tt.com.au -- Disclaimer: This email is confidential and may contain privileged information for the sole use of the person or business to which it is addressed. If you are not the intended recipient, please notify the sender by return e-mail or phone as you must not view, disseminate, distribute or copy this email without our consent. We do not accept any liability in connection with any computer virus, data corruption, incompleteness, or unauthorised amendment of this email. It is the sole responsibility of the receiver to scan for viruses before opening. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org