AW: Re: Re: Using absolute adresses in sitemap

2016-11-28 Thread hansheinrichbraun
(GMT+01:00) An: Cocoon Users <users@cocoon.apache.org> Betreff: Re: Re: Using absolute adresses in sitemap Hello Hans, You should try resolve absolute addresses within servlet or Java code, not within sitemap. We define absolute addresses in sitemap as a map parameter only in order to

AW: Re: Re: Using absolute adresses in sitemap

2016-11-28 Thread hansheinrichbraun
e: Re: Using absolute adresses in sitemap Hello Hans, You should try resolve absolute addresses within servlet or Java code, not within sitemap. We define absolute addresses in sitemap as a map parameter only in order to be resolved when Java code is being executed.. That is the only way to

AW: Re: Re: Using absolute adresses in sitemap

2016-11-28 Thread hansheinrichbraun
: gelo1234 <gelo1...@gmail.com> Datum: 28.11.16 08:36 (GMT+01:00) An: Cocoon Users <users@cocoon.apache.org> Betreff: Re: Re: Using absolute adresses in sitemap Hello Hans, You should try resolve absolute addresses within servlet or Java code, not within sitemap. We define absolu

Re: Re: Using absolute adresses in sitemap

2016-11-27 Thread gelo1234
Hello Hans, You should try resolve absolute addresses within servlet or Java code, not within sitemap. We define absolute addresses in sitemap as a map parameter only in order to be resolved when Java code is being executed.. That is the only way to get outside the cocoon context. As you know

AW: Re: Using absolute adresses in sitemap

2016-11-27 Thread hansheinrichbraun
etreff: Re: Using absolute adresses in sitemap On 26/11/2016 10:23, hansheinrichbraun wrote: > > how can i use absolute adresses in the sitemap in cocoon 3.0 > for example in src What do you mean exactly? -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tira

AW: Re: Using absolute adresses in sitemap

2016-11-27 Thread hansheinrichbraun
application works but with sitemap it doesn't work cocoon expects it in it's jar my last hope is to find a plugin which allows to implant a new sitmap in the WEB-INF/lib/cocoon.jar the other alternative i try now to build the pipeline implanted in my application with the miracle where fop expects

AW: Re: Using absolute adresses in sitemap

2016-11-26 Thread hansheinrichbraun
seems solved Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Francesco Chicchiriccò <ilgro...@apache.org> Datum: 26.11.16 12:32 (GMT+01:00) An: users@cocoon.apache.org Betreff: Re: Using absolute adresses in sitemap On 26/11/2016

AW: Re: Using absolute adresses in sitemap

2016-11-26 Thread hansheinrichbraun
users@cocoon.apache.org Betreff: Re: Using absolute adresses in sitemap On 26/11/2016 10:23, hansheinrichbraun wrote: > > how can i use absolute adresses in the sitemap in cocoon 3.0 > for example in src What do you mean exactly? -- Francesco Chicchiriccò Tirasa - Open Source

Re: Using absolute adresses in sitemap

2016-11-26 Thread Francesco Chicchiriccò
On 26/11/2016 10:23, hansheinrichbraun wrote: how can i use absolute adresses in the sitemap in cocoon 3.0 for example in src What do you mean exactly? -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon

Using absolute adresses in sitemap

2016-11-26 Thread hansheinrichbraun
how can i use absolute adresses in the sitemap in cocoon 3.0for example in src Von meinem Samsung Galaxy Smartphone gesendet.

Re: Cocoon 3 sitemap setup

2016-08-30 Thread Hans-Heinrich Braun
che.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

Re: Cocoon 3 sitemap setup

2016-08-25 Thread Artur Synowiec
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"/assi

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 samp

Cocoon 3 sitemap setup

2016-08-24 Thread Artur Synowiec
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

Re: Matching HTML GET parameters in sitemap

2016-06-30 Thread warrell harries
n 2016, 00:01 Charles Burd, < href="x-msg://17/user/SendEmail.jtp?type=nodenode=58674i=0" > target="_top" rel="nofollow" link="external">[hidden email]> wrote: > > In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match >>

Re: Matching HTML GET parameters in sitemap

2016-06-29 Thread crburd
] wrote: > You could use the select matcher which allows you to alter flow through the > pipeline based on a parameter value > > > On Wed, 29 Jun 2016, 00:01 Charles Burd, <[hidden email]> wrote: > In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match to

Re: Matching HTML GET parameters in sitemap

2016-06-29 Thread warrell harries
You could use the select matcher which allows you to alter flow through the pipeline based on a parameter value On Wed, 29 Jun 2016, 00:01 Charles Burd, <crb...@gmail.com> wrote: > In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match > to differentiate between a

Matching HTML GET parameters in sitemap

2016-06-28 Thread Charles Burd
In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match to differentiate between a URL that has no HTML GET parameters and one that does. For example, I want two different matches for the following URLs: foo.org foo.org?operation=bar Thanks, Charles Burd

RE: Calling function in root sitemap flow

2015-11-13 Thread Daniel Schmidt
Hi Bardo, there is no inheritance in what you're describing. However, there's a workaround a lot of people are using: --- ]> http://apache.org/cocoon/sitemap/1.0;> ... _global_resources; ... --- Where s

Calling function in root sitemap flow

2015-11-10 Thread Bardo Nelgen
Hi all, obviously I’m missing something: Could anyone please point me towards the proper method of calling a function in root sitemap flow (incl. passing parameters) from a sub-sitemap’s matcher ? Is this possible at all ? Thanks for any hint !! Best, Bardo

calling a sitemap-snippet from within a program

2014-03-21 Thread Yahoo
Hello Greg, is it possible to call a sitemap-snippet within a program an getting the respone inside a program? H.Braun - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Re: calling a sitemap-snippet from within a program

2014-03-21 Thread gelo1234
Hi, 1. Yes, it's possible. Since all sitemap matching URL's are actually kind of HTTP Servlets, you can just use any http client (e.g. Apache HttpClient) to invoke the servlet and get the response (if that is outside Cocoon): HttpClient client = new DefaultHttpClient(); HttpGet request = new

RE: sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3)

2013-02-19 Thread Robby Pelssers
@cocoon.apache.org Subject: Re: sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3) On 02/18/2013 02:50 PM, Thorsten Scherler wrote: On 02/11/2013 01:55 PM, gelo1234 wrote: ... So the setup(...) has access to sitemap parameters :) Why not setConfiguration(..) ? Does call

Re: sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3)

2013-02-18 Thread Francesco Chicchiriccò
On 18/02/2013 14:50, Thorsten Scherler wrote: On 02/11/2013 01:55 PM, gelo1234 wrote: ... So the setup(...) has access to sitemap parameters :) Why not setConfiguration(..) ? Does call: this.setup((MapString, Object) configuration) strips off?/adds? some unwanted/additional data for sitemap

Re: sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3)

2013-02-18 Thread gelo1234
to sitemap parameters :) Why not setConfiguration(..) ? Does call: this.setup((MapString, Object) configuration) strips off?/adds? some unwanted/additional data for sitemap-servlet framework ? As i recall setConfiguration is for Java only (without sitemap-servlet) Cocoon use and setup

Re: A generator with sitemap parameter in C3

2013-02-11 Thread Francesco Chicchiriccò
On 11/02/2013 12:07, gelo1234 wrote: Question 1: Can we have some example of this one ? map:generate type=some-custom map:parameter name=a value=1/ map:parameter name=b value=2/ /map:generate I mean, how to get sitemap parameter value from Java Generator code ? btw. Request Parameters

Re: A generator with sitemap parameter in C3

2013-02-11 Thread gelo1234
/) with HttpContextHelper - wonder if there is any equivalent Helper class for Cocoon Sitemap :) [1] https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java [2] https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-servlet/src/main/java

Re: A generator with sitemap parameter in C3

2013-02-11 Thread Francesco Chicchiriccò
=a value=jexl:cocoon.request.a/) with HttpContextHelper - wonder if there is any equivalent Helper class for Cocoon Sitemap :) Hi, [2] injects HTTP request parameters as sitemap parameters: here's why the usage of HttpContextHelper. Let's suppose you want to implement a generator able to deal

Re: A generator with sitemap parameter in C3

2013-02-11 Thread gelo1234
Thank you Francesco. That is what I was looking for!! :) So the setup(...) has access to sitemap parameters :) Why not setConfiguration(..) ? Does call: this.setup((MapString, Object) configuration) strips off?/adds? some unwanted/additional data for sitemap-servlet framework ? As i recall

Re: A generator with sitemap parameter in C3

2013-02-11 Thread Francesco Chicchiriccò
On 11/02/2013 13:55, gelo1234 wrote: Thank you Francesco. That is what I was looking for!! :) So the setup(...) has access to sitemap parameters :) Why not setConfiguration(..) ? Does call: this.setup((MapString, Object) configuration) strips off?/adds? some unwanted/additional data

Re: Passing parameters from sitemap readers.

2013-02-11 Thread Francesco Chicchiriccò
On 11/02/2013 15:08, Mansour Al Akeel wrote: I started using 3.0.0-beta-1-SNAPSHOT. I was prototyping with 3.0.0-alpha-3. However, I wrote a few readers where I can pass parameters as an attribute in the sitemap: For example: map:read type=myReader id={map:1} lang={map:2} prop={global:myProp

Re: Passing parameters from sitemap readers.

2013-02-11 Thread Mansour Al Akeel
can pass parameters as an attribute in the sitemap: For example: map:read type=myReader id={map:1} lang={map:2} prop={global:myProp} / After I switched to beta-1 I started getting: 8:54:14.567 [btpool0-1] ERROR o.a.cocoon.servlet.XMLSitemapServlet - Can't initialize the RequestProcessor

RE: Sitemap: Error calling continuation

2013-01-14 Thread Laurent Medioni
in the sitemap it has been created in. Laurent The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. Any use or disclosure of the contents of this e-mail/attachments by a not intended recipient

Sitemap: Error calling continuation

2013-01-11 Thread Dimitra Nefeli
of sitemaps, appearing the error: org.apache.cocoon.ProcessingExcetion: Sitemap: error calling continuation at map:call - file:///usr/local/fedora/tomcat/webapps/cocoon/dcEditor/sitemap.xmap at map:call - file:///usr/local/fedora/tomcat/webapps/cocoon/sitemap.xmap I don't know if this information

RE: Sitemap: Error calling continuation

2013-01-11 Thread Robby Pelssers
...@gmail.com] Sent: Friday, January 11, 2013 1:42 PM To: users@cocoon.apache.org Subject: Re: Sitemap: Error calling continuation On 01/11/2013 02:06 PM, Robby Pelssers wrote: Can you perhaps show the flowscript involved and the relevant sitemap snippets? Robby -Original Message- From

Re: Sitemap: Error calling continuation

2013-01-11 Thread Dimitra Nefeli
check-reload=${sitemap-mount.check-reload} src={1}/ uri-prefix={1}/ /map:match*. *Maybe this information can help Dimitra. * * On 01/11/2013 02:54 PM, Robby Pelssers wrote: I think you’re not using Cocoon2.2 so there might be some differences of course… And so far I have a hunch which

RE: Sitemap: Error calling continuation

2013-01-11 Thread Robby Pelssers
) } } At least it should show a stacktrace on your console. Robby From: Dimitra Nefeli [mailto:dimnefel...@gmail.com] Sent: Friday, January 11, 2013 2:21 PM To: users@cocoon.apache.org Subject: Re: Sitemap: Error calling continuation I just tried it but the problem persists The problem

Re: accessing a spring bean methods from sitemap

2012-11-13 Thread Mansour Al Akeel
to accomplish? Maybe you can do it purely in xslt.. just saying. Robby -Original Message- From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] Sent: Saturday, November 10, 2012 6:38 PM To: users Subject: accessing a spring bean methods from sitemap I need to link documents through

Re: accessing a spring bean methods from sitemap

2012-11-11 Thread Javier Puerto
Object getAttribute(String name) throws ConfigurationException { return getAttribute(name, null, null); } @Required public void setMap(InputModule map) { this.map = map; } } then use it in your sitemap with {collection:2.2} which should return 2.2

RE: accessing a spring bean methods from sitemap

2012-11-11 Thread Robby Pelssers
To: users Subject: accessing a spring bean methods from sitemap I need to link documents through some identification. For example, assuming that I have: articles/my-first-article.xml articles/second-one.xml articles/hello-world-article.xml books/book1.xml which has references to artice-1 and article

accessing a spring bean methods from sitemap

2012-11-10 Thread Mansour Al Akeel
to create a hashtable linking both so that I pass query param by ID or by name. The idea I have is to initialize spring bean that will extract the data from these files, and construct a MapString,String. My question is how can I access this HashTable from sitemap ?? I am using C2.2

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Francesco Chicchiriccò
from sitemap ?? I am using C2.2. Hi, I don't think there is any direct way to access an Hashtable from the sitemap: maybe the only chance is to get to it through flowscript... Don't have idea of how to access a Spring bean from flowscript, though... any C2.2. expert around? Regards

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Javier Puerto
the data from these files, and construct a MapString,String. My question is how can I access this HashTable from sitemap ?? I am using C2.2. Hi, I don't think there is any direct way to access an Hashtable from the sitemap: maybe the only chance is to get to it through flowscript... Don't

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Mansour Al Akeel
a MapString,String. My question is how can I access this HashTable from sitemap ?? I am using C2.2. Hi, I don't think there is any direct way to access an Hashtable from the sitemap: maybe the only chance is to get to it through flowscript... Don't have idea of how to access a Spring bean from

Re: accessing a spring bean methods from sitemap

2012-11-10 Thread Thorsten Scherler
public void setMap(InputModule map) { this.map = map; } } then use it in your sitemap with {collection:2.2} which should return 2.2. Oposiciones, concursos y otras convocatorias That should work in 2.2 (I have no time to test it so it may miss something in the extraction of the customer

Re: Cocoon 3.0-alpha sitemap properties

2012-11-05 Thread Mansour Al Akeel
Robby, Thank you for your reply. I don't see how the issue relates to the typo. Assuming this my current sitemap: ?xml version=1.0 encoding=UTF-8? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap; xmlns:servlet=http://apache.org/cocoon/servlet; xmlns:controller=http://apache.org/cocoon

RE: Cocoon 3.0-alpha sitemap properties

2012-11-05 Thread Robby Pelssers
runningMode=dev/ Robby -Original Message- From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] Sent: Monday, November 05, 2012 6:46 PM To: users@cocoon.apache.org Subject: Re: Cocoon 3.0-alpha sitemap properties Robby, Thank you for your reply. I don't see how the issue relates

Re: Cocoon 3.0-alpha sitemap properties

2012-11-05 Thread Mansour Al Akeel
[mailto:mansour.alak...@gmail.com] Sent: Monday, November 05, 2012 6:46 PM To: users@cocoon.apache.org Subject: Re: Cocoon 3.0-alpha sitemap properties Robby, Thank you for your reply. I don't see how the issue relates to the typo. Assuming this my current sitemap: ?xml version=1.0 encoding=UTF-8

RE: Cocoon 3.0-alpha sitemap properties

2012-11-04 Thread Robby Pelssers
: Cocoon 3.0-alpha sitemap properties I created a block for C3.0 and tried to use properties defined in a *.properties file. The logs show that the file has been found and I can see that properties are found loaded, for example: 935 2012-11-03 20:53:12,369 btpool0-1 DEBUG

RE: Cocoon 3.0-alpha sitemap properties

2012-11-04 Thread Robby Pelssers
Sorry... I will rephrase this ;-) In your property you used 'documenation' -- typo Robby -Original Message- From: Robby Pelssers [mailto:robby.pelss...@nxp.com] Sent: Monday, November 05, 2012 8:54 AM To: users@cocoon.apache.org Subject: RE: Cocoon 3.0-alpha sitemap properties

Cocoon 3.0-alpha sitemap properties

2012-11-03 Thread Mansour Al Akeel
I created a block for C3.0 and tried to use properties defined in a *.properties file. The logs show that the file has been found and I can see that properties are found loaded, for example: 935 2012-11-03 20:53:12,369 btpool0-1 DEBUG impl.SettingsBeanFactoryPostProcessor - Property:

two scripts to handle flowscript in one sitemap

2012-10-05 Thread Paul Joseph
Hi there, I have a flowscript that has a lot of functiofnality (functions). It is possible for one sitemap to handle more than one flowscript? That way I can split this file out into smaller units associated with the submenus. (Cocoon 2.1.11, Apache Tomcat 7, Windows 2008) brgds Paul

RE: two scripts to handle flowscript in one sitemap

2012-10-05 Thread Robby Pelssers
Not sure what you mean.. For all I know you can just store all your flowscripts in the flow folder and cocoon will load all of them on startup. So all functions should be available from your sitemap.. even when split into multiple files. So let's say you have File1: --- Function

Re: two scripts to handle flowscript in one sitemap

2012-10-05 Thread Javier Puerto
Hi Paul, I can tell you for 2.2 version, but you can try... 2012/10/5 Paul Joseph pjos...@gmail.com Hi there, I have a flowscript that has a lot of functiofnality (functions). It is possible for one sitemap to handle more than one flowscript? That way I can split this file out

Sitemap: path matching

2012-05-24 Thread Jos Snellings
Hi all, I am looking for a way to pass a variable number of sitemap parameters to a sitemap component: I explain the use case: ** stands for non-greedy multiple segment matcher, no? map:match pattern=retrievebypath/**/{name}.{extension} map:generate type=retrieve map:parameter

RE: Sitemap: path matching

2012-05-24 Thread Robby Pelssers
argument and let the generator extract the ids. Robby From: Jos Snellings [mailto:jos.snelli...@upperware.biz] Sent: Thursday, May 24, 2012 4:31 PM To: cocoon-us...@apache.org Subject: Sitemap: path matching Hi all, I am looking for a way to pass a variable number of sitemap parameters

Re: Sitemap: path matching

2012-05-24 Thread Jos Snellings
. ** ** Robby ** ** *From:* Jos Snellings [mailto:jos.snelli...@upperware.biz] *Sent:* Thursday, May 24, 2012 4:31 PM *To:* cocoon-us...@apache.org *Subject:* Sitemap: path matching ** ** Hi all, I am looking for a way to pass a variable number of sitemap parameters to a sitemap

RE: Sitemap: path matching

2012-05-24 Thread Robby Pelssers
@cocoon.apache.org Subject: RE: Sitemap: path matching The only way to work around this is what I've used in the past. matchbypath/index.html/virtualrootfolder/themes/conservation pattern=matchbypath/*.*/** From: Jos Snellings [mailto:jos.snelli...@upperware.biz] Sent: Thursday, May 24, 2012 4:45

Re: Sitemap: path matching

2012-05-24 Thread Jos Snellings
Yep, I will give that a try ! Thanks, Robby, Jos

Re: Sitemap: path matching

2012-05-24 Thread ktorres
the following sample matches as {foo/bar,baz,bug}. [1] http://cocoon.apache.org/2.1/userdocs/xslt-transformer.html Thanks. Kind regards, Karen Torres. Hi all, I am looking for a way to pass a variable number of sitemap parameters to a sitemap component: I explain the use case: ** stands

RE: Sitemap: path matching

2012-05-24 Thread Robby Pelssers
from typing all parameters as map:parameter .../ Robby -Original Message- From: ktor...@agssa.net [mailto:ktor...@agssa.net] Sent: Thursday, May 24, 2012 6:55 PM To: users@cocoon.apache.org Cc: cocoon-us...@apache.org Subject: Re: Sitemap: path matching Hello Gilbert, A way to catch

Cocoon 2.1 sitemap broken in Tomcat 6

2012-05-17 Thread Bob Harrod
We've recently upgraded our Cocoon 2.1 based web app from Tomcat 4 to Tomcat 6. Our sitemaps were written with a somewhat invalid matchers which worked in Tomcat 4: For example: map:match pattern=/basicthing ... /map:match Tomcat 6 more adequately adheres to the HTTP URL spec and appends a

Re: Cocoon 2.1 sitemap broken in Tomcat 6

2012-05-17 Thread Thorsten Scherler
On 05/17/2012 07:32 PM, Bob Harrod wrote: We've recently upgraded our Cocoon 2.1 based web app from Tomcat 4 to Tomcat 6. Our sitemaps were written with a somewhat invalid matchers which worked in Tomcat 4: For example: map:match pattern=/basicthing ... /map:match Tomcat 6 more adequately

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-05 Thread Mark H. Wood
On Fri, Mar 02, 2012 at 08:50:02PM +0100, Simone Tripodi wrote: apologize if Cocoon doesn't satisfy your expectations, but please take in consideration that actually there is not even a single entity sponsoring Cocoon development - I mean, no one of us is dedicated 100% of paid time to Cocoon

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Francesco Chicchiriccò
for starters. A tutorial could explain how to get things done without first studying two other frameworks.] Agreed: see my comment above. I hope that Lars will keep trying with C3, and maybe discover what's new behind traditional sitemap way to pipelines! Cheers. [1] https://forge.onehippo.org/gf

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Mark H. Wood
On Fri, Mar 02, 2012 at 10:08:41AM +0100, Francesco Chicchiriccò wrote: On 02/03/2012 07:47, Jos Snellings wrote: [...] And true, the documentation on the site does not make it easy enough to step up the threshold and upgrade. [@group: shouldn't we do something about that. Cocoon is

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Lars Huttar
Jos, thanks for these helpful instructions! I will create a sitemap at src/main/resources/COB-INF/sitemap.xmap and see how far that gets me. I agree, it would be very helpful to have a tutorial for newbies! I'll be happy to make a contribution. Lars On 3/2/2012 12:47 AM, Jos Snellings

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Jos Snellings
04:30 PM, Lars Huttar wrote: Jos, thanks for these helpful instructions! I will create a sitemap at src/main/resources/COB-INF/sitemap.xmap and see how far that gets me. I agree, it would be very helpful to have a tutorial for newbies! I'll be happy to make a contribution. Lars On 3/2/2012

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Simone Tripodi
Hi Mark, apologize if Cocoon doesn't satisfy your expectations, but please take in consideration that actually there is not even a single entity sponsoring Cocoon development - I mean, no one of us is dedicated 100% of paid time to Cocoon - so everybody involved here is juts a volunteer that

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Lars Huttar
Simone, The development work done on Cocoon is very much appreciated. Last summer, I did a reevaluation of Cocoon for a company project, after our using it for several years. I came close to switching to another framework, mainly because of the slow pace of development and low activity on

How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-01 Thread Lars Huttar
, and relativePath are a bit off from what would match the parent archetype generated by the instructions.) **The main thing I want to know, though,** is where do I start building a sitemap? In the working databases sample that I mentioned above, the only place I find a sitemap is under target/samples/COB-INF

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-01 Thread Jos Snellings
: ThingToKnow1: the elements you want to expose, and your sitemap are in the block. Your cocoon webapp is going to mount (my word choice) the blocks on a virtual path. ThingToKnow2: You control Mavens behaviour through editing pom.xml. Add your Cocoon block as dependency means that you are going

how to make sitemap entries case insensitive

2012-01-30 Thread Paul Joseph
Hi there, The cocoon site map is case sensitive ( http://cocoon.apache.org/2.1/userdocs/parameter-selector.html). I have the need to upload various images...I have a sitemap (parts shown below). map:match pattern=*.bmp map:read mime-type=image/bmp src=context://webtask/taskfiles/{0

RE: how to make sitemap entries case insensitive

2012-01-30 Thread Robby Pelssers
@cocoon.apache.org Subject: how to make sitemap entries case insensitive Hi there, The cocoon site map is case sensitive ( http://cocoon.apache.org/2.1/userdocs/parameter-selector.html). I have the need to upload various images...I have a sitemap (parts shown below). map:match pattern=*.bmp map:read

Re: how to make sitemap entries case insensitive

2012-01-30 Thread Paul Joseph
: Paul Joseph [mailto:pjos...@gmail.com] Sent: Monday, January 30, 2012 4:09 PM To: users@cocoon.apache.org Subject: how to make sitemap entries case insensitive Hi there, The cocoon site map is case sensitive ( http://cocoon.apache.org/2.1/userdocs/parameter-selector.html). I have the need

Re: how to make sitemap entries case insensitive

2012-01-30 Thread Jasha Joachimsthal
-selector.html ). I have the need to upload various images...I have a sitemap (parts shown below). map:match pattern=*.bmp map:read mime-type=image/bmp src=context://webtask/**taskfiles/{0}/ /map:match However the customer tried to upload a file whose extension was in CAPS

RE: how to make sitemap entries case insensitive

2012-01-30 Thread Robby Pelssers
Hi Jasha, Matching is not the issue for him I think. You're right that he can easily match on both .BMP and .bmp but there are some open ends to this: - Is the actual file extension using (always?) lower or uppercase? - Is there any direct support in the sitemap

Re: how to make sitemap entries case insensitive

2012-01-30 Thread Paul Joseph
easily match on both .BMP and .bmp but there are some open ends to this: -Is the actual file extension using (always?) lower or uppercase? -Is there any direct support in the sitemap to translate the extension to the correct format? For a windows environment your solution for matching on both

Re: how to make sitemap entries case insensitive

2012-01-30 Thread Jasha Joachimsthal
on both .BMP and .bmp but there are some open ends to this:** ** - Is the actual file extension using (always?) lower or uppercase? - Is there any direct support in the sitemap to translate the extension to the correct format? ** ** For a windows environment your

Re: how to make sitemap entries case insensitive

2012-01-30 Thread Paul Joseph
but there are some open ends to this: -Is the actual file extension using (always?) lower or uppercase? -Is there any direct support in the sitemap to translate the extension to the correct format? For a windows environment your solution for matching on both upper and lower case

Re: how to access post parameters from sitemap

2011-04-27 Thread Luca Morandini
On 04/26/2011 04:10 PM, Robby Pelssers wrote: When I post to this url firebug shows the id's are posted just fine. But when I debug the queryString is null when making post requests. When POST method is used, query string is null, since parameters are passed in the body of the request.

RE: how to access post parameters from sitemap

2011-04-27 Thread Robby Pelssers
them from within my sitemap. Will keep you posted ;-) void setup(SourceResolver resolver, Map objectModel, String source, Parameters parameters) Kind regards, Robby -Oorspronkelijk bericht- Van: Luca Morandini [mailto:lmorand...@ieee.org] Verzonden: wo 27-4-2011 11:29 Aan: users

RE: how to access post parameters from sitemap

2011-04-27 Thread Thorsten Scherler
retrieve those parameters from 'Map objectModel' without the need to inject them from within my sitemap. Will keep you posted ;-) void setup(SourceResolver resolver, Map objectModel, String source, Parameters parameters) If the component is under your control why not use the objectModel

RE: how to access post parameters from sitemap

2011-04-27 Thread Robby Pelssers
to access post parameters from sitemap On Wed, 2011-04-27 at 12:03 +0200, Robby Pelssers wrote: Hi Luca, thx for the reply... That was indeed the first option for me to consider. Unfortunately this solution will not work for me since I setup a highly generic pipeline which starts an xquery

Re: how to access post parameters from sitemap

2011-04-27 Thread Luca Morandini
On 04/27/2011 12:30 PM, Robby Pelssers wrote: that is exactly what i'm going to do. It can also get rid of that QueryStringAnalyzer I wrote. ;-) Wouldn't be simpler to use a pre-processing stage with the JX Template generator ? A fragment like this should make you access request

RE: how to access post parameters from sitemap

2011-04-27 Thread Robby Pelssers
pointers here? Cheers, Robby -Oorspronkelijk bericht- Van: Robby Pelssers [mailto:robby.pelss...@ciber.com] Verzonden: wo 27-4-2011 12:30 Aan: users@cocoon.apache.org Onderwerp: RE: how to access post parameters from sitemap Hi Thorsten, that is exactly what i'm going to do. It can also

RE: how to access post parameters from sitemap [resolved]

2011-04-27 Thread Robby Pelssers
, parameterValue); } } Thx for all the help. Robby -Oorspronkelijk bericht- Van: Robby Pelssers [mailto:robby.pelss...@ciber.com] Verzonden: wo 27-4-2011 12:53 Aan: users@cocoon.apache.org Onderwerp: RE: how to access post parameters from sitemap Ok... I'm facing a strange

how to access post parameters from sitemap

2011-04-26 Thread Robby Pelssers
/postprocessXqueryResults.xslt type=saxon/ map:serialize type=xml/ /map:match From the sitemap I inject the queryString into a custom XQueryGenerator and all request parameters are dynamically set before executing the xquery. However, When I post to this url firebug shows the id's are posted

Re: sitemap

2011-03-14 Thread Gabriel Gruber
I did use Dojo 1.2 and also 1.3 with cocoon 2.2. I do not see the need of any Dojo specific classes on the server side, in particular if you only return JSON or XML to the client (the REST way). One can generate Dojo specific HTML forms using a XSL stylesheet from cocoon 2.* generated HTML

Re: sitemap

2011-03-10 Thread Jos Snellings
Subject: sitemap Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: map:handle-errors map:select value={jexl:cocoon.exception.class.name} map:when contains=NoMatchingPipelineException map:generate src=error-handling/404.xml / map:serialize type=xhtml status

Re: sitemap

2011-03-10 Thread Andre Juffer
[mailto:jos.snelli...@pandora.be] Sent: jeudi 20 janvier 2011 14:07 To: users@cocoon.apache.org Subject: sitemap Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: map:handle-errors map:select value={jexl:cocoon.exception.class.name} map:when contains

sitemap

2011-01-20 Thread Jos Snellings
Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: map:handle-errors map:select value={jexl:cocoon.exception.class.name} map:when contains=NoMatchingPipelineException map:generate src=error-handling/404.xml / map:serialize type=xhtml status-code=404

RE: sitemap

2011-01-20 Thread Laurent Medioni
...@pandora.be] Sent: jeudi 20 janvier 2011 14:07 To: users@cocoon.apache.org Subject: sitemap Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: map:handle-errors map:select value={jexl:cocoon.exception.class.name} map:when contains=NoMatchingPipelineException

Re: Can I pass a sitemap resource as a parameter to an xslt transformer?

2011-01-17 Thread Jasha Joachimsthal
You don't need to pass it as a parameter. Just use map:aggregate with a map:part that gets all the authors. To cache the result of the SQL query you can use an expires pipeline with a very long expiration time. Jasha Joachimsthal j.joachimst...@onehippo.com - ja...@apache.org Hippo Europe •

Can I pass a sitemap resource as a parameter to an xslt transformer?

2011-01-14 Thread Des Magner
Hi I want to combine two pieces of XML that gets passed to my XSL transformation. I have a list of authors that needs only to be read once. I then have a page to edit different articles and this page must present the list of authors for selection. But I do not want to read the list of

RE: Can I pass a sitemap resource as a parameter to an xslt transformer?

2011-01-14 Thread Binkley, Peter
it from within the article.xsl using the cocoon: protocol, which is used to address a pipeline in the sitemap: xsl:variable name=authors select=document('cocoon:/authors')/ Resources are used when you want to include the same series of components in more than one pipeline. I don't think

Re: Cocoon 2.2 block+sitemap question

2010-11-03 Thread Fawzib Rojas
is have 2 projects one for us one for clients which seems extra work since the only difference is: a) block-b not included b) change a matcher in block-a sitemap from this: map:pipeline map:match pattern=document map:generate src=servlet:block-b:/document / map:serialize type=xml

Re: Cocoon 2.2 block+sitemap question

2010-11-03 Thread Andre Juffer
the relevant blocks of your webapp into a separate folder, then automatically replaces the relevant portions of your block a sitemap into something else that does not rely on block b, and, finally, run maven to create the war for your clients. You can do this each time you want to deploy

RE: Cocoon 2.2 block+sitemap question

2010-11-03 Thread Robby Pelssers
into the sitemap using cocoon-spring-configurator. The property then would get a different value depending on the environment profile which is loaded at initialization of the spring context. If my proposal is a suitable approach feel free to ask for more information if you get stuck. Kind

Cocoon 2.2 block+sitemap question

2010-11-02 Thread Fawzib Rojas
I have 2 blocks (block-a and block-b) and I want to serve an xml from block-b in block-a so i did the following: block-a/block-servlet-service.xml: servlet:context mount-path=/block-a context-path=blockcontext:/block-a/ servlet:connections entry key=block-b

  1   2   3   4   5   6   7   8   9   10   >