Re: Base de donnée XML OpenSource

2006-06-22 Thread Sylvain Wallez
Pierrick Brihaye wrote: Bonjour, Jean-Baptiste Quenot a écrit : snip/ Enfin, je rappelle qu'en l'état actuel des choses eXist ne peut pas être intégré à Cocoon 2.1 à cause d'une incompatibilité des licences, Apache d'un côté et LGPL de l'autre. Certes. Sur ce point, les positions

RE: fb:value et valeurs selectionnées dans une doubl e-listbox

2006-06-22 Thread Berengere.Genin
Bonjour, Existe-t-il une autre solution pour récupérer dans mon fichier binding les éléments sélectionnés dans ma double liste-box? Bérengère -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : Wednesday, June 21, 2006 17:56 À : users-fr@cocoon.apache.org

Re: fb:value et valeurs sel ectionnées dans une double-listbox

2006-06-22 Thread Jean-Baptiste Quenot
* [EMAIL PROTECTED]: je viens de remarquer que MultiValueJXPathBinding.java a changé entre la version 2.1.8 er la 2.1.9, y aurait-il un rapport avec mon problème? Bonjour Bérangère, Non le code n'a pas changé, qu'est-ce qui te fait dire ça? -- Jean-Baptiste Quenot aka John Banana

RE: fb:value et valeurs selectionnées dans une doubl e-listbox

2006-06-22 Thread Berengere.Genin
En fait, c'est en comparant MultiValueJXPathBinding.java de la version 2.1.8 et 2.1.9 que j'ai vue que différentes petites choses avaient changé. Ci-dessous les différences: lignes 17a18,19: version 2.1.8: import java.util.ArrayList; version 2.1.8: import java.util.Collections;

Re: fb:value et valeurs sel ectionnées dans une double-listbox

2006-06-22 Thread Jean-Baptiste Quenot
OK je vois en effet: r348415 | giacomo | 2005-11-23 13:06:39 +0100 (Mer, 23 nov 2005) | 1 line Changed paths: M /cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/binding/MultiValueJXPathBinding.java workaround for

RE: fb:value et valeurs selectionnées dans une doubl e-listbox

2006-06-22 Thread Berengere.Genin
J'ai remis multiValueContext.removeAll(this.rowPath); et commenté tout le code qui suit la ligne // TODO: This is a workaround. Mais après je ne sais pas trop comment faire pour que la modif soit prise en compte Bérengère -Message d'origine- De : Jean-Baptiste Quenot

RE: fb:value et valeurs sélectionnées dans une dou ble-listbox

2006-06-22 Thread Berengere.Genin
J'ai exécuté cocoon.sh...mais a priori ma modif n'a pas été prise en compte... J'ai dû zapper un truc... -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : Thursday, June 22, 2006 14:22 À : users-fr@cocoon.apache.org Objet : RE: fb:value et valeurs selectionnées

Serializers : parametres, attributs de session et requête

2006-06-22 Thread gael
Bonjour, Savez-vous s'il est possible : - De transmettre des parametres � un serializer, comme cela se fait pour les transformers ? - D'acceder aux attributs de session et/ou de requete de l'utilisateur dans un serializer ? - Si oui comment ? Merci, Ga�l,

Re: fb:value et valeurs s électionnées dans une double-listbox

2006-06-22 Thread Jean-Baptiste Quenot
* [EMAIL PROTECTED]: J'ai exécuté cocoon.sh...mais a priori ma modif n'a pas été J'prise en compte... ai dû zapper un truc... Il faut lancer le script build pour recompiler Cocoon. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/

Re: Base de donnée XML OpenSource

2006-06-22 Thread Pierrick Brihaye
Sylvain Wallez a écrit : Certes. Sur ce point, les positions sont probablement définitivement inconciliables. C'est la vie :-) Ca n'est pas dit: il y a des discussions actives entre la Fondation Apache (ASF) et la Free Software Foundation (FSF) pour définir clairement les limites de la

Re: Serializers : parametres, attributs d e session et requête

2006-06-22 Thread Sylvain Wallez
[EMAIL PROTECTED] wrote: Bonjour, Savez-vous s'il est possible : - De transmettre des parametres � un serializer, comme cela se fait pour les transformers ? Les serializers initialement (dans Cocoon 2.0) ne le permettaient pas, étant considérés comme de simples transcodeurs. Mais on a

Re: xmldb query on Cocoon 2.1.9 = error; works on 2.1.7

2006-06-22 Thread Antonio Gallardo
Antonio Gallardo escribió: Combinational Logic escribió: Thanks Antonio for your recommendation. I managed to get it working (without modifying any source) as follows: 1) checked out the most recent xindice from SVN 2) built xindice 3) replaced

Is using Cocoon a good idea?

2006-06-22 Thread Gnatz, Michael
As a newbie to cocoon I'm trying to see the advantages of this framework at the moment... We have a project based on cocoon here running for a few years now. As things normally are, developers did not have much time and many features to implement and so things are not as nice as one would

Zip Serializer - IE Access Problem

2006-06-22 Thread Florian Leinberger
Hi, I am generating a Zip-File using the zip-Serializer. When I access the URL with Firefox everything works well, but using IE I get the following Error Message: Die Internetseite konnte nicht geöffnet werden. Sie ist entweder nicht verfügbar oder konnte nicht gefunden werden. Rough

Re: Is using Cocoon a good idea?

2006-06-22 Thread Bertrand Delacretaz
On 6/22/06, Gnatz, Michael [EMAIL PROTECTED] wrote: ...When I just delete a template it might be in use anywhere in those 500 pagees and I might not recognize... I don't know of a tool that would help find out which XSLT templates are not used (which does not mean that such a tool does not

SetterAction

2006-06-22 Thread Merico Raffaele
Dear Community I'm using cocoon 2.1.8 and I'm looking for an example how to use the SetterAction. I would like to the set a value either in the session or in the current request. For your support many thanks in advance Raffaele

Re: Is using Cocoon a good idea?

2006-06-22 Thread Yves Vindevogel
I think the tool will be rename directory Rename your directory with XSL files, then run the pages and see what is missing. It'll take you an hour or so to copy each xsl file back when you see you need it. Once you ran through the whole site, all that's left in the renamed directory is

Re: Is using Cocoon a good idea?

2006-06-22 Thread Bertrand Delacretaz
On 6/22/06, Yves Vindevogel [EMAIL PROTECTED] wrote: I think the tool will be rename directory... I thought Michael was talking about unused xsl:template, not unused XSL transform files. If it's the latter, you're of course right! -Bertrand

RE: Is using Cocoon a good idea?

2006-06-22 Thread Ard Schrijvers
On 6/22/06, Gnatz, Michael [EMAIL PROTECTED] wrote: ...When I just delete a template it might be in use anywhere in those 500 pagees and I might not recognize... I don't know of a tool that would help find out which XSLT templates are not used (which does not mean that such a tool does

RE: Ajax Event Javascript

2006-06-22 Thread Martijn C. Vos
Nicolas Duroc [mailto:[EMAIL PROTECTED] wrote: I have a repeater in a table to build the rows. I use an add-row button with AJAX, and a delete-rows, all works fine, but I tried to use dojo drag'n drop ( dojo). When I use the AJAX buttons, dojo doesn't work anymore. I think the problem

Triggering reload of sitemap/resources

2006-06-22 Thread Nils Kaiser
Hello all! we are using cocoon as a kind of CMS supporting many 'sites'. At the moment we let cocoon reload sitemaps and xslt files. I could imagine that this is quite expensive in terms of performance. So the idea was to deactivate the reload (I know that it is possible for the sitemap),

AW: Is using Cocoon a good idea?

2006-06-22 Thread Gnatz, Michael
OK, I see the problem is not unknown... The more pages you have the harder it is. I just can't crawl all the pages in all existing variants (logged in or not, things in basket or not, ...). A gui test suite would be helpful, but we dont have one at the moment... Setting up gui tests, so

Michael Frankfurter istaußer Haus.

2006-06-22 Thread Michael . Frankfurter
Ich werde ab 22.06.2006 nicht im Büro sein. Ich kehre zurück am 17.07.2006. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden Fällen wenden Sie sich bitte an meinen Kollegen Hans-Thomas Nordeck: E-Mail: [EMAIL PROTECTED] Tel.: 05162 / 9815 85 Mit freundlichen Grüßen

Re: Is using Cocoon a good idea?

2006-06-22 Thread Bertrand Delacretaz
On 6/22/06, Gnatz, Michael [EMAIL PROTECTED] wrote: ...XSLT might be nice for small applications, but it does not scale up. So in general template matching is a misconception for larger applications, in my opinion at least... My experience after seeing quite a lot of XSLT in various

Re: AW: Is using Cocoon a good idea?

2006-06-22 Thread Stephen Winnall
I wonder if you are experiencing the old spaghetti code problem: you can write good, readable programs in assembly code and nasty, unreadable spaghetti in (insert your view of the perfect programming language). If this is the case, I sympathise with you because you have apparently inherited

AW: AW: Is using Cocoon a good idea?

2006-06-22 Thread Gnatz, Michael
I wonder if you are experiencing the old spaghetti code problem: you can write good, readable programs in assembly code and nasty, unreadable spaghetti in (insert your view of the perfect programming language). That is certainly right. But in practice I can't assume people writing nice code.

Authorised user name in sitemap?

2006-06-22 Thread Antony Quinn
Hello, My Cocoon application is protected with Tomcat basic authentication. How can I obtain the authorised user name in the sitemap? I found a reference to AuthenticationSelector [http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html] but could not find any documentation. Cheers,

Re: Authorised user name in sitemap?

2006-06-22 Thread Stavros Kounis
Hi antony maybe this sitemap fragment help you map:match pattern=internal/protected_*.flow map:select type=request-method map:when test=POST

Re: get sitemap uri

2006-06-22 Thread Lars Huttar
[EMAIL PROTECTED] wrote: Hi! I need to have the uri of my sitemap in the form: http://localhost:8080/cocoon/app (The file sitemap.xmap is in the app directory). How can I get it and save it in a global variable of the sitemap? Kathi Use the Request Input Module, with the sitemapURI

how to access an https web service from within Cocoon?

2006-06-22 Thread Lars Huttar
Hello, We have a Cocoon application that has been accessing a web service to get some data. It uses your basic map:generate src=http://remotehost/blah/blah; / It's all worked fine in development, but now in QA and production, the web service will be accessible only via https through a

Re: how to access an https web service from within Cocoon?

2006-06-22 Thread Yves Vindevogel
Take a look in the man pages of SSH. There's a part on those keys in it. When the key is found already, it does not ask anything. You can generate those keys yourself and store them before Cocoon gets to the site. Lars Huttar wrote: Hello, We have a Cocoon application that has been

RE: Is using Cocoon a good idea?

2006-06-22 Thread Binkley, Peter
Title: Re: xmldb query on Cocoon 2.1.9 = error; works on 2.1.7 Here's one approach: you could add a distinctivexsl:message to every template (write a stylesheet to do this automatically to all your existing stylesheets) containing the name of the file and the match attribute of the template

Re: how to access an https web service from within Cocoon?

2006-06-22 Thread Antony Quinn
Lars, If the web service uses basic authentication you can embed the user name and password in the URL, for example: map:generate src=https://username:[EMAIL PROTECTED]/blah/blah / Cheers, Antony Lars Huttar wrote: Hello, We have a Cocoon application that has been accessing a web service

Re: how to access an https web service from within Cocoon?

2006-06-22 Thread Lars Huttar
Yves Vindevogel wrote: Take a look in the man pages of SSH. There's a part on those keys in it. When the key is found already, it does not ask anything. You can generate those keys yourself and store them before Cocoon gets to the site. Thank you for the hints... How do I tell Cocoon where

Cocoon and Eclipse Problems

2006-06-22 Thread markricard
In eclipse, we get compilation errors on the xml that begins with: fd:form xmlns=http://apache.org/cocoon/forms/1.0#definition; xmlns:i18n=http://apache.org/cocoon/i18n/2.1; xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; The error is: 2 cvc-elt.1: Cannot find the

RE: Is using Cocoon a good idea?

2006-06-22 Thread Geert Josten
Hi Michael, XSLT might be nice for small applications, but it does not scale up. So in general template matching is a misconception for larger applications, in my opinion at least... As said by others, more or less, it is just a matter of discipline and optimally using all the features

Aggregation without matchers

2006-06-22 Thread Brian Hawkins
I have several generators that I aggregate together. The problem I'm having is that I have to create a matcher for each generator so it can be used as part of the aggregation. Is there a better way to aggregate without creating a matcher for each generator. Thanks Brian begin:vcard fn:Brian