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
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/
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
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
-
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
.
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
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.
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
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
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
: 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
-
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
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
, 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
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
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
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 --
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
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
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
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
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
22 matches
Mail list logo