Re: [SUMMARY] DatabaseAddAction and unique or primary keys

2003-02-08 Thread Sheraz Sharif
Sorry the message was double posted..but good news! Antoino, thanks for pushing me in that direction. I did not think the modular DatabaseAddAction would handle unique keys, but it does (I had to hunt through the source to find this out) I updated my descriptor files to be compatible with modula

Re: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Antonio Gallardo
Hi, Today morning I told you about the MODULAR Database Actions, also I pointed you to: http://wiki.cocoondev.org/Wiki.jsp?page=ModularDatabaseActions There you can find ALL the info about how to do what you mean. Also I can work with sequence (you told before you use PostgreSQL 7.2). Sheraz Sh

DatabaseAddAction and unique or primary keys

2003-02-07 Thread Sheraz Sharif
Hello all, I have been working on a website for a while. Here is my problem - I can easily verify user input through forms and return any error messages through the xsp-formval tags. After validation, the input is passed to the database. However, I get an SQL exception : ProcessingException: C

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Antonio Gallardo
ge- >> From: Sheraz Sharif [mailto:[EMAIL PROTECTED]] >> Sent: Freitag, 07. Februar 2003 12:19 >> To: [EMAIL PROTECTED] >> Subject: DatabaseAddAction and unique or primary keys >> >> Hello all, >> >> Sorry if this gets double-posted... >> >&

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Kazmir, Jaroslav
: [EMAIL PROTECTED] Subject: RE: DatabaseAddAction and unique or primary keys I am using postgresql 7.2.. I am not sure what you mean. Are you talking about making the database run a trigger before the insert happens? If so, I do not think that will solve my problem. I want cocoon to realize

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Sheraz Sharif
age- > From: Sheraz Sharif [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 07. Februar 2003 12:19 > To: [EMAIL PROTECTED] > Subject: DatabaseAddAction and unique or primary keys > > Hello all, > > Sorry if this gets double-posted... > > I have been working on a webs

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Kazmir, Jaroslav
Which type of database you use? Isn't it easily to use before insert trigger? JayKay -Original Message- From: Sheraz Sharif [mailto:[EMAIL PROTECTED]] Sent: Freitag, 07. Februar 2003 12:19 To: [EMAIL PROTECTED] Subject: DatabaseAddAction and unique or primary keys Hello all, Sor

DatabaseAddAction and unique or primary keys

2003-02-07 Thread Sheraz Sharif
Hello all, Sorry if this gets double-posted... I have been working on a website for a while. Here is my problem - I can easily verify user input through forms and return any error messages through the xsp-formval tags. After validation, the input is passed to the database. However, I get an SQ