AccessControlException when requesting cocoon.war

2002-06-10 Thread Sylvain.Thevoz
Hello, I'm new in Coccon and I try to install Cocoon 2 on the Sun J2EE ref. server. I deploy the cocoon.war on my J2EE server and it seems OK. But when I request cocoon from my browser ( http://localhost:8000/cocoon) there is an exception: javax.servlet.ServletException: Servlet.init() for

RE: AccessControlException when requesting cocoon.war

2002-06-10 Thread Sylvain.Thevoz
Thank you for the answer but the error permission seems to be in C:\j2sdkee1.3.1\repository\u68111\web\cocoon but there are no files in this directory!?! Sorry but I am a bit desoriented. I use the deploytool tool from Sun and normaly you just add the .war in an application (.ear) and you

RE: AccessControlException when requesting cocoon.war

2002-06-10 Thread Sylvain.Thevoz
C:\j2sdkee1.3.1\repository\u68111\web\cocoon-files doesn't exist. There is only C:\j2sdkee1.3.1\repository\u68111\web\cocoon. These directories have no restrictions but they belong to the administrator. Thank you -Message d'origine- De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Date:

Cocoon and J2EE

2002-06-12 Thread Sylvain.Thevoz
Hello, How to use Cocoon in a J2EE project?? I have created an app.cocoon_war.ear Enterprise ARchive which contains the cocoon.war (with web context = cocoon). It seems to work because I can see the Cocoon welcome page when I request http://localhost/cocoon. Now I want to test a simple Hello

RE: Cocoon and J2EE

2002-06-12 Thread Sylvain.Thevoz
My cocoon.war comes with the binary distribution. I thought that this cocoon.war was necessary to work with Cocoon!?! My question is: What is necessary to work with Coccon and do you have to include it in each Enterprise ARchive you create?? Thank you Sylvain -Message d'origine- De:

RE: Cocoon and J2EE

2002-06-12 Thread Sylvain.Thevoz
OK, I see. Thank you Olivier. Finally if I want the basic stuff I need cocoon.jar (and others? Do you exist a description list of the additionnal libraries?) in my something.war (or cocoon.war). But do you have to include this cocoon.war in each Enterprise ARchive?? Thank you Sylvain

RE: Cocoon and J2EE

2002-06-13 Thread Sylvain.Thevoz
Where can I find the WikiLand? Thank you Sylvain -Message d'origine- De: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Date: mercredi, 12. juin 2002 16:57 À: '[EMAIL PROTECTED]' Objet: RE: Cocoon and J2EE OK, I see. Thank you Olivier. Finally if I want the basic stuff I need

Cocoon and Struts model 2x

2002-06-14 Thread Sylvain.Thevoz
Hello, Anyone has implemented a web application with Struts model 2x and Cocoon?? I thought to start a project with this architecture: Middleware: J2EE EJB server (JBoss) with Tomcat Servlet container. EJB classes to access to the data and more. Web front-end: Struts model 2x and Cocoon.

Cocoon 2.1 deployment error

2002-07-02 Thread Sylvain.Thevoz
Hello, I have deployed the Cocoon 2.1 webapp Demo but when I try to see the welcome page (http://localhost:8000/cocoon) there is an error: type: Exception report message: Internal Server Error description: The server encountered an internal error (Internal Server Error) that prevented it

RE: Cocoon 2.1 deployment error

2002-07-02 Thread Sylvain.Thevoz
I think you use the wrong version of avalon-framework lib. = Where is this lib in Cocoon sources? = What is the right version? = Where can I find it? Thank you Sylvain -Message d'origine- De: Stephan Michels [mailto:[EMAIL PROTECTED]] Date: mardi, 2. juillet 2002 15:51 À: [EMAIL

RE: error deploying cocoon

2002-07-03 Thread Sylvain.Thevoz
Hello, Maybe a java security problem. Cocoon can't write something on your disk. I had the same think. Check the java policy files. Sylvain -Message d'origine- De: icewind [mailto:[EMAIL PROTECTED]] Date: mardi, 2. juillet 2002 20:53 À: [EMAIL PROTECTED] Objet: error deploying cocoon

RE: Cocoon 2.1 deployment error

2002-07-03 Thread Sylvain.Thevoz
I have checked the Avalon version and it is the right one (20020627)! Is this component really essential? What is its task? Have you a solution? Thank you very much Sylvain -Message d'origine- De: Stephan Michels [mailto:[EMAIL PROTECTED]] Date: mardi, 2. juillet 2002 17:13 À: [EMAIL

RE: cant find avalon conponents

2002-07-04 Thread Sylvain.Thevoz
Hello, I have the same problem and all jar files are in the lib directory. Any idea? Thank you Sylvain -Message d'origine- De: Themba Mbatha [mailto:[EMAIL PROTECTED]] Date: mercredi, 3. juillet 2002 08:33 À: '[EMAIL PROTECTED]' Objet: RE: cant find avalon conponents Make sure

RE: Redirect Apache Requests to Tomcat

2002-07-04 Thread Sylvain.Thevoz
I have checked the mod_webapp but it seems to work only with Apache 1.x and not for Apache 2.0! Try the mod_jk. These modules and the connection problems between Apache and Tomcat are not well documented. Many users have this problem. Try the Apache or Tomcat mailing lists. Sylvain

Cocoon and CLASSPATH

2002-07-09 Thread Sylvain.Thevoz
Hello, How to check my classpath in my Cocoon project? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To

RE: Cocoon status page ??

2002-07-11 Thread Sylvain.Thevoz
Hello, If you deploy an Enterprise ARchive (.ear, containing the cocoon.war) you have to add a web context in the deploy conf. file application.xml called cocoon. Sylvain -Message d'origine- De: Artur Bialecki [mailto:[EMAIL PROTECTED]] Date: mardi, 9. juillet 2002 17:46 À: [EMAIL

pipeline error

2002-07-11 Thread Sylvain.Thevoz
Hello, I have a pipeline error when I try to access to the Cocoon samples: The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that org.apache.cocoon.ProcessingException says: Failed to execute pipeline. More precisely: org.apache.cocoon.ProcessingException: Failed

File generator problem (fetch from an URI)

2002-10-08 Thread Sylvain.Thevoz
Hello, As seen in the Cocoon book from Carsten and Matthew I want to fetch some information from the URI http://linuxtoday.com/backend/biglt.rss; with the File Generator. The sitemap (simplified) looks like: map:match pattern=linuxtoday map:generate

RE: File generator problem (fetch from an URI)

2002-10-08 Thread Sylvain.Thevoz
I have add this line: set -Dhttp.proxyHost=http://proxy.blabla.com -Dhttp.proxyPort=8080 to the startup script, just before the tomcat start. But it doesn't work. Are there anything else to configure? Thank you Sylvain -Message d'origine- De: Steven Noels [mailto:[EMAIL PROTECTED]]

RE: File generator problem (fetch from an URI)

2002-10-08 Thread Sylvain.Thevoz
what do you mean about the java command in the tomcat startup script? Sylvain -Message d'origine- De: Steven Noels [mailto:[EMAIL PROTECTED]] Date: mardi, 8. octobre 2002 17:13 À: [EMAIL PROTECTED] Objet: Re: File generator problem (fetch from an URI) [EMAIL PROTECTED] wrote: I

RE: File generator problem (fetch from an URI)

2002-10-09 Thread Sylvain.Thevoz
Thank you Steve, and sorry for my beginner's question. But by me: Here the line that start Tomcat in my startup.bat script: call %_TC_BIN_DIR%\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9 which launch the tomcat.bat script with the parameter start. You speak about a java command but it seems it is

RE: File generator problem (fetch from an URI)

2002-10-09 Thread Sylvain.Thevoz
OK, now it works! I use Tomcat 3.3 and I have to use TOMCAT_OPTS!! I have added an environment variable like: TOMCAT_OPTS = -DproxySet=true -DproxyHost=proxy.swissptt.ch -DproxyPort=8080 and it works. Thank you all of you Sylvain -Message d'origine- De: Ilya A. Kriveshko

example in the Cocoon book

2002-10-10 Thread Sylvain.Thevoz
Hello, I'm reading the Cocoon book written by Matthew and Carsten and one example in it doesn't work. The pipeline fragment is: 1. map:pipeline 2. map:match pattern=download 3. map:act type=request 4. map:parameter name=parameters value=true/ 6. map:act

RE: example in the Cocoon book

2002-10-10 Thread Sylvain.Thevoz
So, it works if I replace {file} by the name of the file. We can say that is a value substitution problem!? Sylvain -Message d'origine- De: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]] Date: jeudi, 10. octobre 2002 10:46 À: Thévoz Sylvain, IT-DCS-CPS-CLI-DAR Cc: [EMAIL PROTECTED]

RE: example in the Cocoon book

2002-10-10 Thread Sylvain.Thevoz
Thank you Matthew, but could you explain why!? Is the line 7. map:parameter name=url value=download/{file}/ is correct? Thank you Sylvain -Message d'origine- De: Matthew Langham [mailto:[EMAIL PROTECTED]] Date: jeudi, 10. octobre 2002 11:17 À: [EMAIL PROTECTED] Objet: RE: example in

RE: example in the Cocoon book

2002-10-10 Thread Sylvain.Thevoz
Thank you Matthew for your explanation, it works fine. And your book is really the best reference for Cocoon I have seen. Sylvain -Message d'origine- De: Matthew Langham [mailto:[EMAIL PROTECTED]] Date: jeudi, 10. octobre 2002 11:33 À: [EMAIL PROTECTED] Objet: RE: example in the Cocoon

RE: example in the Cocoon book

2002-10-11 Thread Sylvain.Thevoz
Not so important but in page 155, figure 6.5, are these two notations correct: 1. map:action-setname=myactionset 2. map:act set=,,myactionset Sylvain -Message d'origine- De: Matthew Langham [mailto:[EMAIL PROTECTED]] Date: vendredi, 11. octobre 2002 13:20 À: [EMAIL PROTECTED] Objet:

RE: [newbie] wml serializer

2002-10-11 Thread Sylvain.Thevoz
Are you sure you run Cocoon with the sitemap you have changed (and not the old one). For the development phase, change the sitemap reloading method to synchron in the cocoon.xconf file. Sylvain -Message d'origine- De: Zein Dowe [mailto:[EMAIL PROTECTED]] Date: vendredi, 11. octobre

Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
Hello everybody, I try to run a Cocoon example with the sql transformer and I use the hsqldb database included in Cocoon distribution for this. But how can I start this db? Thank you Sylvain - Please check that your question

RE: Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
Thank you Konstantin, I have this message: Server 1.6 is running. Is there a console where I can execute queries? Sylvain -Message d'origine- De: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Date: lundi, 14. octobre 2002 10:50 À: '[EMAIL PROTECTED]' Objet: RE: Cocoon and hsqldb

RE: Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
I have found a script file that creates tables and entries in the default Cocoon example database, you can find this file here: \WEB-INF\db\cocoondb.script Now all work with HSQLDB! Has someone tried to connect Cocoon to a Microsoft SQL Server database? I'm looking for a database URL

TR: Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
Thank you for all your replies! At the moment for the development phase, I use the JDBC driver provided by Microsoft. It is not very fast but it works. For information the driver is: Microsoft SQL Server 2000 Driver for JDBC. I use the URL:

XSP error

2002-10-15 Thread Sylvain.Thevoz
Hello, I try to test my first XSP page but I have this error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

RE: XSP error

2002-10-15 Thread Sylvain.Thevoz
that the browser cannot show the XML with that namespace applying its XSL... try serializing the output to 'html' |-+- | | Sylvain.Thevoz@sw| | | isscom.com | | | | | | 10/15/2002

RE: XSP error

2002-10-15 Thread Sylvain.Thevoz
-Message d'origine- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Date: mardi, 15. octobre 2002 14:42 À: [EMAIL PROTECTED] Objet: RE: XSP error Hi, with IE 6.0 should work.. no idea Ruben |-+- | | Sylvain.Thevoz@sw

Cocoon components list

2002-10-16 Thread Sylvain.Thevoz
Hello, I have just finished to read the Carsten and Matthew Cocoon book. I recommend this book to all of the persons who want to start in Cocoon. In the book there is a part that is very useful for Cocoon users (I think): the Cocoon components list (Appendix A). But the book lists the

RE: 2.1-dev authentication sample doesn't work

2002-10-18 Thread Sylvain.Thevoz
I have do that two times but there is still the same error. Any ideas would be greatly appreciated. Thanks in advance Sylvain -Message d'origine- De: Antonio Gallardo Rivera [mailto:agallardo;agsoftware.dnsalias.com] Date: jeudi, 17. octobre 2002 17:21 À: [EMAIL PROTECTED] Objet: Re:

2.1-dev authentication sample doesn't work

2002-10-18 Thread Sylvain.Thevoz
Hello, I have just installed the last dev snapshot of Cocoon and try to run the samples. All work fine except the authentication sample. This error appears: Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error

RE: 2.1-dev authentication sample doesn't work

2002-10-18 Thread Sylvain.Thevoz
Hello, I have deleted the cocoon directory in Tomcat, build the source for the second times and re-deploy the cocoon.war. There is the same error! Did I do something wrong? Thank you Sylvain -Message d'origine- De: Antonio Gallardo Rivera [mailto:agallardo;agsoftware.dnsalias.com]

RE: German article on Cocoon Portal and Authentication

2002-10-18 Thread Sylvain.Thevoz
The last Cocoon snapshot the current dev version is 2.0.44. Is this version the 2.1-dev? Sylvain -Message d'origine- De: Matthew Langham [mailto:mlangham;s-und-n.de] Date: jeudi, 17. octobre 2002 13:26 À: [EMAIL PROTECTED] Objet: RE: German article on Cocoon Portal and Authentication

RE: 2.1-dev authentication sample doesn't work

2002-10-23 Thread Sylvain.Thevoz
Thank you Rob, it's the same for me. That works with Tomcat 4.1.12. Sylvain -Message d'origine- De: Rob Johnston [mailto:rjohnst;juniper.net] Date: lundi, 21. octobre 2002 21:55 À: [EMAIL PROTECTED] Objet: Re: 2.1-dev authentication sample doesn't work I got the same error when using

2.1-dev authentication sample doesn't work

2002-10-21 Thread Sylvain.Thevoz
Hello everybody, Last thursday I downloaded the last Dev snapshot and try to install it. All work fine except the authentication sample. The error listed below appears. I use Tomcat 4.0.6 with JDK 1.3.1_05 and my OS is Windows NT 4.0. Any idea? Any suggestions would be greatly appreciated

Cocoon task scheduler

2002-10-28 Thread Sylvain.Thevoz
Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what

RE: Cocoon task scheduler

2002-10-28 Thread Sylvain.Thevoz
Hello Bert, Sorry but what is a wget? Sylvain -Message d'origine- De: Bert Van Kets [mailto:bert;vankets.com] Date: lundi, 28. octobre 2002 14:21 À: [EMAIL PROTECTED] Objet: Re: Cocoon task scheduler There has been a similar thread before. dig up that one first. Cocoon, being a

RE: Cocoon task scheduler

2002-10-28 Thread Sylvain.Thevoz
I completely agree with you and Bertrand: Cocoon have already so much stuffs and it wouldn't be a good solution to add this type of feature. So I need a scheduler app writing in Java because I want to keep independance with OS (my server runs on Windows but I could change this). This scheduler

xmlform and build

2002-10-29 Thread Sylvain.Thevoz
hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class

RE: xmlform and build

2002-10-29 Thread Sylvain.Thevoz
Yes it will help me, thank you Mohamed. Do you know how to extend this sample to write data you entered in persistence storage (database)? Sylvain -Message d'origine- De: Mohamed El-Refaey [mailto:m.refaey;imkenberg.de] Date: mardi, 29. octobre 2002 22:13 À: [EMAIL PROTECTED] Objet:

RE: xmlform and build

2002-10-29 Thread Sylvain.Thevoz
Thank you Mohamed. I don't use EJB but I use an RDBMS-object mapping tool named OJB. I haven't enough know-how in XMLForm to apply easily what you said. Have you a short example to demonstrate it? Thank you Sylvain -Message d'origine- De: Mohamed El-Refaey

XMLForm and pop-up menu

2002-11-04 Thread Sylvain.Thevoz
Hello, I use XMLForm and I want to implement pop-up menu in a form. Is there a solution? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting.

RE: XMLForm and pop-up menu

2002-11-04 Thread Sylvain.Thevoz
The content should be simply a list of word. The user should choose a word in the pop-up menu (and only these words) instead of enter a word. Sylvain -Message d'origine- De: Reinhard Poetz [mailto:reinhard_poetz;gmx.net] Date: lundi, 4. novembre 2002 14:49 À: [EMAIL PROTECTED] Objet:

RE: XMLForm and pop-up menu

2002-11-04 Thread Sylvain.Thevoz
yes, in the same way but instead of using a radio type where your choices are on the screen (and you put the point on your choice), I would like to use a pop-up list where the choices are hidden in a list (maybe the word menu is not very appropriate). This stuff is in all web forms. Sylvain

XMLForm and textbox: how to protect

2002-11-05 Thread Sylvain.Thevoz
Hello, In XMLForm, is it possible to protect the default value in a textbox against the user changes. I want to display the field in the form (with the default value) but it shouldn't be possible to change the value of it. Any idea? Thank you Sylvain

RE: XMLForm and pop-up menu

2002-11-05 Thread Sylvain.Thevoz
I used: xf:selectOne selectUIType='listbox' It works! Sylvain -Message d'origine- De: Ivelin Ivanov [mailto:ivelin;apache.org] Date: mardi, 5. novembre 2002 05:08 À: [EMAIL PROTECTED] Objet: Re: XMLForm and pop-up menu For drop down list use: xf:selectOne For radio buttons, use

How to develop a web application with Cocoon

2002-11-07 Thread Sylvain.Thevoz
Hello, I want to implement a web application and I have chosen Cocoon because I think it is a very good solution (separate content from logic, etc...) for building web stuffs. But I'm asking me a question: can I do all I want in my web application with Cocoon And what is the best method for

TR: How to develop a web application with Cocoon

2002-11-08 Thread Sylvain.Thevoz
Thank you Bertrand for your help. I think that a cleanly separation between different layers is great. This was my first idea and Cocoon should be the user interface layer. But HOW doing that?? HOW separate layers in Cocoon?? I have not enough experience in Cocoon to see the solution of the

RE: TR: How to develop a web application with Cocoon

2002-11-08 Thread Sylvain.Thevoz
Yes, the concept is very interesting. It appears very clean and simple but the difficulty is now to translate it in pipelines and Cocoon concepts. So imagine that I would use Cocoon as front-end (FE) and java classes with database mapping tool as backend (BE) instead of Cocoon If I have

XMLForm and dates

2002-11-12 Thread Sylvain.Thevoz
Hello, I use XMLForm and I want to put the today date in a form. The problem is that the today date has to be a String because the XMLForm simply display the value of the Bean class attribute. If this value is not a String, the date can't be read! But I want to store the today date in a Date

RE: XMLForm and dates

2002-11-12 Thread Sylvain.Thevoz
I'm using MS SQL Server 2000. It means that you don't insert the date with the form but your database insert it automatically!? Sylvain -Message d'origine- De: Antonio Gallardo Rivera [mailto:agallardo;agsoftware.dnsalias.com] Date: mardi, 12. novembre 2002 15:14 À: [EMAIL PROTECTED]

RE: XMLForm and dates

2002-11-14 Thread Sylvain.Thevoz
Hello Jan, Thank you for your reply. Yes, your understanding is right. The problem appears because I want to display the date in the form. But the date in the form isn't really useful and I could cancel the idea to display it. I'm trying to insert/update database with an DatabaseAccess layer

How to make an automatic refresh

2002-11-15 Thread Sylvain.Thevoz
Hello everybody, I'm using Cocoon and Cocoon portal to build a web application. One of my coplets should work as a workflow manager. This application will work like that: A dispatcher could add an action to do to one of the executors. Each executor will see the portal with the workflow manager

XMLForm: dynamic content listbox

2002-11-20 Thread Sylvain.Thevoz
Hello, I'm using listbox in XMLForm (with tag xf:selectOne selectUIType=listbox). The content of the listbox (the items listed) is hard-coded in the xml document (view) like that: xf:selectOne selectUIType=listbox xf:item id=unix xf:captionUnix/xf:caption xf:valueUnix/xf:value /xf:item

RE: XMLForm: dynamic content listbox

2002-11-21 Thread Sylvain.Thevoz
Thanks Alonso. I have read userIdentity.xml and UserBean.java files from Cocoon Wizard sample. In UserBean.java, I have found a method called initHobbies(). This method simply init all hobbies. If I have well understood, I could replace the hard-coded values of allHobbies by a query to a

JDOM

2002-12-03 Thread Sylvain.Thevoz
Hello, Does Cocoon use JDOM? Tank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL

RE: JDOM

2002-12-03 Thread Sylvain.Thevoz
OK, thank you Reinhard. I don't plan to use JDOM in a custom transformer but your remark is very interesting. What do you think about? Have you an example of use? Regards Sylvain -Message d'origine- De: Reinhard Poetz [mailto:[EMAIL PROTECTED]] Date: mardi, 3. décembre 2002 15:38 À:

XMLForm: content listbox problem

2002-12-05 Thread Sylvain.Thevoz
Hello, I have an XMLForm app like this: Navigation: Start-Form1-Form2-Confirm-End In the Form1 view I have a listbox. The content (the different choices) of this listbox comes from an XML file. The code is: xf:selectOne ref=/workstationType xf:captionWorkstation Type/xf:caption

XMLForm: please help

2002-12-06 Thread Sylvain.Thevoz
Hello, I'm trying to have an XMLForm app with dynamic listbox. The values of the listbox come from an XML file. The navigation app is like this: Start-Form1-Form2-Confirm-End In the Form1 view I have a listbox. The content (the different choices) of this listbox comes from an XML file. The

XMLForm and DOM node initialization

2002-12-06 Thread Sylvain.Thevoz
Hello everybody, I'm using XMLForm and its possibility to access to DOM nodes. Here is the code in the view (form.xml): xf:selectOne ref=/workstationType xf:captionWorkstation Type/xf:caption xf:itemset nodeset=listValues/document/typeOfWorkstation/item xf:caption ref=description/

RE: XMLForm: content listbox problem

2002-12-09 Thread Sylvain.Thevoz
Hello Lars, I call the getModel() method in the perform function, like the Wizard example: code public Map perform() { AddWorkstationBean jBean = (AddWorkstationBean) getForm().getModel(); if (getCommand().equals(CMD_NEXT) getForm().getViolations() != null) {

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Hi Lars, No, it doesn't work!! I'm going to be completely crazy! I think the problem is not on the XPath expression, because there is the exact number of items in the list. But the caption and value fields are empty! And I don't understand why! Thank you Sylvain -Message d'origine-

RE: XMLForm: content listbox problem

2002-12-09 Thread Sylvain.Thevoz
I tried to initialize the bean in the prepare method but it's still the same! Nothing happen! I posted 2 different messages(content list box problem and DOM initialization problem) but the problem is the same. Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Yes, I think you have the same problem as me!! I don't use the xf:output statement. What does it mean? If I'm right, for testing you create a form.xml file (view) with only a repeat statement like this: code items xf:repeat nodeset=select/document/typeOfWorkstation/item item

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
I tried to load this form: code ?xml version=1.0 ? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:form id=form-feedback view=test action=addworkstation.html xf:captionTest/xf:caption xf:repeat nodeset=select/document/typeOfWorkstation/item xf:output

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Hi Ivelin, No, thank you. But it doesn't make any differences!! Is it right that in the XMLForm Wizard example the initialization of the Bean occurs only when you press the Next button from the first form to the following? I try to understand because I have certainly an initialization problem.

RE: XMLForm: content listbox problem

2002-12-09 Thread Sylvain.Thevoz
Hi Lars, You said that I should initialize the bean in the prepare method. What do you do exactly? For my Bean I started from the Wizard example code. The initialization is in the perform method. regards Thank you Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL

RE: XMLForm: content listbox problem

2002-12-10 Thread Sylvain.Thevoz
Hi Ivelin, Thanks for your suggestions. Do you create this method in the Bean file or Action file? What does the method should return? The dom document? Thank you Regards Sylvain -Message d'origine- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 20:49 À:

RE: Xml form How To-Please help me out

2002-12-20 Thread Sylvain.Thevoz
Hello, Your sitemap have to be with the xml files in src\webapp\samples\xmlform. Check all your paths in the sitemap. Regards Sylvain -Message d'origine- De: poornima ponnuswamy [mailto:[EMAIL PROTECTED]] Date: vendredi, 20. décembre 2002 07:19 À: [EMAIL PROTECTED] Objet: Xml form How

How to get back XMLForm data to Cocoon

2003-01-08 Thread Sylvain.Thevoz
Hello, I'm using XMLForm to collect information. With these information I retrieve a result from a database (with Java code in the Action file). Now I want to take this result to display it on the screen. And I want to use the Cocoon publication features. My question is: how to get back this

RE: XMLform JavaBean and Database Connection Pool

2003-01-09 Thread Sylvain.Thevoz
Hi Lars, I have implemented an object-relationnal mapping tool called OJB (it's open source) to connect to my databases. It works very well. You don't need special code or new methods within javabean. You don't need queries and you don't need to manage connections. You simply instantiate a new

file generator error

2003-01-09 Thread Sylvain.Thevoz
Hello, My sitemap is: map:match pattern=virus_info.xml map:generate src=http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings/ map:transform src=styles/info.xsl/ map:serialize type=xml/ /map:match The problem is that I can't compile the sitemap. Error is:

RE: file generator error

2003-01-10 Thread Sylvain.Thevoz
Thank you all for your response. If I substitute '' by 'amp;', the sitemap compilation is OK. But the link doesn't work anymore! Anybody has a solution? Regards Sylvain -Message d'origine- De: Ed Yavno [mailto:[EMAIL PROTECTED]] Date: jeudi, 9. janvier 2003 17:54 À: Thévoz Sylvain,

RE: file generator error

2003-01-13 Thread Sylvain.Thevoz
Hi, It means that if I replace the '' by 'amp;', the link isn't correct anymore. The problem seems to be that the Tomcat web server doesn't convert 'amp;' to '' and use 'amp;' to retrieve the web page. Any idea? Is it a Tomcat bug? Thank you Sylvain -Message d'origine- De: Joerg

XMLForm view: what is the id

2003-01-13 Thread Sylvain.Thevoz
Hi all, Here the beginning of an XMLForm view called form1.xml: ?xml version=1.0 ? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:form id=form-feedback view=form1 action=delete.html In the third line there is a id=form-feedback. What does this id means? Thank you Sylvain

RE: file generator error

2003-01-13 Thread Sylvain.Thevoz
Hi Geoff, How do you debug this and how do you find your result? Thank you Regards Sylvain -Message d'origine- De: Geoff Howard [mailto:[EMAIL PROTECTED]] Date: lundi, 13. janvier 2003 15:46 À: [EMAIL PROTECTED] Objet: RE: file generator error -Original Message- From: [EMAIL

RE: file generator error

2003-01-13 Thread Sylvain.Thevoz
Hi Joerg, I'm using Cocoon 2.1 dev but an old version (17.10.2002). It could be the problem, no? Geoff: which version do you use? Regards Sylvain -Message d'origine- De: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Date: lundi, 13. janvier 2003 16:56 À: [EMAIL PROTECTED] Objet: Re: file

RE: file generator error

2003-01-14 Thread Sylvain.Thevoz
Hi Geoff, I haven't exactly the same as you but I confirm there is a problem here. For me your link gives: requestParameters parameter name=amp;fee valuefi/value /parameter parameter name=foo valuebar/value /parameter /requestParameters Regards Sylvain -Message

[XMLForm] how to dynamically initialize a bean property?

2003-01-14 Thread Sylvain.Thevoz
Hello, In my XMLForm application I want to initialize a bean property each time I load the application because the initialization value changes all the time (to find the initialization value I retrieve a value, which is also dynamic, from a database and I increment it). If I initialize the

RE: amp; in url [WAS: file generator error]

2003-01-15 Thread Sylvain.Thevoz
Joerg, I found the same as you if I type the URL in my browser. But in my case the problem is that the URL will be parsed through an XML parser. If I type the XML parser returns me this error: An error occurred The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that

RE: amp; in url [WAS: file generator error]

2003-01-15 Thread Sylvain.Thevoz
Hi Joerg, Your snippet works well for me (with amp;)! So, if I'm right this means that it isn't a bug but a problem in my code!? = I have found that it was a matcher problem in my sitemap! Now it works! Thank you all for you help Sylvain -Message d'origine- De: Joerg Heinicke

[XMLForm] xmlform-scope parameter

2003-01-15 Thread Sylvain.Thevoz
Hello, What is the difference between request and session for the value of xmlform-scope parameter? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting.

RE: [XMLForm] terminology question

2003-01-16 Thread Sylvain.Thevoz
Hi, Thank you but my question was about the meaning of the word in the context of XMLForm rather than the definition of the word itself. To say in another way: what do you fill with values? Where do you come from these values? Regards Sylvain -Message d'origine- De: Sylvain Wallez

RE: [XMLForm] terminology question

2003-01-16 Thread Sylvain.Thevoz
Thank you! Sorry for my ignorance but does it mean that in XMLForm a population is proceeded each time you invoke the action? Thank you Sylvain -Message d'origine- De: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Date: jeudi, 16. janvier 2003 14:11 À: [EMAIL PROTECTED] Objet: Re:

RE: [XMLForm] terminology question

2003-01-16 Thread Sylvain.Thevoz
OK, thank you very much. I think it could be very useful to have something like your description in the XMLForm documentation for the newbie users like me. It just to start with a minimal knowledge. Hope this helps. Of course, the best way to learn how the things happen is to look at the source

[XMLForm] initialization of the model

2003-01-20 Thread Sylvain.Thevoz
Hi all, I'm trying to initialize the model of a XMLForm app each time I call this app. This app is launching from the Cocoon portal, in an authenticated environment. I have followed the solution coming from the posts in this list (thank you for that). The solution was to override the

RE: Portal - NullPointerException Error

2003-01-20 Thread Sylvain.Thevoz
Hello, What have you modified? Regards Sylvain -Message d'origine- De: Richard Reyes [mailto:[EMAIL PROTECTED]] Date: lundi, 20. janvier 2003 06:39 À: cocoon-users Objet: Portal - NullPointerException Error Hi Guys, I've been trying to modify the cocoon portal configurations to

RE: Portal - NullPointerException Error

2003-01-20 Thread Sylvain.Thevoz
Hi Richard, You have to modify: -sitemap -views (in resources\ directory) -stylessheets (in styles\ directory) -coplets configuration (Portal Management in the portal) Search for the word in each one. Regards Sylvain -Message d'origine- De: Richard Reyes [mailto:[EMAIL PROTECTED]]

RE: [XMLForm] initialization of the model

2003-01-20 Thread Sylvain.Thevoz
Hi Ivelin, I have tried to put these lines in the prepare() method and it works: code Form.remove(getObjectModel(), getFormId()); getForm().addFormListener(this); code But to understand this thing could you tell me: - the getFormModel() method is called the first time you call the app,

RE: .Net port of Cocoon

2003-01-23 Thread Sylvain.Thevoz
Hi Luca, Hmm I never restart the Servlet container (not the VM) for debugging. Could you explain how you debug your Cocoon app? Regards Sylvain -Message d'origine- De: Luca Morandini [mailto:[EMAIL PROTECTED]] Date: jeudi, 23. janvier 2003 15:41 À: [EMAIL PROTECTED] Objet: RE:

RE: .Net port of Cocoon

2003-01-23 Thread Sylvain.Thevoz
Hi Vadim, ... and shoud not be: all IDEs as well as JDK has debuggers. Use them remotely or start your servlet engine from under it - in either case you can put breakpoints and debug your Java. Do you include Eclipse? Sylvain -Message d'origine- De: Vadim Gritsenko [mailto:[EMAIL

[XMLForm] Bean initialization

2003-01-24 Thread Sylvain.Thevoz
Hello everybody, Few weeks ago I talked about a problem when I tried to initialize the Bean in my XMLForm app. The Bean initialization should load an XML file and save it into a Node variable declared in the Bean. This Node is used to list possible values in a listbox for the property

[XMLForm] Bean initialization

2003-01-27 Thread Sylvain.Thevoz
Hello everybody, I repost my question: Few weeks ago I talked about a problem when I tried to initialize the Bean in my XMLForm app. The Bean initialization should load an XML file and save it into a Node variable declared in the Bean. This Node is used to list possible values in a listbox for

  1   2   >