block communication and page fragment
Hello: I am wondering if there's a tutorial or example that shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: block communication and page fragment
You can use [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 shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: block communication and page fragment
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 single page after the html is generated. Is this possible? Alessandro Vincelli wrote: You can use [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 shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: block communication and page fragment
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: I get java.lang.StackOverflowError If I do this: javax.servlet.ServletException: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: block1/somefile.blck1 By the way, I can access http://localhost:8080/cocoon/block1/somefile.blck1 with no any problems ! Alessandro Vincelli wrote: Very simple code, may be it can help you. 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 single page after the html is generated. Is this possible? Alessandro Vincelli wrote: You can use [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 shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: block communication and page fragment
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: I get java.lang.StackOverflowError If I do this: javax.servlet.ServletException: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: block1/somefile.blck1 By the way, I can access http://localhost:8080/cocoon/block1/somefile.blck1 with no any problems ! Alessandro Vincelli wrote: Very simple code, may be it can help you. 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 single page after the html is generated. Is this possible? Alessandro Vincelli wrote: You can use [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 shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: block communication and page fragment
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: I get java.lang.StackOverflowError If I do this: javax.servlet.ServletException: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: block1/somefile.blck1 If you are using Cocoon 2.2 with actual blocks (compared to 2.1) you probably have to use the block protocol rather than cocoon protocol. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: block communication and page fragment
If you are using cocoon blocks, the syntax is not correct , try with: 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 now, but getting errors. I think it's with block communications. When I put this in my site map: I get java.lang.StackOverflowError If I do this: javax.servlet.ServletException: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: block1/somefile.blck1 By the way, I can access http://localhost:8080/cocoon/block1/somefile.blck1 with no any problems ! Alessandro Vincelli wrote: Very simple code, may be it can help you. 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 single page after the html is generated. Is this possible? Alessandro Vincelli wrote: You can use [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 shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: block communication and page fragment
Nothing seems to be working. Here's the contents of my servlet-servlet.xml for block3. context-path="blockcontext:/block3/"> Here's the sitemap And here's servlet-service.xml for block1: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:servlet="http://cocoon.apache.org/schema/servlet"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://cocoon.apache.org/schema/servlet http://cocoon.apache.org/schema/servlet/cocoon-servlet-1.0.xsd";> context-path="blockcontext:/block1/" /> This is the exception: javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Failed to process pipeline at - file:///opt/Programs/apache-tomcat-6.0.14/work/Catalina/localhost/cocoon/blocks/block3/sitemap.xmap:9:38 at - file:///opt/Programs/apache-tomcat-6.0.14/work/Catalina/localhost/cocoon/blocks/block3/sitemap.xmap:5:30 I am missing something, but what is't? Any Idea ? Alessandro Vincelli wrote: If you are using cocoon blocks, the syntax is not correct , try with: 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 now, but getting errors. I think it's with block communications. When I put this in my site map: I get java.lang.StackOverflowError If I do this: javax.servlet.ServletException: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: block1/somefile.blck1 By the way, I can access http://localhost:8080/cocoon/block1/somefile.blck1 with no any problems ! Alessandro Vincelli wrote: Very simple code, may be it can help you. 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 single page after the html is generated. Is this possible? Alessandro Vincelli wrote: You can use [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 shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: block communication and page fragment
Very simple code, may be it can help you. 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 single page after the html is generated. Is this possible? Alessandro Vincelli wrote: You can use [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 shows how to aggregate multiple fragments into one page. I have few blocks, each of them generates part of the web page. I need to put the results into one single page. is this possible ? How? is there any tutorials or examples ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: block communication and page fragment
Or you can use the Include Transformer. Create a skeleton XML file that references the XML fragments/transformation results you want to piece together. E.g. myXML.xml: Pulls in the XML generated from the following block fragments: And your main pipeline/match that outputs the assembled XML: -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 Very simple code, may be it can help you. > 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 single page after the html is generated. Is > this possible? > > > Alessandro Vincelli wrote: >> You can use [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 shows how to >>> aggregate multiple fragments into one page. I have few blocks, each >>> of them generates part of the web page. I need to put the results >>> into one single page. is this possible ? How? is there any tutorials >>> or examples ? >>> >>> >>> >>> >>> - To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]