cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Smirnoff" <asmirn...@vistar.ca>
Subject Re: New release 2.0.1 woes
Date Fri, 08 Feb 2002 16:29:02 GMT
Thanks, Vadim, for help it seems start to work. Just one intersting problem.

It looks like I missed many new features lately. One of those: I found out that on each
request context is changing to the directory where sitemap.xmap located. I do not use 
multiple sitemap application and I would like to freeze context to some specific lication

for each request.

Is there any way to do it?

Thanks,
Alex.

----- Original Message ----- 
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, February 05, 2002 3:24 PM
Subject: RE: New release 2.0.1 woes


> > From: Alexander Smirnoff [mailto:asmirnoff@vistar.ca]
> > 
> > Hi,
> > 
> > I was trying to integrate new cocoon 2.0.1 version with my old sitemap
> and
> > apparently It was not able to compile sitemap.xmap file
> > because of the next errors (2.0rc1 works without errors):
> > 
> > javax.xml.transform.TransformerException: Sitemap pipeline with
> > map:generate|aggregate|transform must have map:serialize.
> > 
> > as I understand sitemap is not able to compile because I have used
> something
> > like this:
> > 
> >         <map:match pattern="site/asset_mgmnt">
> >            <map:generate src="xsp/asset_mgmnt.xsp"
> type="serverpages"/>
> >            <map:redirect-to resource="look-and-feel"
> target="asset_mgmnt"/>
> >         </map:match>
> 
> This construct has been deprecated in favor of map:call. Once you
> replace it with map:call everything should be ok. From the sample
> sitemap:
> 
> <map:call resource="dynamic-page">
>   <map:parameter name="target"
> value="{../target}/state{../../../0}{../../0}"/>
> </map:call>
> 
> 
> 
> Vadim
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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