cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stevens" <at...@hotmail.com>
Subject RE: "auth-login" not defined for "act"
Date Tue, 28 Mar 2006 15:06:08 GMT
>From: "peter" <peter@silmaril.ie>
>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?


Andrew.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message