Just let me rephrase please (by the way, it might a users@ ... chat instead of dev):
When you put your login pipeline in a subsitemap: you get a blank page.
If you put them at the root sitemap you don't have nay problems: everything work as expected.
Is it that?
JD Daniels <[EMAIL PROTECTED]> wrote:
Is it that?
JD Daniels <[EMAIL PROTECTED]> wrote:
Yes... I get file not found.. it looks in the incorrect directory.
You can see in the sitemap.log below.. everything *seems* to be working
correctly:
INFO [sitemap] (/root/users/view.xsp) Thread-15/ForwardRedirector:
Redirecting to '/root/auth/login.form?resource=%2Froot%2Fusers%2Fview.xsp'
INFO [sitemap] (/root/auth/login.form) Thread-15/ForwardRedirector:
Redirecting to 'cocoon:/login-display-pipeline'
INFO [sitemap]
(/root/auth/5e633f0d466b538e64777087384c836f74437714.continue)
Thread-15/ForwardRedirector: Redirecting to 'cocoon:/doLogin.xml'
INFO [sitemap]
(/root/auth/5e633f0d466b538e64777087384c836f74437714.continue)
Thread-15/RedirectToURINode: Redirecting to '/root' at
file:/D:/Projects/moduletest/ROOT/modules/auth/sitemap.xmap:77:67
JD
-----Original Message-----
From: Nicolas Toper [mailto:[EMAIL PROTECTED]
Sent: 2004-01-30 1:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Flow Redirect The auth-fw with cocoon:/ Not working
Sorry to ask but have you tried cocoon:/ instead of cocoon:// ?
JD Daniels <[EMAIL PROTECTED]>wrote:
ROOT/sitemap.xmap:
uri-prefix="auth"/>
ROOT/modules/auth/sitemap.xmap
value="forms/login.xml"/>
src=""/>
value="{request:username}"/>
value="{request:password}"/>
value="{request:username}"/>
value="{request:password}"/>
-----Original Message-----
From: Nicolas Toper [mailto:[EMAIL PROTECTED]
Sent: 2004-01-30 12:23 PM
To: [EMAIL PROTECTED]
Subject: RE: Flow Redirect The auth-fw with cocoon:/ Not working
Could you send us your sitemap (well not all, but you understood)
JD Daniels wrote:
the problem seems to be when the pipelines are defined in a sub sitemap.
I have the login, logout pipleines defined in sitemap under auth/
when they are defined in the root sitemap, they work fine. the logs indicate
that all of the actions and redirects are taking place, it is just
serializing out a blank html page.
JD
-----Original Message-----
From: Nicolas Toper [mailto:[EMAIL PROTECTED]
Sent: 2004-01-30 12:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Flow Redirect The auth-fw with cocoon:/ Not working
I used the action with tons of redirection and it worked fine.
JD Daniels wrote:
There was a thread on this earlier, but there was not a solution I can see.
I had my auth pipelines defined in the root sitemap, and they worked great.
I need to move them to a sub-sitemap, but when I do, a blank html page is
serialized out to the client, although all the logs indicate the redirects
have taken place. the only change I can see is the addition of the cocoon://
protocol to my handler.
function login(form) {
var model = form.getModel();
form.showForm("login-display-pipeline");
cocoon.sendPage("doLogin.xml");
}
If I have this in my root sitemap. it works fine.
But if I move it to a subsitemap and configure the authentication handler:
anyone have any ideas?
JD
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Testez le nouveau Yahoo! Mail
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Testez le nouveau Yahoo! Mail
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Testez le nouveau Yahoo! Mail
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Testez le nouveau Yahoo! Mail
