cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [c2] problem with actions
Date Wed, 18 Apr 2001 12:36:47 GMT
Donald Ball wrote:
> 
> okay, so i figured out and patched the problem i was having with the
> DatabaseAddAction (old JDBC driver), so naturally i'm on to something new.
> my sitemap has this rule:
> 
> <map:match pattern="add/work">
>  <map:act type="add-work">
>   <parameter name="form-descriptor" value="context://resources/forms/work.xml"/>
>   <map:redirect-to uri="clients"/>
>  </map:act>
> </map:match>
> 
> the action works fine, but the redirect doesn't occur. i end up with the
> good old 'Cocoon2 - Resource not found' error message. path-info is
> "add/work", not "clients" or even "add/clients". any clues?

Does the Action return a Map object?  If not anything inside the Act
declaration is skipped.

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


Mime
View raw message