Re: Cocoon 3.0 components

2013-06-20 Thread Francesco Chicchiriccò
On 19/06/2013 22:06, gelo1234 wrote: I wonder if C2.2 flowscript request object can be followed here in C3: http://cocoon.apache.org/2.2/blocks/flowscript/1.0/1383_1_1.html Flowscript is not available in C3. and we can use something like: {jexl:cocoon.request.serverName} or

Re: Cocoon 3.0 components

2013-06-20 Thread Francesco Chicchiriccò
On 19/06/2013 20:46, gelo1234 wrote: Hi all, I wonder if C3 still supports: As you have already done, take [1] as general reference of what it is possible in C3 sitemaps. 1. matchers in sitemap.xmap ? e.g. map:matchers default=wildcard map:matcher logger=sitemap.matcher.wildcard

Re: Cocoon 3.0 components

2013-06-20 Thread Francesco Chicchiriccò
On 20/06/2013 09:07, Francesco Chicchiriccò wrote: 4. actions in sitemap.xmap ? e.g. map:actions map:action logger=sitemap.action.request name=request src=org.apache.cocoon.acting.RequestParamAction/ No. It looks I might be wrong [1]: Thorsten, could you provide

Re: Cocoon 3.0 components

2013-06-20 Thread Francesco Chicchiriccò
On 19/06/2013 21:18, gelo1234 wrote: Sorry for the mistyping: s/cutom/custom. One more question: I saw map:select ... in examples sitemap.xmap under map:match ... Is it possible to put map:select ... straight under map:pipeline ? No; if you like XSD, you can take a look at [1] to know

Re: Cocoon 3.0 components

2013-06-20 Thread Thorsten Scherler
On 06/20/2013 09:15 AM, Francesco Chicchiriccò wrote: On 20/06/2013 09:07, Francesco Chicchiriccò wrote: 4. actions in sitemap.xmap ? e.g. map:actions map:action logger=sitemap.action.request name=request src=org.apache.cocoon.acting.RequestParamAction/ No. It

Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
Thanks for clarifying this. Greetings, Greg 2013/6/20 Thorsten Scherler scher...@gmail.com On 06/20/2013 09:15 AM, Francesco Chicchiriccò wrote: On 20/06/2013 09:07, Francesco Chicchiriccò wrote: 4. actions in sitemap.xmap ? e.g. map:actions map:action

Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
I've got Cocoon site that hosts multiple www domains, all based on the same sitemap.xmap with map:mount uri-prefix= src=domain_X check-reload=yes/ so the configuration is as follows: map:pipeline map:select type=cutomDomainSelector map:when

Re: Cocoon 3.0 components

2013-06-20 Thread Thorsten Scherler
On 06/20/2013 03:02 PM, gelo1234 wrote: I've got Cocoon site that hosts multiple www domains, all based on the same sitemap.xmap with map:mount uri-prefix= src=domain_X check-reload=yes/ so the configuration is as follows: map:pipeline

Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
Any idea how to get HTTP Header named Host ? or any other HTTP Header value ? [1] tried cocoon.request.header['Host'], cocoon.request.header.host without effect I managed to get only requestURL: map:parameter name=host value={jexl:cocoon.request.requestURL}/ Greetings, Greg [1]

Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
Can you provide me with some simple example of that new language interpreter (module) ? :) Greetings, Greg 2013/6/20 Thorsten Scherler scher...@gmail.com On 06/20/2013 03:02 PM, gelo1234 wrote: I've got Cocoon site that hosts multiple www domains, all based on the same sitemap.xmap

Re: Cocoon 3.0 components

2013-06-20 Thread Francesco Chicchiriccò
On 20/06/2013 15:37, gelo1234 wrote: Any idea how to get HTTP Header named Host ? Doesn't jexl:cocoon.request.serverName work? or any other HTTP Header value ? [1] tried cocoon.request.header['Host'], cocoon.request.header.host without effect I managed to get only requestURL:

Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
You meant Cocoon Spring Configurator Settings ? Is it usable in spring config files only beans.../beans or within sitemap.xmap also ? Can you show the example usage of that settings in sitemap.xmap ? Where do I define the namespace prefix for that Interpreter ? Greetings, Greg 2013/6/20

Re: Cocoon 3.0 components

2013-06-19 Thread gelo1234
Sorry for the mistyping: s/cutom/custom. One more question: I saw map:select ... in examples sitemap.xmap under map:match ... Is it possible to put map:select ... straight under map:pipeline ? And what param? to use to select hostname of the incoming Request ? map:select

Re: Cocoon 3.0 components

2013-06-19 Thread gelo1234
I wonder if C2.2 flowscript request object can be followed here in C3: http://cocoon.apache.org/2.2/blocks/flowscript/1.0/1383_1_1.html and we can use something like: {jexl:cocoon.request.serverName} or {jext:cocoon.request.header.host} ? Is any info available about C3 request object ? -Greg