Re: block communication and page fragment

2008-07-25 Thread Mansour Al Akeel
Nothing seems to be working. Here's the contents of my servlet-servlet.xml for block3. bean id=block3 class=org.apache.cocoon.sitemap.SitemapServlet servlet:context mount-path=/block3 context-path=blockcontext:/block3/ servlet:connections entry key=block1

Re: block communication and page fragment

2008-07-24 Thread Joerg Heinicke
On 19.07.2008 19:26, Mansour Al Akeel wrote: Thank you, I am trying it now, but getting errors. I think it's with block communications. When I put this in my site map: map:aggregate element=root map:part src=cocoon:/block1/ /map:aggregate I get java.lang.StackOverflowError If I do this:

Re: block communication and page fragment

2008-07-24 Thread Alessandro Vincelli
If you are using cocoon blocks, the syntax is not correct , try with: map:aggregate element=root map:part src=servlet:/block1/somefile.blck1/ /map:aggregate and check [1]. Ciao Alessandro [1] http://cocoon.apache.org/2.2/1291_1_1.html Mansour Al Akeel wrote: Thank you, I am trying it

Re: block communication and page fragment

2008-07-22 Thread Mansour Al Akeel
Is there an answer to this question ? If more info is required please let me know. Mansour Al Akeel wrote: Thank you, I am trying it now, but getting errors. I think it's with block communications. When I put this in my site map: map:aggregate element=root map:part src=cocoon:/block1/

Re: block communication and page fragment

2008-07-19 Thread Mansour Al Akeel
Thank you, I am trying it now, but getting errors. I think it's with block communications. When I put this in my site map: map:aggregate element=root map:part src=cocoon:/block1/ /map:aggregate I get java.lang.StackOverflowError If I do this: map:aggregate element=root map:part

Re: Re: block communication and page fragment

2008-07-14 Thread Alessandro Vincelli
Very simple code, may be it can help you. map:match pattern=aggregate map:aggregate element=root map:part src=cocoon:/block1 / map:part src=cocoon:/block2 / /map:aggregate map:serialize type=xhtml / /map:match map:match pattern=block1 map:generate

RE: Re: block communication and page fragment

2008-07-14 Thread Heather Rankin
that outputs the assembled XML: map:match pattern=* map:generate src=myXML.xml/ map:serialize type=xml/ /map:match -Original Message- From: Alessandro Vincelli [mailto:[EMAIL PROTECTED] Sent: 14 July 2008 07:46 To: users@cocoon.apache.org Subject: Re: Re: block communication and page fragment

RE: block communication and page fragment

2008-07-13 Thread Alessandro Vincelli
You can use map:aggregate[1] there are some example on cocoon.zones.apache.org[2] Bye Alessandro [1] http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html [2] http://cocoon.zones.apache.org/demos/trunk/samples/core/aggregation/ Hello: I am wondering if there's a tutorial or example that

Re: block communication and page fragment

2008-07-13 Thread Mansour Al Akeel
Thank you for your reply. I need to aggregate fragments after the transformation. The examples are very useful but they show how to aggregate the xml docs into one then transforming them. For example, if I have two separate blocks, each of them generates html page, I need to put them in one