cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [c2] problem with actions
Date Wed, 18 Apr 2001 16:48:34 GMT
On Wed, 18 Apr 2001, Berin Loritsch 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.

uh, it's your database add action, i'd think you'd know. ;) well, hmm,
just looked in the source, and it always returns null. how were you
planning on reporting success or failure?

- donald


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


Mime
View raw message