Re: GPL vs ASL (tait Re: [ANNONCE] Myotis 0.80)

2005-04-04 Thread Frdric Glorieux
Merci beaucoup Sylvain pour cette rponse. J'tais dj d'accord avec les 4 lignes, je me permettrais juste quelques remarques, qui pondrent mais je ne crois pas contredisent le propos. Frdric Glorieux wrote: ??? je ne comprends pas bien ce point. Et quand le client demande du GPL ? Dans le cas

Re: Parametres

2005-04-04 Thread douentza douentza
Merci Sylvain, J'arrive maintenant a le faire passer dans l'url du style href=aaabbb?page_number=$page_numberamp;are_name=$area_name Mais cette solution ne me seduit pas, n'est t'il pas possible de les avoirs tous dans un endroit (dans le flow). Mais les exemples sur web sont assez rares a

Re: Parametres

2005-04-04 Thread Aurélien DEHAY
Bonjour. Le lundi 04 avril 2005 10:04 +0200, douentza douentza a crit : Merci Sylvain, J'arrive maintenant a le faire passer dans l'url du style href=aaabbb?page_number=$page_numberamp;are_name=$area_name Mais cette solution ne me seduit pas, n'est t'il pas possible de les avoirs

Re: Parametres

2005-04-04 Thread douentza douentza
Bonjour, Oui 'est bien cela. Mes deux parametres vont etre untiliser durant toute la session d'un utilisateur. Merci d'avance Aurélien DEHAY [EMAIL PROTECTED] wrote: Bonjour. Le lundi 04 avril 2005 à 10:04 +0200, douentza douentza a écrit : Merci Sylvain, J'arrive maintenant a le faire

Re: Parametres

2005-04-04 Thread Aurélien DEHAY
Le lundi 04 avril 2005 10:44 +0200, douentza douentza a crit : Bonjour, Oui 'est bien cela. Mes deux parametres vont etre untiliser durant toute la session d'un utilisateur. Ok, donc, tu dois avoir un truc comme a dans le flowscript: var formulaire = new Form(form-definition.xml);

Re: GPL vs ASL (tait Re: [ANNONCE] Myotis 0.80)

2005-04-04 Thread Sylvain Wallez
Frdric Glorieux wrote: Merci beaucoup Sylvain pour cette rponse. J'tais dj d'accord avec les 4 lignes, je me permettrais juste quelques remarques, qui pondrent mais je ne crois pas contredisent le propos. Frdric Glorieux wrote: ??? je ne comprends pas bien ce point. Et quand le client demande

Re: Parametres

2005-04-04 Thread douentza douentza
J'avais lu le cas registration. Peut etre je l'avais mal modifier ou mal compris, mais une fois que le cocoon.sendPage(confirmer.message, {page_number: page_number, area_name: area_name) effectuer, je perdais les donnees. Pour plus de precision, confirmer.message correpondant a mon map:match

Re: Parametres

2005-04-04 Thread Aurélien DEHAY
Le lundi 04 avril 2005 11:22 +0200, douentza douentza a crit : J'avais lu le cas registration. Peut etre je l'avais mal modifier ou mal compris, mais une fois que le cocoon.sendPage(confirmer.message, {page_number: page_number, area_name: area_name) effectuer, je perdais les donnees. Pour

Re: Parametres

2005-04-04 Thread douentza douentza
Voici un boup de mon code: -- === Le FLOW : cocoon.load("resource://org/apache/cocoon/forms/flow/_javascript_/Form.js"); function transactionreport() { var form = new Form("forms/transactionreport.xml"); // The showForm function will keep redisplaying the form until // everything is

Cocoon et Maven

2005-04-04 Thread Sébastien ARBOGAST
Bonjour, Je suis en train de découvrir Maven et j'ai suivi ce tutoriel sur le Wiki (http://wiki.apache.org/cocoon/HowToBuildAndDeployCocoonWithMaven) pour l'intégrer à Cocoon. J'ai suivi l'option 2 et tout semble fonctionner. J'ai simplement un petit souci : si je fais une copie de certains

Re: Gros cache (était Re: Erreur 304, cache problem)

2005-04-04 Thread Frédéric Glorieux
Sylvain Wallez wrote: Frédéric Glorieux wrote: Il doit être bourré de vieilles entrées inutiles. Une solution serait peut-être de le vider explicitement régulièrement On peut peut donc passer ce genre de consignes à un sysadmin. (il y a une action clearcache pour ça). Je n'avais pas vraiment

RE: Cocoon et Maven

2005-04-04 Thread eric . jacob
-Original Message- From: Sébastien ARBOGAST [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 1:40 PM To: users-fr@cocoon.apache.org Subject: Cocoon et Maven Bonjour, Je suis en train de découvrir Maven et j'ai suivi ce tutoriel sur le Wiki

Cocoon 2.1.17 (jdk1.5.0) / Tomcat 4.1.27

2005-04-04 Thread Alain Bret
Bonjour à tous, Je viens de tenter la nouvelle version de Cocoon et j'obtiens ce qui suit. Un petit conseil ? Alain Initialization Problem Message: Scheduler with name 'Cocoon' already exists. Description: org.apache.avalon.framework.configuration.ConfigurationException: cannot create a

Re: Cocoon 2.1.17 (jdk1.5.0) / Tomcat 4.1.27

2005-04-04 Thread Bertrand Delacretaz
Le 4 avr. 05, à 23:20, Alain Bret a écrit : Scheduler with name 'Cocoon' already exists. Je n'ai pas la réponse précise (et il est un peu tard ;-) mais désactiver le block cron devrait résoudre temporairrement le problème. Voir http://www.mail-archive.com/users@cocoon.apache.org/msg23077.html

Re: Cocoon 2.1.17 (jdk1.5.0) / Tomcat 4.1.27

2005-04-04 Thread Bertrand Delacretaz
...ah pardon j'avais loupé le jdk1.5.0: il n'est pas encore supporté officiellement, si tu peux tester avec un JDK 1.4 ça ira sûrement mieux. -Bertrand smime.p7s Description: S/MIME cryptographic signature

Re: Cocoon 2.1.17 (jdk1.5.0) / Tomcat 4.1.27

2005-04-04 Thread Alain Bret
Bertrand Delacretaz a écrit : ...ah pardon j'avais loupé le jdk1.5.0: il n'est pas encore supporté officiellement, si tu peux tester avec un JDK 1.4 ça ira sûrement mieux. -Bertrand Merci pour les infos. Je testerai demain ;-) Alain -- Alain Bret - conseiller senior| [EMAIL PROTECTED]

Re: Gros cache (était Re: Erreur 304, cache problem)

2005-04-04 Thread Frédéric Glorieux
Bertrand Delacretaz wrote: Le 4 avr. 05, à 18:59, Frédéric Glorieux a écrit : ...Par ailleurs, j'ai testé httpd.apache mod_cache (rapidement), selon le tutoriel en Wiki. Je n'ai pas réussi à déterminer, est-ce que quelqu'un a déjà réussi à le faire fonctionner pour qu'Apache.httpd se

Re: Using business objects instead of XML

2005-04-04 Thread Andre Juffer
Ralph Goers wrote: Leszek Gawron wrote: you can of course use castor generator but I do not know if castor is able to generate anything if it has no mapping file. We use a Bean Generator that I wrote that uses Betwixt. It is just a few lines of code. If the objects are faily well behaved

Re: Example of Cookies

2005-04-04 Thread gounis
hi Yves try to write your xml without change lines between elements xsp-cookie:getValuexsp-cookie:namexsp:exprparent_role/xsp:expr/xsp-cookie:name/xsp-cookie:getValue On Sun, 3 Apr 2005, Yves Vindevogel wrote: I can't get this to work. The first part, setting the cookies, works. Or

Re: Example of Cookies

2005-04-04 Thread Yves Vindevogel
No, Does not work. This is the full stack trace Original Exception: org.apache.cocoon.components.language.LanguageException: Error compiling reports_xsp: ERROR 1 (org/apache/cocoon/www/pdt/xsp/reports_xsp.java): ... this.characters(\n\t\t\t\t); XSPCookieHelper.getValue(objectModel, dbase ,

Using cocoon to generate xml files on the server

2005-04-04 Thread Michel SALAIS
Title: Using cocoon to generate xml files on the server Hi all, I want to use cocoon to write a forms oriented application. My goal is to let a client fill in a form and then to save the filled instance as an xml file on the server. The location of the file depends on some information in

Re: Using cocoon to generate xml files on the server

2005-04-04 Thread gounis
Hi michel you can have Cforms (cocoon forms) and binding to xml files they are some samples in cocoon distribution showing how toa cfomr to xml --stavros On Mon, 4 Apr 2005, Michel SALAIS wrote: Hi all, I want to use cocoon to write a forms oriented application. My goal is to let a

Request parameters forwarding or not

2005-04-04 Thread Jean-Christophe Kermagoret
Hello, I have a pipeline that calls another one. Request parameters provided to the first pipeline are automatically forwarded to the second. Is it possible to disable this feature at a pipeline level so the second pipeline doesn't know anything about the request parameters provided to the

transformers

2005-04-04 Thread Roberto Marra
Hi all, I would simply to know why the example of the blocks/forms have in the sitemap this declaration: map:transformers default="xalan" and the other map:transformers default="xslt" Then I read in the main sitemap that the xalan...is the same of the xslt !-- NOTE: This is the same

CacheException: The Disk store is not active.

2005-04-04 Thread jaya
Hello, I am using Cocoon version 2.1.6. Sometimes I am getting the following exception in Cocoon application while running the application. -- [3/18/05 13:47:51:957 CET] 3dc9286b DiskStore E net.sf.ehcache.store.DiskStore cocoon-ehcache-1Cache: Could not read disk store element

Re: Request parameters forwarding or not

2005-04-04 Thread Jorg Heymans
Jean-Christophe Kermagoret wrote: Hello, I have a pipeline that calls another one. Request parameters provided to the first pipeline are automatically forwarded to the second. Is it possible to disable this feature at a pipeline level so the second pipeline doesn't know anything about the

Re: Please could some one advise me on this!

2005-04-04 Thread Joachim Breitsprecher
Hi Fadi, fadi qutaishat wrote: So when I request the mydbsession resource I get (nothing): ?xml version=1.0 encoding=ISO-8859-1 ? resource xmlns:session=http://apache.org/cocoon/session/1.0; !-- build context data -- context loadxml context=dbtrackdemo / /context /resource It looks to me as if

save XML document to disk?

2005-04-04 Thread oceatoon
Hi cocooners I'm using loadDocument(path2myxml) to act on an xml file in my flow. Before going into a new dev I was wondering if there allready existed a savedocument(document , path) or document.save() function, that saves back to disk the applied modifications. I found saveXML in the

[Solved]Please could some one advise me on this!

2005-04-04 Thread fadi qutaishat
Hi, I thinks I was missing the session namespace in loadxml context="dbtrackdemo"/ so I haveput it like session:loadxml context="dbtrackdemo"/ it is working fine now :) Regards, Fadi __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best

Re: Please could some one advise me on this!

2005-04-04 Thread fadi qutaishat
Many thanks Joachim I have finally realized that I have forgotten to add the session namespace. Regards, Fadi Yahoo! Messenger Show us what our next emoticon should look like. Join the fun.

Re:(Solved) save XML document to disk?

2005-04-04 Thread oceatoon
My Apologies for these auto responded questions I guess it fills up the list with questions and answers ;) Regards //saves document to the uri function saveDocument(document, uri) { var source = null; var resolver = null; var outputStream = null; try { resolver

widget value wrap as src attribute

2005-04-04 Thread Laxmikant Ruikar
Thanks ... I have done some modification as per my requirements. is it best way to solve this? Regards Laxmikant -- Forwarded message --From: oceatoon [EMAIL PROTECTED]Date: Apr 3, 2005 6:55 PMSubject: Re: widget value wrap as src attributeTo: users@cocoon.apache.orgWell I

Re: Prepopulating

2005-04-04 Thread Andre Juffer
Greg, I have done more or less what you are trying. I also store data in a Xindice database (version 1.1b5-dev). I use the binding framework for cforms in cocoon to populate a form with that data, which is then presented to the user. There is an example in

[newbie q] XPATH expression in URL doesn't work for select

2005-04-04 Thread Werner Rudolf
Hello, I'd like to pass an XPATH expression in the URL for selection. Something like: URL: http://localhost:/systems.html?xpa=[status=Aktiv] XSL: xsl:for-each select=/systems/system$xpa Please can somebody help w/ a simple template? Many thanks and best regards Werner

Custom Generator, Custom Action, Flow

2005-04-04 Thread Mattom
Hi all ! I am trying to use cocoon as web frontend for a very custom selfmade (not my work) db layer in a j2ee environment. This DB Layer provides a XML interface, where I can read and store XML Trees. I am quite new to cocoon and java, so I find it quite difficult to make decisions, and find the

How can a resource be called automatically in cocoon

2005-04-04 Thread fadi qutaishat
Hi all, I am a bit embraced from sending many questions today!!!, anyway here is my question: I have the following pipeline: map:pipeline map:match pattern="login" map:generate src=""/ map:transform src="" map:parameter name="use-request-parameters" value="true"/ /map:transform

Authentication and ROLES

2005-04-04 Thread Jakub Kaniewski
Is there possible to authenticate one pipeline, only when user have a certain ROLE (ie. admin). J.K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Authentication and ROLES

2005-04-04 Thread Jorg Heymans
This should be doable if you write your own authenticator. I don't know if it's available off the shelve. Have a look at implementing the Authenticator interface. Jakub Kaniewski wrote: Is there possible to authenticate one pipeline, only when user have a certain ROLE (ie. admin). J.K.

AW: Authentication and ROLES

2005-04-04 Thread Elad Messing
I was just reading through the Authentication Framework documents, so it is fresh in my head :) Have a look here : http://cocoon.apache.org/2.1/developing/webapps/authentication.html#Using+a+ URI+as+the+authentication+resource The role is part of the data that could be added to as the login

Problem with stylesheets

2005-04-04 Thread Michel Erard
Hello, I've tried to aggregate the multi-page-form example into an existing application. Now I've the problem, that my styles.css file isnt found any longer and it doesn't add the javascripts for the popups from matt kruse to the page. Does somebody see my fault? Thanks Mike

Re: Problem with stylesheets

2005-04-04 Thread Jan Hoskens
Maybe this is because the forms stylesheets try to match with a html document to add the styles and javascripts. When no html header element is found, the mentioned elements are not included in the final page. Look into the stylesheets templates to see where the scripts/styles are added. One

[HELP]

2005-04-04 Thread Pennyrile Family Physicians
Each time I try to log-in I receive a message an error occured. I need help accessing your website. BrittanyAshby [EMAIL PROTECTED] Description:java.lang.NullPointerException

Re: [HELP]

2005-04-04 Thread Ben Pope
Pennyrile Family Physicians wrote: Each time I try to log-in I receive a message an error occured. I need help accessing your website. Brittany Ashby [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Description:java.lang.NullPointerException Yes, there is a NullPointerException to any useful

Re: Request parameters forwarding or not

2005-04-04 Thread Dan Durkin
You may be able to use the cocoon:raw: protocol. it's mentioned here : http://cocoon.apache.org/2.1/developing/webapps/authentication.html#The+authentication+resource there's a note in the doc: You might be wondering why we explicitly pass the request parameters on to the internal pipeline

[Auth-FW] Edit authentication/data nodes

2005-04-04 Thread Philippe Guillard
Hi, I use Portal, so i use Auth-Fw, and want to change the data part for a user without asking him to sign-in again. Lest's say i put nickname in the data section, authentication IDfoo_id/ID datafoo_nickname/data /authentication and i want to afford the possibility for the user to change

CForms javascript getElementById

2005-04-04 Thread Peter Sparkes
Hi, I can't get getElementById(id) to work in my CForm javascript. I am using loadDocument(uri) from binding_example.js in cocoon-2.1.7 to parse the xml into a DOM tree. That is working as I can output the original xml from the DOM tree. Any ideas Thanks Peter Sparkes

Re: redirect-to result of a transformation

2005-04-04 Thread [EMAIL PROTECTED]
Adam Ratcliffe wrote: You could do this from flowscript. Basically what you'd need to do is process the request in the flow layer and use the cocoon object's processPipelineTo() method to retrieve the output of the pipeline and redirect from there. map:match pattern=myPattern map:call

From XSD to form definition... can i do it by using cocoon?

2005-04-04 Thread angeloimm
Hi all. I'ld like to know if i can use cocoon for this scope: i have some web services; these are web services of type document... they accept a document in input and give a document as output. These documents are described by XSD well is there a method in cocoon of generating form

Re: From XSD to form definition... can i do it by using cocoon?

2005-04-04 Thread gounis
hi take a look here http://wiki.apache.org/cocoon/Schema2CocoonForms it's what U R looking for regards --stavros On Mon, 4 Apr 2005, angeloimm wrote: Hi all. I'ld like to know if i can use cocoon for this scope: i have some web services; these are web services of type document...

session example

2005-04-04 Thread fadi qutaishat
Hi all , I think I getting confused in suing the cocoon session. I think I am not clear with defining the right configuration for a session inside a pipeline. Please could some one send me an example on how to use and configure a session in a pipeline, it would be great if the example uses the

Re: session example

2005-04-04 Thread Aurélien DEHAY
Le lundi 04 avril 2005 11:10 -0700, fadi qutaishat a crit : Hi all , Hello. I think I getting confused in suing the cocoon session. I think I am not clear with defining the right configuration for a session inside a pipeline. Please could some one send me an example on how to use

RE: [HELP]

2005-04-04 Thread Steve Schwarz
Hi Brittany, What website are you trying to login to? I'm guessing you might be accessing a website Powered by Cocoon and the developer of that site might not have put in place error handling to direct you to them instead of this mailing list. You might look at the site for a contact email

Re: From XSD to form definition... can i do it by using cocoon?

2005-04-04 Thread angeloimm
Hi... thanks a lot.. i'll take a look. Best regards. -- Initial Header --- From : [EMAIL PROTECTED] To : Help Cocoon users@cocoon.apache.org Cc : Date : Mon, 4 Apr 2005 20:22:19 +0300 (EEST) Subject : Re: From XSD to form definition... can i do it by

Building cocoon 2.1.7 on Windows

2005-04-04 Thread Michel SALAIS
Hi all, I have an error message while trying to build cocoon on a Windows XP system. My JDK is J2SDK1.4.2_08 and JAVA_HOME points to the correct diectory. The error message is : begin here BUILD FAILED C:\Program

RE: redirect-to result of a transformation

2005-04-04 Thread Adam Ratcliffe
Try cocoon.processPipelineTo(uri, null/*no bizdata*/, output), sorry I wrote the example from memory. The link to the relevant documentation is: http://cocoon.apache.org/2.1/userdocs/flow/api.html#processPipelineTo Cheers Adam -Original Message- From: news [mailto:[EMAIL PROTECTED]

Cocoon merchandising?

2005-04-04 Thread Mark Leicester
Hi everyone, For the interested sartorially curious, I came across Ken Coar's The Rodent's Cache, including a swag of Apache Cocoon merchandising: hats, T-shirts etc.: http://www.cafepress.com/meepzor/388967 Also, if you have any purchasing experiences to relate, comments, or further ideas

XPath tokenize

2005-04-04 Thread Ben Pope
Hi, Is it possible to use the tokenize function in an XSL transformed by cocoon? I've had a little play with something like the following transform: xsl:stylesheet version=2.0 xmlns:fn=http://www.w3.org/2004/10/xpath-functions; xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

Re: How to debug an empty response?

2005-04-04 Thread Lars Huttar
Thanks for the suggestion. I am indeed running Tomcat. I increased the java vm memory from 384m to 512m; but it didn't affect the behavior of the application. Lars E Sadler wrote: Hi, Lars. It isn't really a troubleshooting suggestion so much as something to try, but the last time I saw this

Re: XPath tokenize

2005-04-04 Thread Geert Josten
Hi Ben, You will need a XSL parser that supports XSL 2.0. Saxon should do the trick. Look for Saxon in the example cocoon.xconf and you will find a component definition for saxon with role=XSLTProcessor/saxon. Next is to define a map:transform (in one of the sitemaps) that specifies a