Andrew Stevens wrote:
From: "peter" <[EMAIL PROTECTED]>
Date: Tue, 28 Mar 2006 08:28:17 +0000

I'm getting the following error:

> Internal Server Error
>
> Message: Type 'auth-login' is not defined for 'act' at
> file:/home/peter/tomcat/webapps/ROOT/sitemap.xmap:554:29

where the relevant lines say:

553:  <map:match pattern="authtest">
554:    <map:act type="auth-login">
555:      <map:parameter name="handler" value="epuauth"/>
556:      <map:parameter name="parameter_username"
557:        value="{request-param:username}"/>
558:      <map:parameter name="parameter_password"
559:        value="{request-param:password}"/>
560:      <map:redirect-to uri="doc/webmaster"/>
561:    </map:act>
562:    <map:generate src="welcome.xml"/>
563:    <map:transform src="webpages.xsl"/>
564:    <map:serialize type="xhtml"/>
566:  </map:match>

Why isn't the token "auth-login" being recognised?

Do you have a corresponding
<map:action name="auth-login" src="org.apache.cocoon.webapps.authentication.acting.LoginAction"/>
definition in the <map:components> section of your sitemap?

Aha. Probably not...I was just following the documentation and it
doesn't mention that. I'll go check (away from site right now).
Many thanks.

///Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to