Re: how do I redirect in an Action?

2002-06-01 Thread Christian Haul
Peter Lerche wrote: Hi, I have followed this thread with interest and noted what Chris wrote. Edgar, AFAIK this is not true. map:act can contain all other tags that are allowed within a pipeline. However, what about nested map:act tags. No problem. An example is the mod-db sample

Re: how do I redirect in an Action?

2002-05-28 Thread Peter Lerche
Hi, I have followed this thread with interest and noted what Chris wrote. Edgar, AFAIK this is not true. map:act can contain all other tags that are allowed within a pipeline. However, what about nested map:act tags. eg. map:match pattern=form/validation/* map:act type=form-validator/

AW: how do I redirect in an Action?

2002-05-28 Thread Andres, Judith
2002 12:48 An: [EMAIL PROTECTED] Betreff: Re: how do I redirect in an Action? Hi, I have followed this thread with interest and noted what Chris wrote. Edgar, AFAIK this is not true. map:act can contain all other tags that are allowed within a pipeline. However, what about

RE: how do I redirect in an Action?

2002-05-27 Thread Graaf, Edgar de (fin)
to change it in one place. -Oorspronkelijk bericht- Van: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 23 mei 2002 17:39 Aan: [EMAIL PROTECTED] Onderwerp: RE: how do I redirect in an Action? Thanks for all the suggestions. I'm pretty confused at this point

RE: how do I redirect in an Action?

2002-05-24 Thread Graaf, Edgar de (fin)
- Van: Lai, Harry [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 23 mei 2002 17:49 Aan: '[EMAIL PROTECTED]' Onderwerp: RE: how do I redirect in an Action? Hi Edgar, I may be misunderstanding how actions work, but at least for how we've used them in our project, anything after an action always

RE: how do I redirect in an Action?

2002-05-24 Thread Graaf, Edgar de (fin)
. Thanks! Regards -Oorspronkelijk bericht- Van: Christian Haul [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 23 mei 2002 18:08 Aan: [EMAIL PROTECTED] Onderwerp: Re: how do I redirect in an Action? On 23.May.2002 -- 05:00 PM, Graaf, Edgar de (fin) wrote: Christopher, map:act... can't

RE: how do I redirect in an Action?

2002-05-24 Thread Graaf, Edgar de (fin)
On 23.May.2002 -- 05:00 PM, Graaf, Edgar de (fin) wrote: Christopher, map:act... can't contain matchers, how else would cocoon know that the action should be run? Edgar, AFAIK this is not true. map:act can contain all other tags that are allowed within a pipeline. EDGAR - Okay prob.

Re: how do I redirect in an Action?

2002-05-23 Thread Nicola Ken Barozzi
Liam Morley On Wed, 22 May 2002, Nicola Ken Barozzi wrote: From: Christopher Painter-Wakefield [EMAIL PROTECTED] What is the proper way to redirect in an Action? Why do you have to redirect in an action? I would not suggest it. Redirect instead in the sitemap based on the

RE: C2: how do I redirect in an Action?

2002-05-23 Thread Graaf, Edgar de (fin)
Painter-Wakefield [mailto:[EMAIL PROTECTED]] Verzonden: woensdag 22 mei 2002 21:23 Aan: [EMAIL PROTECTED] Onderwerp: C2: how do I redirect in an Action? What is the proper way to redirect in an Action? I presume we are supposed to use the Redirector object, since nothing else seems able. I've

Re: how do I redirect in an Action?

2002-05-23 Thread Christopher Painter-Wakefield
I'm trying to implement a homegrown authentication scheme. One of our types of users will be authenticated by coming into the system with appropriate credentials as request parameters in the URL (we will e-mail them their unique URL). This is to avoid generating a large number of user ids and

RE: how do I redirect in an Action?

2002-05-23 Thread Graaf, Edgar de (fin)
: donderdag 23 mei 2002 15:52 Aan: [EMAIL PROTECTED] Onderwerp: Re: how do I redirect in an Action? I'm trying to implement a homegrown authentication scheme. One of our types of users will be authenticated by coming into the system with appropriate credentials as request parameters in the URL (we

RE: how do I redirect in an Action?

2002-05-23 Thread Lai, Harry
- From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:01 AM To: '[EMAIL PROTECTED]' Subject: RE: how do I redirect in an Action? Christopher, map:act... can't contain matchers, how else would cocoon know that the action should be run? try: map:match

RE: how do I redirect in an Action?

2002-05-23 Thread Christopher Painter-Wakefield
Thanks for all the suggestions. I'm pretty confused at this point, as I haven't used map:resource or map:select previously, so I need to spend some time understanding the code you've offered. One thing in particular I don't see is where I should put my normal generate, transform, and serialize

RE: how do I redirect in an Action?

2002-05-23 Thread Lai, Harry
, 2002 10:25 AM To: '[EMAIL PROTECTED]' Subject: RE: how do I redirect in an Action? Harry, I have to look in to you example later. But the last redirect is to a page that ask you to try again... when the action doesn't fail(the password is right) that redirect is not executed (that between

RE: how do I redirect in an Action?

2002-05-23 Thread Lai, Harry
and selects! Harry -Original Message- From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: RE: how do I redirect in an Action? Thanks for all the suggestions. I'm pretty confused at this point, as I haven't used

Re: how do I redirect in an Action?

2002-05-23 Thread Christian Haul
On 23.May.2002 -- 05:00 PM, Graaf, Edgar de (fin) wrote: Christopher, map:act... can't contain matchers, how else would cocoon know that the action should be run? Edgar, AFAIK this is not true. map:act can contain all other tags that are allowed within a pipeline. Depending on the amount

Re: how do I redirect in an Action?

2002-05-23 Thread Christopher Painter-Wakefield
Chris, if I do a redirect in an Action, does that effectively terminate the pipeline also? Also, is my understanding correct that if I create an Action that merely returns a new Map, this is essentially a no-action and will leave the pipeline unaffected? -Christopher On 23.May.2002 --

Re: how do I redirect in an Action?

2002-05-23 Thread Christian Haul
On 23.May.2002 -- 01:15 PM, Christopher Painter-Wakefield wrote: if I do a redirect in an Action, does that effectively terminate the pipeline also? Yes it does. I have never used the redirector object but it should do exactly that. Using the redirector object and redirecting on sitemap level

RE: how do I redirect in an Action?

2002-05-23 Thread Lai, Harry
new everyday. =) Harry -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 11:08 AM To: [EMAIL PROTECTED] Subject: Re: how do I redirect in an Action? snip/ Another misconception in this thread seems to be that the tags after the action

C2: how do I redirect in an Action?

2002-05-22 Thread Christopher Painter-Wakefield
What is the proper way to redirect in an Action? I presume we are supposed to use the Redirector object, since nothing else seems able. I've looked at the Redirector interface, but the API docs have zero explanation (g!) of the methods. If this is the right object, then: 1) what is the

Re: how do I redirect in an Action?

2002-05-22 Thread Nicola Ken Barozzi
From: Christopher Painter-Wakefield [EMAIL PROTECTED] What is the proper way to redirect in an Action? Why do you have to redirect in an action? I would not suggest it. Redirect instead in the sitemap based on the results of the Action. -- Nicola Ken Barozzi [EMAIL

Re: how do I redirect in an Action?

2002-05-22 Thread Liam Morley
I've always used the redirect method of the Redirector class. I'm assuming that redirect uses a local, relative path (for internal links) and globalRedirect uses a global path (for external links), but I haven't tested this and can't be sure. I also assume that sessionmode dictates whether or not