Thanks anyway man,
But I have fixed this by reinstalling my tomcat engine....
its odd i know but its fixed now.
thanks again.
----- Original Message -----
From: "Antonio Gallardo Rivera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 9:07 PM
Subject: Re: Sunrise - Sitemap ????
By the way I saw that in your sitemap you are using:
<map:act type="sunRise-login">
<map:parameter name="handler"
value="vxsapp_handler_001"/>
<map:parameter name="parameter_tfUsername"
value="request:tfUsername"/>
<map:parameter name="parameter_tfPassword"
value="request:tfPassword"/>
<map:redirect-to uri="vxsapp-main.html"/>
</map:act>
<map:redirect-to uri="home.html"/>
As long as I know you must use the standard for the name of parameters. In
2.1
CVS you must use something like this:
<map:act type="auth-login">
<map:parameter name="handler" value="myhandler"/>
<map:parameter name="parameter_name"
value="{request-param:name}"/>
<map:parameter name="parameter_password"
value="{request-param:password}"/>
<map:redirect-to uri="welcome"/>
</map:act>
Antonio Gallardo
El Jueves, 03 de Octubre de 2002 11:59, Richard Reyes escribi�:
> THANKS
> ----- Original Message -----
> From: "Antonio Gallardo Rivera" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 02, 2002 1:14 PM
> Subject: Re: Sunrise - Sitemap ????
>
>
> Carsten:
>
> last month recommended to upgrade to the 2.1-CVS is you want to use all
the
> authentication stuff. In C2.1-CVS all this stuff work better.
>
> I am using it and all is OK.
>
> Antonio Gallardo
>
> El Mi�rcoles, 02 de Octubre de 2002 16:46, Richard Reyes escribi�:
> > Hi Guys,
> >
> > Any ideas why the <map:act type="sunRise-login"> is not workin???
> >
> > Attach is my sub sitemap for reference.
> >
> > Thanks
> > Richard
> >
> >
> > ----- Original Message -----
> > From: Richard Reyes
> > To: C2 Users
> > Sent: Tuesday, October 01, 2002 6:40 PM
> > Subject: Sunrise - Sitemap ????
> >
> >
> > Hi Guys,
> >
> > I am trying to use Actions as my Authentication for my Sunrise, but I
> > cannot proceed to the protected resource ( vxsapp-main.html ). The
> > Actions seems to be workin because when I called "vxsapp-authuser" in
the
> > browser the browser displays this xml....
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > - <authentication xmlns:xsp="http://apache.org/xsp"
> > xmlns:xsp-request="http://apache.org/xsp/request/2.0"> <ID>001</ID>
> > <role>Employee</role>
> > - <data>
> > <fname>Sid</fname>
> > <lname>Vicious</lname>
> > </data>
> > </authentication>
> >
> > Can you guys check my sitemap below.... specially on <map:match
> > pattern="vxsapp-login"> part...????
> >
> > <map:match pattern="vxsapp-*.html">
> > <map:match pattern="vxsapp-main.html">
> > <map:generate src="xml/home.xml"/>
> > <map:transform src="xsl/employee.xsl"/>
> > <map:serialize />
> > </map:match>
> > </map:match>
> >
> > <map:match pattern="vxsapp-authuser">
> > <map:act type="UserLogin">
> > <map:parameter name="descriptor"
> > value="context://richard_webapps/descriptor/vxs_employees-dx.xml"/>
> > <map:parameter name="use-request-parameters" value="true" />
> > <map:generate type="serverpages" src="xsp/validuser.xsp"/>
<map:serialize
> > type="xml" /> </map:act>
> > </map:match>
> >
> > <map:match pattern="vxsapp-login">
> > <map:act type="sunRise-login">
> > <map:parameter name="handler"
> > value="vxsapp_handler_001"/> <map:parameter name="parameter_name"
> > value="request:tfUsername"/> <map:parameter name="parameter_password"
> > value="request:tfPassword"/> <map:redirect-to uri="vxsapp-main.html"/>
> > </map:act>
> > <map:redirect-to uri="home.html"/>
> > </map:match>
> >
> >
> > Thanks in Advance...
> > Richard
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>