Re: [Cocoon-Users] Executing a database call for several different matches

2005-01-29 Thread Irv Salisbury III
Message- From: Irv Salisbury III [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 11:15 AM To: users@cocoon.apache.org; [EMAIL PROTECTED] Subject: Re: [Cocoon-Users] Executing a database call for several different matches I don't know as I would do a redirect with all of them

Executing a database call for several different matches

2005-01-28 Thread David Swearingen
I'm building a little logging system that will create a record in a database anytime one of about 20 different pages on my site is hit. So there are now say 20 different map:matches for these pages. I don't want to insert some kind of database call (ESQL, Action, other) in each map:match pattern

Re: [Cocoon-Users] Executing a database call for several different matches

2005-01-28 Thread Irv Salisbury III
I don't know as I would do a redirect with all of them. There are a number of different ways I could potentially attack this. First, you could call a common starting internal pipeline: map:match pattern=internal-logging/** database stuff in here /map:match map:match pattern=somepage

RE: [Cocoon-Users] Executing a database call for several different matches

2005-01-28 Thread David Swearingen
Message- From: Irv Salisbury III [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 11:15 AM To: users@cocoon.apache.org; [EMAIL PROTECTED] Subject: Re: [Cocoon-Users] Executing a database call for several different matches I don't know as I would do a redirect with all of them