cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: Problem with handle-errors and sub-sitemap
Date Tue, 04 Sep 2001 15:51:48 GMT
Hmm, it's not working here:

- Page http://localhost:8080/cocoon/sub/generror is the servlet error page!
- Page http://localhost:8080/cocoon/generror is the correct one.
- Page http://localhost:8080/cocoon/sub/does-not-exist is served by the
subsitemap.

Carsten

> -----Ursprüngliche Nachricht-----
> Von: Vadim Gritsenko [mailto:vgritsenko@hns.com]
> Gesendet: Dienstag, 4. September 2001 17:43
> An: cocoon-dev@xml.apache.org
> Betreff: RE: Problem with handle-errors and sub-sitemap
>
>
> Carsten,
>
> Yes, it is working. Test case:
> Page http://localhost:8080/cocoon/sub/generror should match
> http://localhost:8080/cocoon/generror
> (they both are generated by main sitemap handler).
> And http://localhost:8080/cocoon/sub/does-not-exist should
> present customized (by subsitemap)
> page.
>
> Thanks,
> Vadim
>
> > -----Original Message-----
> > From: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> > Sent: Tuesday, September 04, 2001 11:27 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: AW: Problem with handle-errors and sub-sitemap
> >
> >
> > Vadim,
> >
> > I changed your solution a little bit, could you please verify
> > if this is working (or is there an example I could test) ?
> >
> > Carsten
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Vadim Gritsenko [mailto:vgritsenko@hns.com]
> > > Gesendet: Dienstag, 4. September 2001 16:00
> > > An: cocoon-dev@xml.apache.org
> > > Betreff: RE: Problem with handle-errors and sub-sitemap
> > >
> > >
> > > Hi Carsten,
> > >
> > > Welcome back. Nope, I am deep in paid work right now,
> > > and expect to be there for a month or so...
> > >
> > > PS: About "AW: [C2] cocoon:/ url's don't work from root to
> subsitemap",
> > > I think the isue is still there - check
> http://localhost:8080/cocoon/sub/
> > >
> > > Vadim
> > >
> > > > -----Original Message-----
> > > > From: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> > > > Sent: Tuesday, September 04, 2001 3:57 AM
> > > > To: cocoon-dev@xml.apache.org
> > > > Subject: AW: Problem with handle-errors and sub-sitemap
> > > >
> > > >
> > > > Hi Vadim,
> > > >
> > > > did you find a better solution or should I take a look at it?
> > > >
> > > > Carsten
> > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Vadim Gritsenko [mailto:vgritsenko@hns.com]
> > > > > Gesendet: Montag, 20. August 2001 23:59
> > > > > An: Cocoon Developers
> > > > > Betreff: Problem with handle-errors and sub-sitemap
> > > > >
> > > > >
> > > > > Carsten,
> > > > >
> > > > > I found one more problem after your checkin
> > > > > "Redesigned the handling of the cocoon: protocol"
> > > > > with handle-errors elements and sub-sitemaps.
> > > > >
> > > > > If exception is thrown in subsitemap, handle-error in
> > > > > parent sitemap can not be handled correctly as state of the
> > > > > environment (namely, "prefix" attribute) has been changed.
> > > > >
> > > > > I applied quick-and-dirty fix to this in hope that you
> > > > > will come up with something better then setPrefix() method
> > > > > on environment.
> > > > >
> > > > > Thanks,
> > > > > Vadim
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


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


Mime
View raw message