Re: Cocoon 3 sitemap setup

2016-08-30 Thread Hans-Heinrich Braun
I solved it by running cocoon as an own application together with my main 
application communication by Rest.Cocoon makes my pdf generation and email 
message work i couldn't find anything other open source software to do it as 
well as cocoon although cocoon always  makes  some environmental problems but 
which could all be solved.At the moment i am bringing it to openshift. And 
since i decided also to go with angulat cocoon's restful capabilities became 
new revival

  Von: Artur Synowiec 
 An: "users@cocoon.apache.org"  
 Gesendet: 13:20 Mittwoch, 24.August 2016
 Betreff: Cocoon 3 sitemap setup
   

Hello,
I need some help with setting up Cocoon 3 sitemap.
I have used Cocoon 2.1 and 2.2 in the past and enjoyed the simplicity of the 
XML transformationusing sitemap language.
Now I would like to get a hand of Cocoon 3. I've successfully managed to 
integrateC3 pipeline processor with other Java applications (based on Spring 
Boot) butI would love to make it work again with sitemap. I can see a few 
examples on the webof people using C3 inside their apps but couldn't see any 
example of mounting a sitemap.xmap
Ideally I would like to integrate it with a Spring Boot app and mount 
XMLSitemapServlet in there.I have managed to do it using a class implementing 
Spring's ServletContextInitializer but I'm getting this exception:
java.lang.IllegalStateException: Received closing 'match' but there was no node 
to close.I think it could be something to do with creating a Spring bean of 
org.apache.cocoon.sitemap.node.SitemapNode/sitemapwhich is needed for 
SitemapNodeFactory's createNode() method.
I would appreciate any help on this.
Regards,Artur


   

Re: Cocoon 3 sitemap setup

2016-08-25 Thread Artur Synowiec
Cheers Greg,
yep, I've seen this example. Works nicely but there are dependencies to Spring 
3.Couldn't get it to work with Spring Boot though.
Artur
psGrzegorz to ty? Pamiętam Cię z Cocoon gettogether Rome :)Co prabiasz 
dzisiejszymi czasy?

  From: gelo1234 <gelo1...@gmail.com>
 To: Cocoon Users <users@cocoon.apache.org>; Artur Synowiec 
<asyno...@yahoo.com> 
 Sent: Wednesday, August 24, 2016 4:56 PM
 Subject: Re: Cocoon 3 sitemap setup
   
Hi,AFAIK there is no more direct sitemap mounting in C3. You have to make a 
separate C3 module/block and "mount"/assign a context to it.
Then you can connect 2 or more Cocoon blocks together in order to share some 
common servlet or functionality.Take a look at Cocoon samples:
https://github.com/ilgrosso/cocoon3EmptyProject/tree/COCOON3-105Greetings,
Greg
24.08.2016 13:21 "Artur Synowiec" <asyno...@yahoo.com.invalid> napisał(a):


Hello,
I need some help with setting up Cocoon 3 sitemap.
I have used Cocoon 2.1 and 2.2 in the past and enjoyed the simplicity of the 
XML transformationusing sitemap language.
Now I would like to get a hand of Cocoon 3. I've successfully managed to 
integrateC3 pipeline processor with other Java applications (based on Spring 
Boot) butI would love to make it work again with sitemap. I can see a few 
examples on the webof people using C3 inside their apps but couldn't see any 
example of mounting a sitemap.xmap
Ideally I would like to integrate it with a Spring Boot app and mount 
XMLSitemapServlet in there.I have managed to do it using a class implementing 
Spring's ServletContextInitializer but I'm getting this exception:
java.lang. IllegalStateException: Received closing 'match' but there was no 
node to close.I think it could be something to do with creating a Spring bean 
of org.apache.cocoon.sitemap. node.SitemapNode/sitemapwhich is needed for 
SitemapNodeFactory's  createNode() method.
I would appreciate any help on this.
Regards,Artur



   

Re: Cocoon 3 sitemap setup

2016-08-24 Thread gelo1234
Hi,

AFAIK there is no more direct sitemap mounting in C3. You have to make a
separate C3 module/block and "mount"/assign a context to it.
Then you can connect 2 or more Cocoon blocks together in order to share
some common servlet or functionality.

Take a look at Cocoon samples:
https://github.com/ilgrosso/cocoon3EmptyProject/tree/COCOON3-105

Greetings,
Greg

24.08.2016 13:21 "Artur Synowiec"  napisał(a):

> Hello,
>
> I need some help with setting up Cocoon 3 sitemap.
>
> I have used Cocoon 2.1 and 2.2 in the past and enjoyed the simplicity of
> the XML transformation
> using sitemap language.
>
> Now I would like to get a hand of Cocoon 3. I've successfully managed to
> integrate
> C3 pipeline processor with other Java applications (based on Spring Boot)
> but
> I would love to make it work again with sitemap. I can see a few examples
> on the web
> of people using C3 inside their apps but couldn't see any example of
> mounting a sitemap.xmap
>
> Ideally I would like to integrate it with a Spring Boot app and
> mount XMLSitemapServlet in there.
> I have managed to do it using a class implementing Spring's
> ServletContextInitializer but I'm getting this exception:
>
> java.lang.IllegalStateException: Received closing 'match' but there was
> no node to close.
> I think it could be something to do with creating a Spring bean
> of org.apache.cocoon.sitemap.node.SitemapNode/sitemap
> which is needed for SitemapNodeFactory's createNode() method.
>
> I would appreciate any help on this.
>
> Regards,
> Artur
>
>