RE: xmlforms and Xindice and Mysql

2003-06-27 Thread Sylvain.Thevoz
Hi, look at cocoonwiki: http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice Sylvain -Message d'origine- De: Uwe Knorr [mailto:[EMAIL PROTECTED] Date: vendredi, 27. juin 2003 10:39 À: [EMAIL PROTECTED] Objet: xmlforms and Xindice and Mysql I want to ceate a multi-form-dialog

ASP generator

2003-06-25 Thread Sylvain.Thevoz
Hello, Is there a way to read a dynamic HTML page generated by a Microsoft ASP application? Do I need the HTML generator or another asp generator? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

XMLForm: problem with prepare() method

2003-04-03 Thread Sylvain.Thevoz
Hello, You can see below the prepare() method of my XMLForm action: code protected Map prepare() { if (getCommand() == null) { Form.remove(getObjectModel().getFormId()); getForm().addFormListener(this); return page(VIEW_FORM1); } else if

RE: XMLForm: how to retrieve URL parameter?

2003-03-31 Thread Sylvain.Thevoz
Hi Josema, Do I need to override the act() method in the Action? Regards Sylvain -Message d'origine- De: Josema Alonso [mailto:[EMAIL PROTECTED] Date: lundi, 31. mars 2003 11:58 À: [EMAIL PROTECTED] Objet: RE: XMLForm: how to retrieve URL parameter? If i remember correctly, the

XMLForm: how to retrieve URL parameter?

2003-03-30 Thread Sylvain.Thevoz
Hello, I'm using an URL like below to access to a XMLForm application: http://myServer:8080/myApp?id=2500 I need to retrieve this parameter (id) from within the XMLForm Action class. The purpose is to populate the Bean with an object (id=2500) coming from the database. What is the best

RE: [ANN] sunBow 1.0

2003-03-28 Thread Sylvain.Thevoz
I used both Sunbow (0.6) plugin and Eclipse 2.0.1. Does it means that if you don't have Eclipse 2.1 you won't be able to use Sunbow plugin? Sylvain (T) -Message d'origine- De: Martin Dulisch [mailto:[EMAIL PROTECTED] Date: vendredi, 28. mars 2003 16:47 À: [EMAIL PROTECTED] Objet: Re:

XMLForm: how to access to a Collection

2003-03-27 Thread Sylvain.Thevoz
Hello, I'm trying to access to a Java Collection from within a XMLForm view. The Java code is: code ... Collection col = new HashSet(); ... while (iterator.hasNext()) { Group group = (Group) iter.next(); col.add(group); } ... code On my debugger the Collection object col

RE: XMLForm: how to access to a Collection

2003-03-27 Thread Sylvain.Thevoz
Hi Ivelin, I have stick the collection into the JavaBean of the form with getter and setter methods: public class MyFormBean() { private Collection col = new HashSet(); //other Bean attributes private String type; private int order; //getter and setter methods public Collection

RE: XMLForm: how to access to a Collection

2003-03-27 Thread Sylvain.Thevoz
There is nothing displayed. It seems that the view don't access to the collection. -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: jeudi, 27. mars 2003 14:30 À: [EMAIL PROTECTED] Objet: Re: XMLForm: how to access to a Collection What is the error, exception?

XMLForm: could I use repeat tag with Collection or ...

2003-03-26 Thread Sylvain.Thevoz
Hello, I want to have a XMLForm view with a code that could be (I think) like this: xf:repeat nodeset=variable xf:output ref=variableName/ xf:output ref=variableValue/ xf:output ref=variableOrder/ /xf:repeat My goal is to display an array like this: display Variables:

RE: XMLForm: could I use repeat tag with Collection or ...

2003-03-26 Thread Sylvain.Thevoz
Hi Ivelin, You means that I could use a Collection to store my data? Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: mercredi, 26. mars 2003 14:54 À: [EMAIL PROTECTED] Objet: Re: XMLForm: could I use repeat tag with Collection or ... should work.

RE: XMLForm: could I use repeat tag with Collection or ...

2003-03-26 Thread Sylvain.Thevoz
Hi again, If I take a look at the wizard example, I notice that the getter method (for a HashMap object) uses a Set class: public Set getObject() { return object.entrySet(); { Do I need something like that with a collection? About XPath and a Collection: if I have a Collection (variables)

RE: XMLForm: how to display a text

2003-03-25 Thread Sylvain.Thevoz
OK, thanks. And about HTML link? If I want to insert a HTML link (href) in my view? Is there something that already exists? Regards Sylvain -Message d'origine- De: Stefan Klein [mailto:[EMAIL PROTECTED] Date: mardi, 25. mars 2003 12:19 À: [EMAIL PROTECTED] Objet: Re: XMLForm: how to

RE: xform repeat and java beans: null pointer exception

2003-03-24 Thread Sylvain.Thevoz
Hi Dan, I don't know if you can use array with repeat tag. I'm using a HashMap instead of an Array (see the wizard example). It works fine for me. Don't forget to initialize the object. Before that I tried to do the same thing with a Collection but it didn't work for me. Regards Sylvain

XMLForm: how to display a text

2003-03-24 Thread Sylvain.Thevoz
Hello, Is there a way to display a simple text in XMLForm views? Someting like xf:textmy text/xf:text... Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: XMLForm: how to display a text

2003-03-24 Thread Sylvain.Thevoz
Yes, I think. What you said is that I should modify the XMLFormTransformer to add my own element? I thought that maybe something already exists. Regards Sylvain -Message d'origine- De: Ryan Hoegg [mailto:[EMAIL PROTECTED] Date: lundi, 24. mars 2003 14:09 À: [EMAIL PROTECTED] Objet:

RE: Eclipse, Tomcat and Sysdeo Plugin

2003-03-20 Thread Sylvain.Thevoz
Hello, I'm using this plugin and it works fine but I have: Windows NT Eclipse 2.0 (release) JDK 1.3.1_03 Tomcat 4.1.12 Sysdeo plugin 2.0.1 Cocoon 2.1-dev I know that there was a problem with the plugin and Eclipse 2.1 RC1. The plugin version 2.1beta corrects this problem. But if you use

XMLForm: how to display arrays

2003-03-17 Thread Sylvain.Thevoz
Hello, I'm using XMLForm to allow user to query a database. How can I display results data in an array like this: RESULTS: NameTypeOwner OS -- U1 Desktop Mob Wnt U2 Laptop

RE: XMLForm: how to display arrays

2003-03-17 Thread Sylvain.Thevoz
Hi Ivelin, How do you create columns with repeat tag? Have you an example? Thanks Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: lundi, 17. mars 2003 15:27 À: [EMAIL PROTECTED] Objet: Re: XMLForm: how to display arrays the repeat tag should help. -=Ivelin=-

Portal error (Cocoon-2.1-dev samples)

2003-03-12 Thread Sylvain.Thevoz
Hello, I'm running a Cocoon-2.1-dev snapshot from 29 january 2003 with JDK 1.3.1 and Tomcat 4.1.12. When I try to run the portal sample, it produces this error: The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that org.apache.cocoon.ProcessingException says:

RE: Handle Error

2003-03-07 Thread Sylvain.Thevoz
What URL do you use? Sylvain (T) -Message d'origine- De: zze-MORY Nicolas FTRD/DMI/REN [mailto:[EMAIL PROTECTED] Date: vendredi, 7. mars 2003 16:43 À: [EMAIL PROTECTED] Objet: Handle Error hello, it's me again. I a very poor newbie with cocoon. I'm trying since today 8am to produce a

Who use the Tomcat SYSDEO plugin for Eclipse?

2003-03-03 Thread Sylvain.Thevoz
Hello, Is there someone that use the Tomcat plugin for Eclipse from Sysdeo and work with Cocoon and this plugin?? If yes, I need help to load and configure my cocoon Tomcat Project. Thanks Sylvain - To unsubscribe, e-mail:

sitemap error after building cocoon project with Eclipse

2003-02-28 Thread Sylvain.Thevoz
Hello, Is there someone that have seen this error below? After building my Cocoon project in Eclipse (without error), the cocoon app returns this error when I try to load, for example, the samples/ page: org.apache.cocoon.ProcessingException: Failed to load sitemap from

missing org.xml.sax.EntityResolver during Cocoon build

2003-02-27 Thread Sylvain.Thevoz
Hello, I have this error when I try to build a Cocoon 2.1-dev snapshot (january 29, 2003) within an Eclipse project: This compilation unit indirectly references the missing type org.xml.sax.EntityResolver (typically some required class file is referencing a type outside the classpath). I

missing org.xml.sax.EntityResolver during Cocoon build

2003-02-27 Thread Sylvain.Thevoz
Hello, I have this error when I try to build a Cocoon 2.1-dev snapshot (january 29, 2003) within an Eclipse project: This compilation unit indirectly references the missing type org.xml.sax.EntityResolver (typically some required class file is referencing a type outside the classpath). I

Cocoon Portal authentication: how to retrieve user

2003-02-14 Thread Sylvain.Thevoz
Hello, I'm using the Cocoon Portal. I develop a new application that will called from a coplet (link). For this application, I need to retrieve the current User of the Portal session. How can I do that? Thanks Sylvain -

RE: extending XMLForms for different kinds of models...opinions?

2003-02-14 Thread Sylvain.Thevoz
Hi Josema, Could you describe the advantages and the possible application of this new feature. Regards Sylvain -Message d'origine- De: Josema Alonso [mailto:[EMAIL PROTECTED]] Date: vendredi, 14. février 2003 14:08 À: Cocoon-Users Objet: extending XMLForms for different kinds of

RE: XForms - and persistance layer - Xindice or other cleverness

2003-02-12 Thread Sylvain.Thevoz
Hi Dirk-Willem, See the How-to at Cocoon Wiki: http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice Regards Sylvain -Message d'origine- De: Dirk-Willem van Gulik [mailto:[EMAIL PROTECTED]] Date: mercredi, 12. février 2003 09:01 À: [EMAIL PROTECTED] Objet: XForms - and persistance

RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo

2003-02-12 Thread Sylvain.Thevoz
Hi Robert, I want to use the Eclipse debugger. I dont' if it is JPD compatible but I think... In Eclipse, how do you attach Tomcat remotely? Thanks Regards Sylvain -Message d'origine- De: Robert Simmons [mailto:[EMAIL PROTECTED]] Date: mardi, 11. février 2003 21:55 À: [EMAIL

RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo

2003-02-11 Thread Sylvain.Thevoz
Hi Martin, I want to develop application like you. And I have installed this Tomcat plugin to debug my app and the Cocoon sources. I don't want to work at the Cocoon sources, only understand how it works for debugging. Yes please. A description of your environment in Eclipse would be greatly

RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo

2003-02-11 Thread Sylvain.Thevoz
Martin, You said that you run Tomcat out of Eclipse. So you don't need a /WEB-INF directory in your Eclipse project, right? The Tomcat Eclipse runs Tomcat inside Eclipse. What is exactly the difference between outside and inside? To start/stop (outside) Tomcat from Eclipse, what do you change

How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo

2003-02-10 Thread Sylvain.Thevoz
Is there someone that could explain me how to load Cocoon into a Tomcat project in Eclipse? This type of project comes from the Sysdeo plugin which allow to run Tomcat into Eclipse. Thanks Regards Sylvain - Please check that

RE: XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)

2003-01-30 Thread Sylvain.Thevoz
Hi Ivelin, Could you tell me what is the best solution to debug this Java classes at running time? Thanks for your help Sylvain -Message d'origine- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Date: jeudi, 30. janvier 2003 04:53 À: [EMAIL PROTECTED] Objet: Re: XMLForm problem: PLEASE

XMLFormTransformer error

2003-01-29 Thread Sylvain.Thevoz
Hello, The XMLFormTransformer send me back an error: it find a group tag that is not in my view page! The error message is: ERROR Thread-5/XMLFormTransformer: pass through element [group] ERROR Thread-5/XMLFormTransformer: unknown element [group] Here is the log (cleaned): DEBUG

XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)

2003-01-29 Thread Sylvain.Thevoz
Hello, Is there someone in the list that could help me to find a XMLForm problem that I have for few weeks! I have read all the XMLForm doc and source code but I really don't understand what is this problem. I don't have enough experience to find the solution. My project is totally based on

XMLForm namespace

2003-01-28 Thread Sylvain.Thevoz
Hello, This XMLForm namespace doesn't work: http://xml.apache.org/cocoon/xmlform/2002 What is the correct namespace link? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before

[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

[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

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] 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: [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

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

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

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

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/

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

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

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

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

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

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

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]

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

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

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

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

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

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

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

  1   2   >