cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Reyes" <rich...@voxsant.com>
Subject Re: Sunrise Actions
Date Wed, 02 Oct 2002 00:56:58 GMT
thanks!

----- Original Message -----
From: "Antonio Gallardo Rivera" <agallardo@agsoftware.dnsalias.com>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, October 01, 2002 2:57 AM
Subject: Re: Sunrise Actions


Try to avoid the character "-" in the name of your handler, when you will
updgrade to 2.1 it will not work.

Antonio Gallardo

El Martes, 01 de Octubre de 2002 16:37, Richard Reyes escribió:
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>





---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message