Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 27379 invoked by uid 500); 9 Apr 2002 13:26:02 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 27363 invoked from network); 9 Apr 2002 13:26:01 -0000 Message-ID: From: Konstantin Piroumian To: "'cocoon-dev@xml.apache.org'" Subject: RE: [PROPOSAL] map:redirect-to vs. map:forward Date: Tue, 9 Apr 2002 17:26:39 +0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="koi8-r" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Ivelin Ivanov [mailto:ivelin@apache.org] > > +1 > > > I'm also a bit confused by the cocoon: > proto. Isn't there more to it than just forward? > > The parameters to forward are request attributes correct? > You can't add request parameters with server side forward. I've been thinking about them as sitemap parameters, but I'm not sure that it's possible to implement in current sitemap and also it will cause unexpected behavior in request parameter-aware pipelines. But definitely, they are not request attributes. You can't add parameters, but you can call an URL with new parameters: 'show-page.xml?page=success'. Is it possible with the current sitemap implementations? Konstantin > > > ----- Original Message ----- > From: "Konstantin Piroumian" > To: > Sent: Tuesday, April 09, 2002 3:47 AM > Subject: [PROPOSAL] map:redirect-to vs. map:forward > > > > Hi, team! > > > > I'd like to propose to add a node > to sitemap. > > Behavior should be the same as uri="cocoon:/..." />. > > As redirect and forward are absolutely different in servlet > environment > then > > it would be better to have separate elements for them. I'd leave > > for real redirects (with 302 status > code) and use > > for all internal forwards. > > > > IMHO, forwarding is more obvious then redirect to > 'cocoon:/...' uris and > > this will reduce the number of questions in users list about the > redirection > > and its parameters. Also, I'd like to propose to add > parameters support to > > : > > > > > > > > > > > > What do you think? > > > > -- > > Konstantin > > _________________________________________ > > Konstantin Piroumian > > Lead Developer > > ICQ#: 2297575 > > * Work Tel#: +7 095 795 0520 * 1288 > > * More ways to contact me > > i See more about me > > _________________________________________ > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > > For additional commands, email: cocoon-dev-help@xml.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org