RE: Design bug or implementation bug in redirector?

2003-06-18 Thread Mato Mira, Fernando
> From: Upayavira [mailto:[EMAIL PROTECTED]
> 
> > details. Why not providing a way of passing through all parameters?
> 
> I've never used it, but I believe you can do 
> {request:queryString} or something like 
> that to get the query string out of the request object. Then 
> you do something like 
> 
> 
> 
> Now I've not tested that, nor used it, so I don't know if 
> I've got my names right or 
> wrong, but the principle is there.

You are just missing the '?' before the parameters. Thanks.


RE: Design bug or implementation bug in redirector?

2003-06-16 Thread Upayavira
> > You can do:
> > 
> > 
> > Does that help you?
> 
> It helps a bit. However, what happens if param does not exist? Also, I
> wouldn't like to have to keep the sitemap in sync with the page
> details. Why not providing a way of passing through all parameters?

I've never used it, but I believe you can do {request:queryString} or something like 
that to get the query string out of the request object. Then you do something like 



Now I've not tested that, nor used it, so I don't know if I've got my names right or 
wrong, but the principle is there.

Regards, Upayavira



RE: Design bug or implementation bug in redirector?

2003-06-16 Thread Mato Mira, Fernando
> From: Upayavira [mailto:[EMAIL PROTECTED]

> > > How does forwarding differ from redirection?
> > With redirect I lose the request parameters
> 
> > > What specifically are you trying to achieve?
> > 
> > When the user asks for a URL like customweb/login,
> > if the profile file for customweb does not exist,
> > this will be processed as a request for dialog/login
> > and all subsequent URLs he gets will start with dialog/
> > 
> > Many different request parameters can be sent to the login page.
> 
> You can do:
> 
> 
> Does that help you?

It helps a bit. However, what happens if param does not exist? Also,
I wouldn't like to have to keep the sitemap in sync with the page
details. Why not providing a way of passing through all parameters?


RE: Design bug or implementation bug in redirector?

2003-06-16 Thread Upayavira
> > How does forwarding differ from redirection?
> With redirect I lose the request parameters

> > What specifically are you trying to achieve?
> 
> When the user asks for a URL like customweb/login,
> if the profile file for customweb does not exist,
> this will be processed as a request for dialog/login
> and all subsequent URLs he gets will start with dialog/
> 
> Many different request parameters can be sent to the login page.

You can do:


Does that help you?

Upayavira



RE: Design bug or implementation bug in redirector?

2003-06-15 Thread Mato Mira, Fernando
> From: Upayavira [mailto:[EMAIL PROTECTED]

> How does forwarding differ from redirection?
With redirect I lose the request parameters


> What specifically are you trying to achieve?

When the user asks for a URL like customweb/login,
if the profile file for customweb does not exist,
this will be processed as a request for dialog/login
and all subsequent URLs he gets will start with dialog/

Many different request parameters can be sent to the login page.



RE: Design bug or implementation bug in redirector?

2003-06-13 Thread Upayavira
> OK, thanks. Now what I need is a way to do forwarding.
> I started looking at using some other framework because of this.

How does forwarding differ from redirection?

What specifically are you trying to achieve?

Upayavira


RE: Design bug or implementation bug in redirector?

2003-06-13 Thread Mato Mira, Fernando
OK, thanks. Now what I need is a way to do forwarding.
I started looking at using some other framework because of this.

--
Fernando D. Mato Mira   [EMAIL PROTECTED] 
Thomson Dialog
www.dialog.com

E-MAIL NOTICE:
This message (plus any attachments) is confidential and may be subject
to lawyer-client privilege.  Use without permission is strictly
prohibited.



> -Original Message-
> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 13, 2003 2:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Design bug or implementation bug in redirector?
> 
> 
> Mato Mira, Fernando wrote:
> 
> >When trying
> >
> >
> >  
> >
> >
> >foo/baz will get redirected to foo/bar/baz, not to bar/baz
> >  
> >
> 
> It's a feature. Redirect sends redirect which is resolved by browser. 
> Sitemap does not process redirect URI. Thus, if you want to 
> redirect to 
> /bar/baz, type:
> 
>   
> 
> 
> 
> 
> Vadim
> 


Re: Design bug or implementation bug in redirector?

2003-06-13 Thread Vadim Gritsenko
Mato Mira, Fernando wrote:

When trying


 

foo/baz will get redirected to foo/bar/baz, not to bar/baz
 

It's a feature. Redirect sends redirect which is resolved by browser. 
Sitemap does not process redirect URI. Thus, if you want to redirect to 
/bar/baz, type:

 



Vadim



Design bug or implementation bug in redirector?

2003-06-13 Thread Mato Mira, Fernando
When trying


  


foo/baz will get redirected to foo/bar/baz, not to bar/baz

If I wanted to redirect to that, I could just write


  


This is with Cocoon 2.1m2

--
Fernando D. Mato Mira   [EMAIL PROTECTED] 
Thomson Dialog
www.dialog.com

E-MAIL NOTICE:
This message (plus any attachments) is confidential and may be subject
to lawyer-client privilege.  Use without permission is strictly
prohibited.