Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
You meant Cocoon Spring Configurator Settings ? Is it usable in spring config files only ... 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 Thorsten Scherler

Re: Cocoon 3.0 components

2013-06-20 Thread Thorsten Scherler
On 06/20/2013 03:42 PM, gelo1234 wrote: > Can you provide me with some simple example of that new language > interpreter (module) ? :) http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/expression/SettingsInterpreter.java?diff_format=h&view=mar

Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
Yes. It works!! Thank you. I thought it was just a dummy example :) That is what I need :) Greetings, Greg 2013/6/20 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

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: Greeting

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 > 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 >> check

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: Greetings, Greg [1] http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html

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 src="domain_X" check-reload="yes"/> > > so the configuration is as follows: > > > >

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 > check-reload="yes"/> >> >> so the configuration is as follows: >> >> >> >> >> > check-reload="yes"/> >> >>

Re: Cocoon 3.0 components

2013-06-20 Thread gelo1234
Thanks for clarifying this. Greetings, Greg 2013/6/20 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. > > name="request" src="org.apache.cocoon.

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. >>> >>> >> name="request" src="org.apache.cocoon.acting.RequestParamAction"/> >> >> No. > > It looks I might be wrong [1]

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 in examples sitemap.xmap under Is it possible to put straight under ? No; if you like XSD, you can take a look at [1] to know exactly what element is allowed at what place. And what

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. name="request" src="org.apache.cocoon.acting.RequestParamAction"/> No. It looks I might be wrong [1]: Thorsten, could you provide some more information here? Thanks. [1] https://

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. src="org.apache.cocoon.matching.WildcardURIMatcher"/> src="org.apache.cocoon.match

Re: Cocoon 3.0 components

2013-06-19 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 {jext:cocoon.reque

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 2

Re: Cocoon 3.0 components

2013-06-19 Thread gelo1234
Sorry for the mistyping: s/cutom/custom. One more question: I saw in examples sitemap.xmap under Is it possible to put straight under ? And what param? to use to select hostname of the incoming Request ? ? In 2.1 there was a HostSelector: http://cocoon.apache.org/2.1/userdocs/selectors.html

Cocoon 3.0 components

2013-06-19 Thread gelo1234
Hi all, I wonder if C3 still supports: 1. matchers in sitemap.xmap ? e.g. 2. selectors in sitemap.xmap ? e.g. 3. Is it possible to define cutom matchers/selectors ? Any examples ? 4. actions in sitemap.xmap ? e.g.