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

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Antonio Gallardo
Hi! The problem is solved using Modular Database Actions. More info at: http://wiki.cocoondev.org/Wiki.jsp?page=ModularDatabaseActions Antonio Gallardo Sheraz Sharif dijo: > I am using postgresql 7.2.. > > I am not sure what you mean. Are you talking about making the database > run a trigger b

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
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 that there already exists that specific value in the table, and notify the user

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, Sorry if

RE: DatabaseAddAction

2002-05-21 Thread Hugo Burm
Hello Kenny, Your "subject" is your clue to the answer. An Action is called. If you not already did so, please read the Cocoon docs about Actions. In the employee example (/docs/samples/forms/employee.xsp), an Action is called by supplying a request parameter "", which, in combination with the d

RE: databaseaddaction...help me....

2002-04-05 Thread Rolfe Jenny
Title: RE: databaseaddaction...help me Brilliant, thank you thank you thank you it works like a charm jenny -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 9:51 AM To: [EMAIL PROTECTED] Subject: Re: databaseaddaction...help me

Re: databaseaddaction...help me....

2002-04-05 Thread Christian Haul
On 05.Apr.2002 -- 09:26 AM, Rolfe Jenny wrote: > HttpProcessor[8080][3]/AbstractDatabaseAction: Setting column 2 named > key:page:pageid with value null >From this we can conclude that the value is not found. OK, the issue is a bit complicated here. And you coudn't have known unless inspecting th

RE: databaseaddaction...help me....

2002-04-05 Thread Rolfe Jenny
Title: RE: databaseaddaction...help me I've included the relevant section from the sitemap logs below. It looks as if the pageid is being saved as a sitemap parameter but it is not being picked up by 'key:page:pageid'. Now this database stuff is in the middle of a whole

Re: databaseaddaction...help me....

2002-04-04 Thread Christian Haul
On 04.Apr.2002 -- 04:31 PM, Rolfe Jenny wrote: > Okay so what I want to do is use the default database add action to update > two tables, in one I automatically generate an id then I want to also put > this id into the second table. So here's what I do: I think the modular database actions are st