to handle each
database's particular method. What DB are you using? Does it have a native
auto-increment concept?
Geoff
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 2:23 AM
To: [EMAIL PROTECTED]
Subject: RE: Add/Remove/Edit Sql
To: [EMAIL PROTECTED]
Subject: RE: Add/Remove/Edit Sql entries with buttons (using ESQL)
To be honest, I don't know how to do this using the regular
Database*Actions as you are - you'll have to dig through the docs and
search the archives of this list. I have used the modular database
actions
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):
input type=submit value=Save name=cocoon-action-Add/ would call the
Add action from your workflow action-set. Similarly,
for
dipatcher
I used a form.
-Original Message-
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 4:13 PM
To: [EMAIL PROTECTED]
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
is the one with the helpful configuration
information.
Geoff
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 10:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Add/Remove/Edit Sql entries with buttons (using ESQL)
If I write input type=submit value
I want to add an entry in my page when I click on : input
type=submit value=Save name=cocoon-action-Add/
And how can I have an automatic ID?
What is wrong in my page? Or in my Sitemap? Where do I have to write
witch connection to use?
map:actions
map:action name=add-dbentry