Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 91441 invoked from network); 19 Jan 2005 17:26:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Jan 2005 17:26:02 -0000 Received: (qmail 85701 invoked by uid 500); 19 Jan 2005 17:23:00 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 85635 invoked by uid 500); 19 Jan 2005 17:22:59 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 85591 invoked by uid 99); 19 Jan 2005 17:22:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from intermedia.net (HELO DHOST001-30.DEX001.intermedia.net) (64.78.21.48) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 19 Jan 2005 09:22:58 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Cocoon Forms - how to add a confirmation dialog on submit Date: Wed, 19 Jan 2005 08:33:44 -0800 Message-ID: <6B0903DD553D4341AA4741D2A5B2CD5331B3C2@DHOST001-30.DEX001.intermedia.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cocoon Forms - how to add a confirmation dialog on submit Thread-Index: AcT+DqNQH/fitQ1wThG4asFV9UAkrQANal6g From: "Hank Heidt" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I suspected that it would be something really easy! Thanks for the help and the additional insight into how widgets are handled. -Hank -----Original Message----- From: Vilya Harvey [mailto:vilya.harvey@gmail.com]=20 Sent: Wednesday, January 19, 2005 5:07 AM To: users@cocoon.apache.org Subject: Re: Cocoon Forms - how to add a confirmation dialog on submit Hank Heidt wrote: >Can any of you recommend a good way or point me to an example of how to >add a confirmation dialog, i.e., "Are you sure that you want to save the >changes?" to the standard Cocoon Forms "submit" widget?=20 > >I looked around and didn't see anything obvious - my hope is that there >is an easy way to do this... > =20 > Try this: Any attributes of the element which aren't explicitly=20 handled by the forms XSL are copied on to the output element for the=20 widget. That includes all of the standard HTML event handler attributes, so you can easily attach client-side JavaScript to your widgets. Hope that helps, Vil. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org