Hi Guys, How would i use Actions in Sunrise?
How would the handler ( vxsapp-handler-001 ) know if the authentication ( vxsapp-authuser ) failed?? Please see references below.... main sitemap: <handler name="vxsapp-handler-001" xmlns:map="http://apache.org/cocoon/sitemap/1.0" xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0"> <redirect-to uri="cocoon://richard_webapps/home.html"/> <authentication uri="cocoon:raw://sunrise-samples/vxsapp-authuser" /> </handler> sub sitemap: <map:match pattern="vxsapp-authuser"> <map:act set="processemployee"> <map:parameter name="descriptor" value="context://richard_webapps/descriptor/vxs_employees-dx.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 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]>