Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 1897 invoked from network); 7 Feb 2010 23:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Feb 2010 23:14:41 -0000 Received: (qmail 86452 invoked by uid 500); 7 Feb 2010 23:14:41 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 86375 invoked by uid 500); 7 Feb 2010 23:14:40 -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 86367 invoked by uid 99); 7 Feb 2010 23:14:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 23:14:39 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 23:14:31 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NeGKQ-0005Bn-Pb for users@cocoon.apache.org; Sun, 07 Feb 2010 15:14:10 -0800 Message-ID: <27493446.post@talk.nabble.com> Date: Sun, 7 Feb 2010 15:14:10 -0800 (PST) From: Maria Grigorieva To: users@cocoon.apache.org Subject: Cocoon 2.1.11 forms validation "on-value-changed" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mag-send@hotmail.com Hello, dear mailing-list ) Please help if it's possible: I have a form-model with widgets and the values of the fields passes to the database "on-value-changed" action (I haven't any "Submit" buttons at all) And for each field I have the validation rules: Density ERROR!!! var value = event.source.value; var form = event.source.form; var id = new java.lang.Integer(form.getAttribute("id").intValue()); matmodel.setR0(id,value); Please, help! How can I use the validation rules to show the message to the user on-value-changed action ??? -- View this message in context: http://old.nabble.com/Cocoon-2.1.11-forms-validation-%22on-value-changed%22-tp27493446p27493446.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org