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> <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
|
sitemap.xmap
Description: Binary data
--------------------------------------------------------------------- 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]>