Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 34624 invoked by uid 500); 10 Dec 2002 15:11:39 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 34611 invoked from network); 10 Dec 2002 15:11:38 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.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: Add/Remove/Edit Sql entries with buttons (using ESQL) Date: Tue, 10 Dec 2002 16:11:19 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Add/Remove/Edit Sql entries with buttons (using ESQL) Thread-Index: AcKgXbVqNFoBdEjvQiWDrg6QmX2nWQAAGZ9g From: To: X-OriginalArrivalTime: 10 Dec 2002 15:11:19.0414 (UTC) FILETIME=[648D3160:01C2A05E] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If I write I just come back to the previous page. I think it's because I haven't write the ID. That means :=20 The database contains following collumns : ID - Name - Dispatcher The xsp page contains : text field for name - Select object for dipatcher I used a form. -----Original Message----- From: Geoff Howard [mailto:cocoon@leverageweb.com]=20 Sent: Tuesday, December 10, 2002 4:13 PM To: cocoon-users@xml.apache.org Subject: RE: Add/Remove/Edit Sql entries with buttons (using ESQL) You need a proper name attribute on your submit button to get it to call the action. For instance, in your case (if you are not using an older version of cocoon): = would call the "Add" action from your workflow action-set. Similarly, cocoon-action-Delete and cocoon-action-Update would call the others. The value attribute is only there for display (this was not true at some point in the past) and the name attribute is not visible to the end user. As such, you probably want to name your actions more restrictively as you may have many Add, Delete, and Update. something like action=3D"add-workflow" corresponding to "cocoon-action-add-workflow" might keep things easier to follow and potentially prevent problems. The magic string "cocoon-action-" is not easily modified (I believe it's compiled in). Geoff -----Original Message----- From: Maxime.Gheysen@swisscom.com [mailto:Maxime.Gheysen@swisscom.com] Sent: Tuesday, December 10, 2002 8:30 AM To: cocoon-users@xml.apache.org Subject: FW: Add/Remove/Edit Sql entries with buttons (using ESQL) Excuse me, previous message was not complete : Hello, I want to Add/Remove/Edit Sql entries by clicking on buttons. I tryied with these 3 actions : And these action-sets . These actions are in my sitemap. Now, if I want them on a button, like :
Where is the button to update = sql database. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: