RE: xmlforms and Xindice and Mysql
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 (xmlforms) which starts with a business model which is taken from a Xindice database or mysql database and stores the changes or the new data in theses locations. To make my work easier I would prefer to start with an example. Can someone send me such an example. Best regards Heiner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ASP generator
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 commands, e-mail: [EMAIL PROTECTED]
XMLForm: problem with prepare() method
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 (Form.lookup(getObjectModel().getFormId() == null) { return page(VIEW_FORM1); } return super.PREPARE_RESULT_CONTINUE; } code My purpose is when I restart the application (when I load the first page, without command) I want to clear the Form. The problem is that the getCommand() method never return a null value, except when I load the app. for the first time. My Form has 2 pages. The first page has a next command that call the second page. The second page has a preview command that recall the first page (without clear the Form values) and a next command that call the first page (a new one, where I want to clear the Form values). Does it mean that the second page of my Form shouldn't have a command for calling a new first page? Is someone has a solution? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: how to retrieve URL parameter?
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 Request is held in the objectModel, so in your act method you can do: Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT); And get the desired paramater from there. Best. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: lunes, 31 de marzo de 2003 9:38 Para: [EMAIL PROTECTED] Asunto: XMLForm: how to retrieve URL parameter? 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 solution to retrieve the URL? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm: how to retrieve URL parameter?
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 solution to retrieve the URL? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] sunBow 1.0
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: [ANN] sunBow 1.0 Lyall, Keith wrote: Hi Martin, The version of Eclipse I am using is labelled v2.0.1. sunBow does not run with 2.0.x. There are API changes and plugin refacrotings in 2.1 I have not seen a v2.1 anywhere. 2.1 release is announced for today. Release candidates are available. Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm: how to access to a Collection
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 looks like: debug col=java.util.HashSet (id=327) -map=java.util.HashMap (id=329) -table=java.util.HashMap$Entry[11] (id=330) -[2]=java.util.HashMapEntry (id=331) -key=com.swisscom.Group (id=287) -groupName=test -count=3 -hash=0 -offset=0 -value=char[4] (id=212) -[0]=t -[1]=e -[2]=s -[3]=t debug I want to display the groupName value. My view should look like: xf:repeat nodeset=? xf:output ref=?/ /xf:repeat But I don't know how to access to this Collection (path). Could you help me? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: how to access to a Collection
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 getCol() { return col; } public void setCol(Collection col) { this.col = col; } } But it doesn't work for me! If what I need to do? And do I need to create another Bean? Thanks Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: jeudi, 27. mars 2003 14:10 À: [EMAIL PROTECTED] Objet: Re: XMLForm: how to access to a Collection You need to stick the collection in a simple JavaBean container. public class BeanContainer { Collection get/setMyCollection(); } then xf:repeat nodeset=myCollection xf:output ref=count/ xf:output ref=name/ ... /xf:repeat -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:39 AM Subject: XMLForm: how to access to a Collection 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 looks like: debug col=java.util.HashSet (id=327) -map=java.util.HashMap (id=329) -table=java.util.HashMap$Entry[11] (id=330) -[2]=java.util.HashMapEntry (id=331) -key=com.swisscom.Group (id=287) -groupName=test -count=3 -hash=0 -offset=0 -value=char[4] (id=212) -[0]=t -[1]=e -[2]=s -[3]=t debug I want to display the groupName value. My view should look like: xf:repeat nodeset=? xf:output ref=?/ /xf:repeat But I don't know how to access to this Collection (path). Could you help me? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: how to access to a Collection
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? -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 7:25 AM Subject: RE: XMLForm: how to access to a Collection 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 getCol() { return col; } public void setCol(Collection col) { this.col = col; } } But it doesn't work for me! If what I need to do? And do I need to create another Bean? Thanks Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: jeudi, 27. mars 2003 14:10 À: [EMAIL PROTECTED] Objet: Re: XMLForm: how to access to a Collection You need to stick the collection in a simple JavaBean container. public class BeanContainer { Collection get/setMyCollection(); } then xf:repeat nodeset=myCollection xf:output ref=count/ xf:output ref=name/ ... /xf:repeat -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 3:39 AM Subject: XMLForm: how to access to a Collection 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 looks like: debug col=java.util.HashSet (id=327) -map=java.util.HashMap (id=329) -table=java.util.HashMap$Entry[11] (id=330) -[2]=java.util.HashMapEntry (id=331) -key=com.swisscom.Group (id=287) -groupName=test -count=3 -hash=0 -offset=0 -value=char[4] (id=212) -[0]=t -[1]=e -[2]=s -[3]=t debug I want to display the groupName value. My view should look like: xf:repeat nodeset=? xf:output ref=?/ /xf:repeat But I don't know how to access to this Collection (path). Could you help me? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm: could I use repeat tag with Collection or ...
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: variableNamevariableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: could I use repeat tag with Collection or ...
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. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:23 AM Subject: XMLForm: could I use repeat tag with Collection or ... 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: variableName variableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: could I use repeat tag with Collection or ...
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) that contains variable objects and this object contains 2 attributes (name and order), how do you access to these data? If I try: code xf:repeat nodeset=variables/variable xf:output ref=name/ xf:output ref=orderrder/ /xf:repeat code Am I in the right way Thanks for your help. Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: mercredi, 26. mars 2003 15:10 À: [EMAIL PROTECTED] Objet: Re: XMLForm: could I use repeat tag with Collection or ... Yes. any Collection for the nodeset. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 8:00 AM Subject: RE: XMLForm: could I use repeat tag with Collection or ... 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. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:23 AM Subject: XMLForm: could I use repeat tag with Collection or ... 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: variableName variableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: how to display a text
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 display a text No, what Richard says is just to include your own tag in the form, for example textmy text/text o justtextmy text/justtext, just call it how you like. The XMLFormTransformer will ignore the element and just pass it through. You can then catch it in your XSL (for example in xmlform2html.xsl, if you're using that one) and transform it to whatever you like. I think you can even use the xf prefix, is to say xf:textmy text/xf:text and the transformer will still just pass it through. A change in the tranformer is not required. Stefan -- AGAINST THE WAR! - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 8:56 AM Subject: RE: XMLForm: how to display a text 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: XMLForm: how to display a text You could just include it in your own element like paragraph. Then the XMLFormTransformer will ignore it I think. -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net [EMAIL PROTECTED] wrote: Hello, Is there a way to display a simple text in XMLForm views? Someting like xf:textmy text/xf:text... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xform repeat and java beans: null pointer exception
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 (T) -Message d'origine- De: Barber, Dan [mailto:[EMAIL PROTECTED] Date: vendredi, 21. mars 2003 18:01 À: [EMAIL PROTECTED] Objet: xform repeat and java beans: null pointer exception Hi, There might be a simple solution to this problem, but I have not been able to find it. Here is the problem: I have a Java Bean that returns an array of objects. I try to display the list using the xf:repeat in an xml file. Here's the bean, xml and sitemap entries: -- Cocoon version 2.1 latest CVS files --- Notes: I have all log levels set to DEBUG. I haven't found any useful info listed in the log file. - start.xml -- ?xml version=1.0 ? document xmlns:xf= http://xml.apache.org/cocoon/xmlform/2002; xf:form id=form-feedback view=start action=ruleset xf:captionDummy/xf:caption xf:output ref=/dummys[2]/ !-- this works fine -- xf:repeat nodeset=/dummys !-- this generates an exception. Please see exception below -- xf:output ref=./ /xf:repeat /xf:form /document -- Bean -- public class RuleSetHelperBean { public RuleSetHelperBean() { dummys[0] = new String(blah1); dummys[1] = new String(blah2); } public String[] getDummys() { return dummys; } public String getDummys(int idx) { return dummys[idx]; } protected String dummys[] = new String[2]; } -- Sitemap entries (relevant to this problem) -- map:action name=RuleSetAction src=com.test.RuleSetAction logger=xmlform.sitemap.action.ruleset/ . map:match pattern=ruleset* map:act type=RuleSetAction !-- XMLForm parameters for the AbstractXMLFormAction -- map:parameter name=xmlform-validator-schema-ns value= http://www.ascc.net/xml/schematron/ map:parameter name=xmlform-validator-schema value=schematron/ruleset-xmlform-sch-report.xml/ map:parameter name=xmlform-id value=form-feedback/ map:parameter name=xmlform-scope value=session/ map:parameter name=xmlform-model value=com.test.RuleSetHelperBean/ - Browser exception - An error occurredorg.apache.cocoon.ProcessingExceptionFailed to execute pipeline.org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerExceptionOriginal exception : java.lang.NullPointerException at org.apache.xalan.transformer.TransformerIdentityImpl.flushStartDoc(TransformerIdentityImpl.java:888) at org.apache.xalan.transformer.TransformerIdentityImpl.startPrefixMapping(TransformerIdentityImpl.java:931) at org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.startNode(DOMStreamer.java:442) at org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.stream(DOMStreamer.java:259) at org.apache.cocoon.xml.dom.DOMStreamer.stream(DOMStreamer.java:173) at org.apache.cocoon.xml.XMLUtils.serializeNode(XMLUtils.java:230) at org.apache.cocoon.xml.XMLUtils.serializeNodeToXML(XMLUtils.java:181) at org.apache.cocoon.transformation.AbstractSAXTransformer.endRecording(AbstractSAXTransformer.java:496) at org.apache.cocoon.transformation.XMLFormTransformer.endTransformingElement(XMLFormTransformer.java:965) at org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(AbstractSAXTransformer.java:355) at org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:124) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:897) at Thanks! Dan Barber - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm: how to display a text
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
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: XMLForm: how to display a text You could just include it in your own element like paragraph. Then the XMLFormTransformer will ignore it I think. -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net [EMAIL PROTECTED] wrote: Hello, Is there a way to display a simple text in XMLForm views? Someting like xf:textmy text/xf:text... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Eclipse, Tomcat and Sysdeo Plugin
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 Eclipse 2.1 RC2 I don't know. Have you checked the context in server.xml file? Regards Sylvain (T) -Message d'origine- De: Helmut Tammen [mailto:[EMAIL PROTECTED] Date: jeudi, 20. mars 2003 09:02 : [EMAIL PROTECTED] Objet: Eclipse, Tomcat and Sysdeo Plugin Hi, I try to use the combination of Eclipse, Tomcat and the Sysdeo Plugin to debug the cocoon source in Eclipse. This doesnt work (error message when trying to access any Cocoon resource at the end). When I start Tomcat via the startup.bat everything works fine. My environment: Windows 2000 Eclipse 2.1 (Beta) JDK 1.4.1_02 Tomcat 4.0.6 Sysdeo plugin for Eclipse 2.1 (Beta) Cocoon 2.1-dev Ive also tried JDK 1.4.0, Tomcat 4.1.18 and Cocoon 2.0.4 in various combinations with no success. All the Xerces and Xalan libs are replaced with the ones from Cocoon in the directories [JAVA_HOME]/jre/lib/endorsed, [CATALINA_HOME]/common/endorsed and in [ECLIPSE_HOME]/plugins/org.apache.xerces_4.0.7 (probably not necessary because not in the classpath of my webapp) Does anyone have an idea whats going wrong here? Thanks in advance Helmut ERROR (2003-03-20) 08:33.54:103 [access] (Unknown-URI) Unknown- thread/CocoonServlet: Cocoon got an Exception while trying to close stream. java.io.IOException: The stream has been closed at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:237) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1145) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:536) FATAL_E (2003-03-20) 08:33.57:218 [access] (/cocoon21/samples/welcome) HttpProcessor[8080][4]/CocoonServlet: The Cocoon engine failed to process the request. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm: how to display arrays
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 Mob Wxp Is there a way to do this with XForms? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: how to display arrays
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=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:37 AM Subject: XMLForm: how to display arrays Hello, I'm using XMLForm to allow user to query a database. How can I display results data in an array like this: RESULTS: Name Type Owner OS -- U1 Desktop Mob Wnt U2 Laptop Mob Wxp Is there a way to do this with XForms? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Portal error (Cocoon-2.1-dev samples)
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: Application not found: sunspotdemo More precisely: org.apache.cocoon.ProcessingException: Application not found: sunspotdemo at org.apache.cocoon.webapps.authentication.components.AuthenticationManager.checkAuthentication(AuthenticationManager.java:371) at org.apache.cocoon.webapps.authentication.acting.AuthAction.act(AuthAction.java:105) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:133) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) Could you help me? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Handle Error
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 good error page 404 when a document not found by cocoon. So i'm using handle error. But it doesn't work with me. I tried to find information which can help me and i found nothing. :( If anyone can help me ? i join my sitemap.xmap : ?xml version=1.0 encoding=UTF-8? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:components map:generators default=file map:generator name=file src=org.apache.cocoon.generation.FileGenerator/ /map:generators map:transformers default=xslt map:transformer name=xslt src=org.apache.cocoon.transformation.TraxTransformer/ /map:transformers map:readers default=resource map:reader name=resource src=org.apache.cocoon.reading.ResourceReader/ /map:readers map:serializers default=html map:serializer mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer/ map:serializer mime-type=text/html name=html src=org.apache.cocoon.serialization.HTMLSerializer/ map:serializer mime-type=image/png name=svg2png src=org.apache.cocoon.serialization.SVGSerializer/ map:serializer mime-type=application/pdf name=fo2pdf src=org.apache.cocoon.serialization.FOPSerializer/ map:serializer logger=sitemap.serializer.xhtml mime-type=text/html name=xhtml pool-grow=2 pool-max=64 pool-min=2 src=org.apache.cocoon.serialization.XMLSerializer doctype-public-//W3C//DTD XHTML 1.0 Strict//EN/doctype-public doctype-systemhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd/doctype-system encodingUTF-8/encoding /map:serializer /map:serializers map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers /map:components map:pipelines map:pipeline map:match pattern=*.xhtml map:generate src=content/{1}.xml/ map:transform src=transforms/article_mcinema.xsl/ map:serialize type=xhtml/ /map:match map:match pattern=*.html map:generate src=content/{1}.xml/ map:transform src=transforms/simple-page2html.xsl/ map:serialize type=html/ /map:match map:handle-errors map:transform src=context://transform/error2html.xsl/ map:serialize status-code=404/ /map:handle-errors/map:pipeline /map:pipelines /map:sitemap - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Who use the Tomcat SYSDEO plugin for Eclipse?
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sitemap error after building cocoon project with Eclipse
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 file:/C:/jakarta-tomcat-4.1.12/webapps/cocoon/samples/sitemap.xmap: org.apache.avalon.framework.configuration.ConfigurationException: Type 'file' is not defined for 'generate' at file:/C:/jakarta-tomcat-4.1.12/webapps/cocoon/samples/sitemap.xmap:117:56 Before the compilation with Eclipse, the Cocoon app works perfectly. It seems maybe that the app doesn't find the file generator component (a JAR lib)... Any help will be greatly appreciated Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
missing org.xml.sax.EntityResolver during Cocoon build
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 think I need some xml librairies. If I try to add the xml-apis.jar library (from the endorsed folder), the build process returns 6500 errors! Which libraries do I need? I'm using Tomcat 4.1.12 with JDK 1.3.1_03 Thanks for your help Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
missing org.xml.sax.EntityResolver during Cocoon build
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 think I need some xml librairies. If I try to add the xml-apis.jar library (from the endorsed folder), the build process returns 6500 errors! Which libraries do I need? I'm using Tomcat 4.1.12 with JDK 1.3.1_03 Thanks for your help Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon Portal authentication: how to retrieve user
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 - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: extending XMLForms for different kinds of models...opinions?
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 models...opinions? Dear all, I need your suggestions and opinions in extending the current XMLForm model approach. If you use XMLForm or are thinking about using it soon, I'd suggest youy to read this message and send some feedback to the list. Some days ago, and with some ideas I exchanged with Ivelin, I made a how-to that should help users on using XMLForm with Xindice for storing XML models. It is at Wiki (http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice) and made its way into the CVS a few days ago. In this how-to I explored new ways of storing the form model. This new way the XML model is stored in a file in the system with an empty structure. Then it is loaded into a JXPath Container and manipulated from there. The getFormModel() is overriden so you don't need a Bean, but just the file. Ivelin thought this could be a great addition to the framework, so we were discussing how to make this available for the end user. We exchanged some ideas and they led us to incorporating some mechanism to the sitemap. We were thinking about a prefix. This way, passing the model parameter to the form would be like this: map:parameter name=xmlform-model value=java:MyBean/ The 'java:' prefix would be used for java models. If you would like to use the pure XML model approach you could do something like: map:parameter name=xmlform-model value=xml:MyDocument/ Of course, one of the approaches could be made the default one so this could make life easier for most used models declaring them implicit: map:parameter name=xmlform-model value=MyModel/ I hope I explained it clearly. Now I need your feedback. I'd like to know if this make sense to you and if so, we should decide which of the two approaches should be the implicit one, so the AbstractXMLFormAction would be modified accordingly. Maybe some of you would prefer to see it implemented but having the java models as the implicit ones, so you won't need to change your working xmlforms in order to use it in the future 2.1. If you feel that way, please say so. Best, Josema. - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XForms - and persistance layer - Xindice or other cleverness
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 layer - Xindice or other cleverness Is there a well known receipe to generate the JavaBeans which XForms needs to hold the data for each form ? Or a generic mapper whcih given the xform data lets me store such directly in Xindice or, through somethign like an automated SQL mapping, elsewhere ? What I am looking for is a data definition driven - form - validation - storage construction. Where a change in the data definition, followed if needed by a purge of the database and a restructure/rebuild/remake, will drive the (html) forms, table/storage structs and validation. A recompile of generated java code is fine too. Data defintion is obviously not to be interpreted too narrow; i.e. it may have companion definitions for UI or storage hints, Thanks for your collective wisdom ! Dw - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo
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 PROTECTED] Objet: Re: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo Debugging is easy if you have a JPD compatible debugger. Look at the Java documentation on the Java command for info on how to run tomcat in debug mode and then attach to it remotely. I use this technique with JBoss all the time. -- Robert - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 2:03 PM Subject: RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo 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 in windows/Preferences? At this time I don't want to develop components but I would like to debug the existing components. Would be better to create Java project? Thanks again Best. Sylvain -Message d'origine- De: Martin Dulisch [mailto:[EMAIL PROTECTED]] Date: mardi, 11. février 2003 10:16 À: [EMAIL PROTECTED] Objet: Re: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo Sylvain, I use the tomcat plug-in only to start/stop tomcat out of eclipse. I dont use the tomcat project type. If you want to develop java components like actions or transformers than create a java project. If you do not develop java components than you can create a simple project. The project folder should be in both cases the tomcat/webapps/cocoon folder. Java Build Path settings (Properties of the project): - Build output folder: WEB-INF/classes - Libraries: add libs from WEB-INF/lib you need to compile To start/stop tomcat set the tomcat path in Windows/Preferences. The tomcat plug-in starts tomcat in debug mode. So you can set breakpoints in your source files. I use tomcat 4.1.X. Here hot code replacement works for me. For the non java work I use the sunBow plug-in :) Hope I did not have forget anything. Martin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 9:47 AM Subject: RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo 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 appreciated. Thank you very much Regards Sylvain -Message d'origine- De: Martin Dulisch [mailto:[EMAIL PROTECTED]] Date: mardi, 11. février 2003 09:23 À: [EMAIL PROTECTED] Objet: Re: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo Hi Sylvain, what do you want to do with this project? Application development with cocoon or do you want to work at the cocoon sources? I do the first one. If you want to do the same I could describe my environment in eclipse. Martin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 4:55 PM Subject: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo 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 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo
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 appreciated. Thank you very much Regards Sylvain -Message d'origine- De: Martin Dulisch [mailto:[EMAIL PROTECTED]] Date: mardi, 11. février 2003 09:23 À: [EMAIL PROTECTED] Objet: Re: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo Hi Sylvain, what do you want to do with this project? Application development with cocoon or do you want to work at the cocoon sources? I do the first one. If you want to do the same I could describe my environment in eclipse. Martin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 4:55 PM Subject: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo 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 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo
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 in windows/Preferences? At this time I don't want to develop components but I would like to debug the existing components. Would be better to create Java project? Thanks again Best. Sylvain -Message d'origine- De: Martin Dulisch [mailto:[EMAIL PROTECTED]] Date: mardi, 11. février 2003 10:16 À: [EMAIL PROTECTED] Objet: Re: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo Sylvain, I use the tomcat plug-in only to start/stop tomcat out of eclipse. I dont use the tomcat project type. If you want to develop java components like actions or transformers than create a java project. If you do not develop java components than you can create a simple project. The project folder should be in both cases the tomcat/webapps/cocoon folder. Java Build Path settings (Properties of the project): - Build output folder: WEB-INF/classes - Libraries: add libs from WEB-INF/lib you need to compile To start/stop tomcat set the tomcat path in Windows/Preferences. The tomcat plug-in starts tomcat in debug mode. So you can set breakpoints in your source files. I use tomcat 4.1.X. Here hot code replacement works for me. For the non java work I use the sunBow plug-in :) Hope I did not have forget anything. Martin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 9:47 AM Subject: RE: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo 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 appreciated. Thank you very much Regards Sylvain -Message d'origine- De: Martin Dulisch [mailto:[EMAIL PROTECTED]] Date: mardi, 11. février 2003 09:23 À: [EMAIL PROTECTED] Objet: Re: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo Hi Sylvain, what do you want to do with this project? Application development with cocoon or do you want to work at the cocoon sources? I do the first one. If you want to do the same I could describe my environment in eclipse. Martin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 4:55 PM Subject: How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo 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 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to load Cocoon into Eclipse-Tomcat plugin from Sysdeo
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 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)
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 HELP (att. XMLForm architects and specialists) Sylvain, did you try to debug the AbstractXMLFormAction and the XMLFormTransformer. This is probably your best bet for finding the problem. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 10:02 AM Subject: XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists) 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 Cocoon and XMLForm and I can't move forward for days in it. The problem happens when I try to display a Node or a List with a repeat tag. The first time I load the view, the page is empty (but the List or Node contains data). If now I refresh my browser, the page is full and all is OK! Here is part of the xmlform.log (cleaned): DEBUG Thread-5/AbstractSAXTransformer: BEGIN setup resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, objectModel={httpresponse=org.apache.coyote.tomcat4.CoyoteResponseFacade@5a2 dc4, response=org.apache.cocoon.environment.http.HttpResponse@72c47b, context=org.apache.cocoon.environment.http.HttpContext@d4f27, source-resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, request=org.apache.cocoon.environment.http.HttpRequest@4187c8, httprequest=org.apache.coyote.tomcat4.CoyoteRequestFacade@395f72, httpservletcontext=org.apache.catalina.core.ApplicationContextFacade@22c9df} , src=null, parameters=org.apache.avalon.framework.parameters.Parameters@73552f DEBUG Thread-5/AbstractSAXTransformer: END setup DEBUG Thread-5/AbstractSAXTransformer: BEGIN setupTransforming DEBUG Thread-5/AbstractSAXTransformer: END setupTransforming DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=form, raw=xf:form, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/AbstractSAXTransformer: BEGIN startRecording DEBUG Thread-5/AbstractSAXTransformer: END startRecording DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat) DEBUG Thread-5/AbstractSAXTransformer: BEGIN endRecording DEBUG Thread-5/AbstractSAXTransformer: END endRecording fragment=?xml version=1.0 encoding=ISO-8859-1? xf:output xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; ref=salut xf:captionWorkstation: /xf:caption /xf:output DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group, attr=org.xml.sax.helpers.AttributesImpl@30d33c)
XMLFormTransformer error
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 Thread-5/AbstractSAXTransformer: BEGIN setup resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, objectModel={httpresponse=org.apache.coyote.tomcat4.CoyoteResponseFacade@5a2dc4, response=org.apache.cocoon.environment.http.HttpResponse@72c47b, context=org.apache.cocoon.environment.http.HttpContext@d4f27, source-resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, request=org.apache.cocoon.environment.http.HttpRequest@4187c8, httprequest=org.apache.coyote.tomcat4.CoyoteRequestFacade@395f72, httpservletcontext=org.apache.catalina.core.ApplicationContextFacade@22c9df}, src=null, parameters=org.apache.avalon.framework.parameters.Parameters@73552f DEBUG Thread-5/AbstractSAXTransformer: END setup DEBUG Thread-5/AbstractSAXTransformer: BEGIN setupTransforming DEBUG Thread-5/AbstractSAXTransformer: END setupTransforming DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=form, raw=xf:form, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/AbstractSAXTransformer: BEGIN startRecording DEBUG Thread-5/AbstractSAXTransformer: END startRecording DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat) DEBUG Thread-5/AbstractSAXTransformer: BEGIN endRecording DEBUG Thread-5/AbstractSAXTransformer: END endRecording fragment=?xml version=1.0 encoding=ISO-8859-1? xf:output xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; ref=salut xf:captionWorkstation: /xf:caption /xf:output DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group, attr=org.xml.sax.helpers.AttributesImpl@30d33c) ERROR Thread-5/XMLFormTransformer: pass through element [group] DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group) ERROR Thread-5/XMLFormTransformer: unknown element [group] DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group, attr=org.xml.sax.helpers.AttributesImpl@7c468e) ERROR Thread-5/XMLFormTransformer: pass through element [group] DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group) ERROR Thread-5/XMLFormTransformer: unknown element [group] DEBUG Thread-5/XMLFormTransformer: END endTransformingElement etc... My view page is: ?xml version=1.0 ?
XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)
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 Cocoon and XMLForm and I can't move forward for days in it. The problem happens when I try to display a Node or a List with a repeat tag. The first time I load the view, the page is empty (but the List or Node contains data). If now I refresh my browser, the page is full and all is OK! Here is part of the xmlform.log (cleaned): DEBUG Thread-5/AbstractSAXTransformer: BEGIN setup resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, objectModel={httpresponse=org.apache.coyote.tomcat4.CoyoteResponseFacade@5a2dc4, response=org.apache.cocoon.environment.http.HttpResponse@72c47b, context=org.apache.cocoon.environment.http.HttpContext@d4f27, source-resolver=org.apache.cocoon.environment.http.HttpEnvironment@2f4309, request=org.apache.cocoon.environment.http.HttpRequest@4187c8, httprequest=org.apache.coyote.tomcat4.CoyoteRequestFacade@395f72, httpservletcontext=org.apache.catalina.core.ApplicationContextFacade@22c9df}, src=null, parameters=org.apache.avalon.framework.parameters.Parameters@73552f DEBUG Thread-5/AbstractSAXTransformer: END setup DEBUG Thread-5/AbstractSAXTransformer: BEGIN setupTransforming DEBUG Thread-5/AbstractSAXTransformer: END setupTransforming DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=form, raw=xf:form, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/AbstractSAXTransformer: BEGIN startRecording DEBUG Thread-5/AbstractSAXTransformer: END startRecording DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption, attr=org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy@3104d7) DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=caption, raw=xf:caption) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=output, raw=xf:output) DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=repeat, raw=xf:repeat) DEBUG Thread-5/AbstractSAXTransformer: BEGIN endRecording DEBUG Thread-5/AbstractSAXTransformer: END endRecording fragment=?xml version=1.0 encoding=ISO-8859-1? xf:output xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; ref=salut xf:captionWorkstation: /xf:caption /xf:output DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group, attr=org.xml.sax.helpers.AttributesImpl@30d33c) ERROR Thread-5/XMLFormTransformer: pass through element [group] DEBUG Thread-5/XMLFormTransformer: END startTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN endTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group) ERROR Thread-5/XMLFormTransformer: unknown element [group] DEBUG Thread-5/XMLFormTransformer: END endTransformingElement DEBUG Thread-5/XMLFormTransformer: BEGIN startTransformingElement uri=http://xml.apache.org/cocoon/xmlform/2002, name=group, raw=xf:group, attr=org.xml.sax.helpers.AttributesImpl@7c468e) ERROR Thread-5/XMLFormTransformer: pass through element [group] DEBUG Thread-5/XMLFormTransformer:
XMLForm namespace
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 posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[XMLForm] Bean initialization
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 the property workstationType. The problem was that the list of the listbox was empty on the first page of the form and the Bean didn't seem to be initialized. When you went to the next page and went back to the first, the list was suddenly full and all was OK. It seemed that the Bean was initialized only at the second page. It's very strange because the Bean seemed to be initialized but the list for the listbox was empty. But there was the right number of spaces to display the list (you had 5 lines in the view if there was 5 entries in the list). I have new information about this problem: 1) I tried to override the getFormModel() method in the Action and put the Bean initialization into this method. The problem was still exactly the same! 2) I conclude that it's not a Node initialization problem. The problem is when you want to display the list at the first page. Now there is a strange thing: if you assign something in the property workstationType within the getFormModel(), the initialization works well and you have the full list at the first page (but you don't see the value you have assigned in the getFormModel() method!). WHAT HAPPEN!!! If someone has an idea? Thank you very much 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[XMLForm] Bean initialization
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 workstationType. The problem was that the list of the listbox was empty on the first page of the form and the Bean didn't seem to be initialized. When you went to the next page and went back to the first, the list was suddenly full and all was OK. It seemed that the Bean was initialized only at the second page. It's very strange because the Bean seemed to be initialized but the list for the listbox was empty. But there was the right number of spaces to display the list (you had 5 lines in the view if there was 5 entries in the list). I have new information about this problem: 1) I tried to override the getFormModel() method in the Action and put the Bean initialization into this method. The problem was still exactly the same! 2) I conclude that it's not a Node initialization problem. The problem is when you want to display the list at the first page. Now there is a strange thing: if you assign something in the property workstationType within the getFormModel(), the initialization works well and you have the full list at the first page (but you don't see the value you have assigned in the getFormModel() method!). WHAT HAPPEN!!! If someone has an idea? Thank you very much 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: .Net port of Cocoon
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: .Net port of Cocoon Andreas, wait a second: I mean no memory leaks in the VM Memory leaks ? I've got applications in operation for months without having a single hiccup... aren't you confusing the Servlet container (say, a buggy verisone of Tomcat) with Cocoon ? no complicated superlong configration files That's the con side of flexibility: I hate those GUI-based administration tools that don't allow you to do much. no VM restarting for debugging Hmm I never restart the Servlet container (not the VM) for debugging: could you please explain ? Regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Andreas Bednarz [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 3:30 PM To: [EMAIL PROTECTED] Subject: Re: .Net port of Cocoon Hi Derek, thank you very much for your comment. Yes, it is all true and I am not a friend of MS closed sources in any way. We know Java very well but you hardly get peoply who can do the real thinks with Cocoon and can develop a real application ... not just some test cases and handler forms. In thins case a .NET application would not be easier to handle too, but maybe there is some company who can provide a Cocoon Clone which is as easy to use as PHP. I mean no memory leaks in the VM, no complicated superlong configration files, no VM restarting for debugging etc Andreas Bednarz, Germany - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: .Net port of Cocoon
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 PROTECTED]] Date: jeudi, 23. janvier 2003 17:05 À: [EMAIL PROTECTED] Objet: Re: .Net port of Cocoon Luca Morandini wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 3:55 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: .Net port of Cocoon Hi Luca, Hmm I never restart the Servlet container (not the VM) for debugging. Could you explain how you debug your Cocoon app? By looking at the log files (you can easily configure them via logkit.xconf) and by using views (meaning: looking at the output of intermediate steps in the pipeline). Granted, there is no debugger in Cocoon, ... 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. /me goes back to lurking Vadim but no need to re-start the container either. Regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[XMLForm] initialization of the model
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 getFormModel() method in the Action class to initialize the model inside. I've done this but I still have a problem: the initialization is proceeded only the first time I call the app (the action) and not each time. What should I do for doing this? Is there maybe a session problem? Any help would be greatly appreciated. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Portal - NullPointerException Error
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 suit my needs, when i accidentally stumbled into this nullpointerexception error... Original exception : java.lang.NullPointerException at org.apache.cocoon.webapps.portal.components.PortalManager.showPortal(PortalManager.java:740) at org.apache.cocoon.webapps.portal.generation.PortalGenerator.generate(PortalGenerator.java:82) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:537) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:213) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:148) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:134) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299) at org.apache.cocoon.Cocoon.process(Cocoon.java:600) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
RE: Portal - NullPointerException Error
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]] Date: lundi, 20. janvier 2003 10:36 À: [EMAIL PROTECTED] Objet: Re: Portal - NullPointerException Error mainly naming conventions, ( yet ). i would like to just remove the sunspotdemo word. anything you need to help you help me?? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 4:38 PM Subject: RE: Portal - NullPointerException Error 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 suit my needs, when i accidentally stumbled into this nullpointerexception error... Original exception : java.lang.NullPointerException at org.apache.cocoon.webapps.portal.components.PortalManager.showPortal(PortalM anager.java:740) at org.apache.cocoon.webapps.portal.generation.PortalGenerator.generate(PortalG enerator.java:82) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP ipeline(AbstractProcessingPipeline.java:537) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline .processXMLPipeline(AbstractCachingProcessingPipeline.java:213) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs tractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri alizeNode.java:148) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:299) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:134) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:299) at org.apache.cocoon.Cocoon.process(Cocoon.java:600) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
RE: [XMLForm] initialization of the model
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, right? - is the getFormModel() method called before or after the prepare() method? - the prepare() method is called each time you call the app, right? Thank you Regards Sylvain -Message d'origine- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Date: lundi, 20. janvier 2003 15:18 À: [EMAIL PROTECTED] Objet: Re: [XMLForm] initialization of the model Try the overriding reset() - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 2:53 AM Subject: [XMLForm] initialization of the model 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 getFormModel() method in the Action class to initialize the model inside. I've done this but I still have a problem: the initialization is proceeded only the first time I call the app (the action) and not each time. What should I do for doing this? Is there maybe a session problem? Any help would be greatly appreciated. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [XMLForm] terminology question
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 [mailto:[EMAIL PROTECTED]] Date: jeudi, 16. janvier 2003 13:55 À: [EMAIL PROTECTED] Objet: Re: [XMLForm] terminology question [EMAIL PROTECTED] wrote: Hello, I'm looking through the XMLForm source code and API and there are many comments that speak about population. What does it mean exactly? It comes from the verb populate, which, in this context, means something as fill with values. Check also http://dictionary.reference.com/search?q=populate Sylvain (another one) -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [XMLForm] terminology question
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: [XMLForm] terminology question The population term comes from JavaBeans, Struts, etc. and basicaly it means filling (populating) java bean properties with values from some other sources, e.g. XML, map, another bean properties, servlet request, etc. Konstantin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 15:51 Subject: [XMLForm] terminology question Hello, I'm looking through the XMLForm source code and API and there are many comments that speak about population. What does it mean exactly? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [XMLForm] terminology question
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 and try to implement something simple and so on. You're right. This is what I'm trying to do. Regards Sylvain -Message d'origine- De: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Date: jeudi, 16. janvier 2003 15:09 À: [EMAIL PROTECTED] Objet: Re: [XMLForm] terminology question Ok, I'll try to answer again. what do you fill with values? The Form object which is a wrapper for the underlying data model object. It can be either a JavaBean or a DOM object. And that Form is filled by values using XPath expressions which are processed by JXPath (http://jakarta.apache.org/commons/jxpath). The Form object is filled by values when a request is received and processed by the XMLForms action (don't remember the exact name, sorry). Where do you come from these values? So, the values come from the request (Http servlet request) parameters, which should have XPath name, e.g.: '/customer/firstname=John', etc. As the XMLForm framework was inspired by Struts then you'll find more detailed description of concepts at Struts' page: http://jakarta.apache.org/struts Hope this helps. Of course, the best way to learn how the things happen is to look at the source and try to implement something simple and so on. Konstantin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 16:07 Subject: RE: [XMLForm] terminology question 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 [mailto:[EMAIL PROTECTED]] Date: jeudi, 16. janvier 2003 13:55 À: [EMAIL PROTECTED] Objet: Re: [XMLForm] terminology question [EMAIL PROTECTED] wrote: Hello, I'm looking through the XMLForm source code and API and there are many comments that speak about population. What does it mean exactly? It comes from the verb populate, which, in this context, means something as fill with values. Check also http://dictionary.reference.com/search?q=populate Sylvain (another one) -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: amp; in url [WAS: file generator error]
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 org.apache.cocoon.ProcessingException says: The reference to entity c must end with the ';' delimiter. More precisely: org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/C:/jakarta-tomcat-4.1.12/webapps/cocoon/woc/portal-fw/sitemap.xmap: file:/C:/jakarta-tomcat-4.1.12/webapps/cocoon/woc/portal-fw/sitemap.xmap:168:70:org.xml.sax.SAXParseException: The reference to entity c must end with the ';' delimiter. And If I type amp; the XML parser doesn't return an error but the link isn't correct anymore because it uses amp; instead of . Sylvain -Message d'origine- De: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Date: mardi, 14. janvier 2003 21:14 À: [EMAIL PROTECTED] Objet: Re: file generator error Hello Geoff, If I type http://127.0.0.1:8080/cocoon/joerg/test?test=testtest2=test2 in Mozilla URL textbox I get expected requestParameters parameter name=test2 valuetest2/value /parameter parameter name=test valuetest/value /parameter /requestParameters If I type http://127.0.0.1:8080/cocoon/joerg/test?test=testamp;test2=test2 I get (IMO also) expected requestParameters parameter name=amp;test2 valuetest2/value /parameter parameter name=test valuetest/value /parameter /requestParameters because as delimiter for the parameters (not amp;), so amp; must be the beginning of the next parameter name. But I think, that's not the problem. The only one is the replacing of the character reference amp; with the character done by the XML parser. And as I only can point out it works for me as shown below. Why, Sylvain, aren't you simply trying the same? Afterwards a simple look in the core.log shows the correct resolving of amp; or not. Regards, Joerg Geoff Howard wrote: don't remember seeing a bug fix related to this, but that could be it - I use a cvs version of 2.1 from early december (12/7 I think). Joerg, do you get the result I do on the request generator example (Sylvain too)? Geoff -Message d'origine- De: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Hello Geoff and Sylvain, I can't confirm a bug using Cocoon 2.1 dev from CVS (2003-01-07). Using this sitemap snippet map:match pattern=test map:generate src=http://www.moreover.com/cgi-local/page?o=xmlamp;c=Virus%20wa rnings/ map:serialize type=xml/ /map:match DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolving 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' with base 'file:/D:/xml/' in context 'file:/D:/Tomcat/bin/' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolved to systemID 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Making URL from http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: amp; in url [WAS: file generator error]
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 [mailto:[EMAIL PROTECTED]] Date: mercredi, 15. janvier 2003 10:47 À: [EMAIL PROTECTED] Objet: Re: amp; in url [WAS: file generator error] Hi Sylvain, yes, we lost the original posting a bit ;-) [EMAIL PROTECTED] wrote: Joerg, I found the same as you if I type the URL in my browser. Nice to hear. 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 org.apache.cocoon.ProcessingException says: The reference to entity c must end with the ';' delimiter. More precisely: org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/C:/jakarta-tomcat-4.1.12/webapps/cocoon/woc/portal-fw/sitemap.xmap: file:/C:/jakarta-tomcat-4.1.12/webapps/cocoon/woc/portal-fw/sitemap.xmap:168:70:org.xml.sax.SAXParseException: The reference to entity c must end with the ';' delimiter. That's clear, it must be so. means here starts an entity. And in contrast to most HTML browsers an XML parser doesn't try to add the obviously missing ';'. And If I type amp; the XML parser doesn't return an error but the link isn't correct anymore because it uses amp; instead of . And here you are wrong. The link *is* correct then. Similar to HTML (e.g. a href=/) you *must* escape to amp; (HTML browsers only try to solve the problem themselves, if they find an without ;). And as you can see below in the quoted message I had it working (amp; is resolved to ). Try to add this little snippet into the sitemap (only map:generate + map:serialize), test it, have a look into the core.log and tell me, what's wrong with your Cocoon version. Maybe you test a newer one, if there was really a bug in the resolving, but I don't assume so. Regards, Joerg -Message d'origine- De: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Hello Geoff and Sylvain, I can't confirm a bug using Cocoon 2.1 dev from CVS (2003-01-07). Using this sitemap snippet map:match pattern=test map:generate src=http://www.moreover.com/cgi-local/page?o=xmlamp;c=Virus%20wa rnings/ map:serialize type=xml/ /map:match DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolving 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' with base 'file:/D:/xml/' in context 'file:/D:/Tomcat/bin/' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolved to systemID 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Making URL from http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[XMLForm] xmlform-scope parameter
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. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: file generator error
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 d'origine- De: Geoff Howard [mailto:[EMAIL PROTECTED]] Date: lundi, 13. janvier 2003 21:35 À: [EMAIL PROTECTED] Objet: RE: file generator error don't remember seeing a bug fix related to this, but that could be it - I use a cvs version of 2.1 from early december (12/7 I think). Joerg, do you get the result I do on the request generator example (Sylvain too)? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 11:07 AM To: [EMAIL PROTECTED] Subject: RE: file generator error 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 generator error Hello Geoff and Sylvain, I can't confirm a bug using Cocoon 2.1 dev from CVS (2003-01-07). Using this sitemap snippet map:match pattern=test map:generate src=http://www.moreover.com/cgi-local/page?o=xmlamp;c=Virus%20wa rnings/ map:serialize type=xml/ /map:match I have this in my core.log, where you can see that the link is resolved correctly. Furthermore I get the same result requesting the virus warnings from Cocoon and directly from www.moreover.com. Regards, Joerg DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolving 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' with base 'file:/D:/xml/' in context 'file:/D:/Tomcat/bin/' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolved to systemID 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Making URL from http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings DEBUG (2003-01-13) 16:48.59:984 [core.store.transient] (/cocoon/joerg/test) Thread-9/MRUMemoryStore: NOT Found key: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20w arnings_S-xml-1 DEBUG (2003-01-13) 16:48.59:984 [core.store.persistent] (/cocoon/joerg/test) Thread-9/AbstractFilesystemStore: NOT Found file: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20w arnings_S-xml-1 DEBUG (2003-01-13) 16:48.59:984 [core.store.transient] (/cocoon/joerg/test) Thread-9/MRUMemoryStore: NOT Found key: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings DEBUG (2003-01-13) 16:48.59:984 [core.store.persistent] (/cocoon/joerg/test) Thread-9/AbstractFilesystemStore: NOT Found file: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings DEBUG (2003-01-13) 16:49.00:234 [core.manager] (/cocoon/joerg/test) Thread-9/XMLizerImpl: No mime-type for xmlizing http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings, guessing text/xml Geoff Howard wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 3:25 AM To: [EMAIL PROTECTED] Subject: RE: file generator error 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 I think I have confirmed some problem - try http://localhost:8080/cocoon/samples/system/request.html?foo=bara mp;fee=fi it gives: ... requestParameters parameter name=amp;fee valuefi/value /parameter parameter name=foo valuefee/value /parameter /requestParameters ... Don't have time to do more than that now. Geoff Howard - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
[XMLForm] how to dynamically initialize a bean property?
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 property in the bean constructor, I have seen that the property is initialized only the first time I load the application. How to do that if I want to initialize the property each time? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: file generator error
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 Heinicke [mailto:[EMAIL PROTECTED]] Date: vendredi, 10. janvier 2003 19:29 À: [EMAIL PROTECTED] Objet: Re: file generator error I checked the link and Mozilla recognized the content as XML, so I guess that's not the problem. But doesn't work anymore is not really a helpful error message. Joerg J.Pietschmann wrote: [EMAIL PROTECTED] wrote: If I substitute '' by 'amp;', the sitemap compilation is OK. But the link doesn't work anymore! Did it ever work? I guess the source is HTML rather than XML, I think you have to tell the sitemap to use a HTML generator. Look up details in the Cocoon doc, in particular in the section about generators - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm view: what is the id
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 - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: file generator error
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 PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 3:25 AM To: [EMAIL PROTECTED] Subject: RE: file generator error 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 I think I have confirmed some problem - try http://localhost:8080/cocoon/samples/system/request.html?foo=baramp;fee=fi it gives: ... requestParameters parameter name=amp;fee valuefi/value /parameter parameter name=foo valuefee/value /parameter /requestParameters ... Don't have time to do more than that now. Geoff Howard - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: file generator error
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 generator error Hello Geoff and Sylvain, I can't confirm a bug using Cocoon 2.1 dev from CVS (2003-01-07). Using this sitemap snippet map:match pattern=test map:generate src=http://www.moreover.com/cgi-local/page?o=xmlamp;c=Virus%20warnings/ map:serialize type=xml/ /map:match I have this in my core.log, where you can see that the link is resolved correctly. Furthermore I get the same result requesting the virus warnings from Cocoon and directly from www.moreover.com. Regards, Joerg DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolving 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' with base 'file:/D:/xml/' in context 'file:/D:/Tomcat/bin/' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolved to systemID 'http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Making URL from http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings DEBUG (2003-01-13) 16:48.59:984 [core.store.transient] (/cocoon/joerg/test) Thread-9/MRUMemoryStore: NOT Found key: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings_S-xml-1 DEBUG (2003-01-13) 16:48.59:984 [core.store.persistent] (/cocoon/joerg/test) Thread-9/AbstractFilesystemStore: NOT Found file: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings_S-xml-1 DEBUG (2003-01-13) 16:48.59:984 [core.store.transient] (/cocoon/joerg/test) Thread-9/MRUMemoryStore: NOT Found key: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings DEBUG (2003-01-13) 16:48.59:984 [core.store.persistent] (/cocoon/joerg/test) Thread-9/AbstractFilesystemStore: NOT Found file: PK_G-file-http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings DEBUG (2003-01-13) 16:49.00:234 [core.manager] (/cocoon/joerg/test) Thread-9/XMLizerImpl: No mime-type for xmlizing http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings, guessing text/xml Geoff Howard wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 3:25 AM To: [EMAIL PROTECTED] Subject: RE: file generator error 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 I think I have confirmed some problem - try http://localhost:8080/cocoon/samples/system/request.html?foo=baramp;fee=fi it gives: ... requestParameters parameter name=amp;fee valuefi/value /parameter parameter name=foo valuefee/value /parameter /requestParameters ... Don't have time to do more than that now. Geoff Howard - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: file generator error
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, IT-DTS-ENG-SDM; [EMAIL PROTECTED] Objet: RE: file generator error can't use '' if it's not part of an entity reference, substitute your '' for its entity reference: map:generate src=http://www.moreover.com/cgi-local/page?o=xmlamp;c=Virus%20warnings/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 11:43 AM To: [EMAIL PROTECTED] Subject: file generator error 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: org.xml.sax.SAXParseException: The reference to entity c must end with the ';' delimiter. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:213) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:366) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296) etc... Anybody has an idea? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLform JavaBean and Database Connection Pool
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 database object within the javabean and after that you work with your classes that represent your database. I could send you an example if you are interested. Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: jeudi, 9. janvier 2003 02:47 À: Cocoon-Users (E-Mail) Objet: XMLform JavaBean and Database Connection Pool Hello, hello I have a question related to xmlform and database connections. I would like to know which would be the best way to implement database connections and querys. So far I tried to put all database connection into methods within the javabean. therefore I didn't used the cocoon database connection pool. I run into several problems as I tried this. I also tried to get a connection from the cocoon connection pool in the action class of the xmlform. after I got this I passed the connection to the bean. this seemes to work, but causes sometimes system hangs and its in my opinion not a good solution. My question is now what would be a good way to feed the databean with data from a database? Should be all database actions take place in the action class? ciao Lars - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
file generator error
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: org.xml.sax.SAXParseException: The reference to entity c must end with the ';' delimiter. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:213) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:366) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296) etc... Anybody has an idea? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to get back XMLForm data to Cocoon
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 result to display it with Cocoon? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Xml form How To-Please help me out
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 To-Please help me out I am able to get the http://localhost:8080/cocoon/samples/xmlform/wizard Now I tried to run the XML form wizard but I couldnt succeed. I am really trying hard to get it done but I couldnt. Can one spend few min in helping me out...please These are the following steps I followed. I created howto in src\webapp\samples\xmlform folder and put all the xml files in it. And then I created howto folder in \src\java\org\apache\cocoon\samples\xmlform\ and put 2 java files in it (Is this right) and then I put the sitemap in \src\java\org\apache\cocoon\samples\xmlform (Is this right) and then I build it using the command build.bat -Dinclude.webapp.libs=true webapp. Are all these steps right?. Also I want to know how howto-wizard.html page is created. Can you please help me in figuring out the problem Note :I am using all the files from the http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html website Thanks poornima __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: content listbox problem
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 À: [EMAIL PROTECTED] Objet: Re: XMLForm: content listbox problem The best place to do a one-time initialization of the data model is the getFormModel() method. This is the orginial in the AbstractXMLFormAction: /** * Extract xmlform-model * action parameter and * instantiate a new form model it. * * * Subclasses may override this method * to use custom model instantiation technique * */ protected Object getFormModel() { try { String modelClassName = getParameters().getParameter(xmlform-model, null); Class modelClass = Class.forName ( modelClassName ); Object o = modelClass.newInstance (); return o; } catch ( Exception e) { throw new CascadingRuntimeException( Failed instantiating form model , e ); } } You can override this method and do the following: protected Object getFormModel() { // create a dom document and initialize it // preferably use the JXPath DocumentContainer } This way, the first XMLForm page will use the initialized version. Let me know if this works for you. Ivelin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 10:13 AM Subject: RE: XMLForm: content listbox problem 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 PROTECTED]] Date: lundi, 9. décembre 2002 09:38 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm: content listbox problem I'm sorry confusing you with this. This are just integer values which returns me how the function was executed. That means getTransactionData returns an integer value with the number of elements. So that I can decide on this what should be done next. (I'm new to cocoon and java as well and am not sure if this is a correct or good way to do, but it works for me now, if anybody has a clearer or better aproach I would be very pleased to know about it) public int getTransactionData() { ... return numberOfTransactions; } so try to initialize the bean in the prepare method as well and see whats happening. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 16:28 An: [EMAIL PROTECTED] Betreff: RE: XMLForm: content listbox problem 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) { return page(getFormView()); } else { getForm().clearViolations(); String command = getCommand(); String formView = getFormView(); if (formView.equals(VIEW_FORM1)) { if (command.equals(CMD_NEXT)) { return page(VIEW_FORM2); } } else if (formView.equals(VIEW_FORM .. etc .. code I don't understand what mean the result_trans and result_cust properties. Are they Bean properties? Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:32 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm: content listbox problem Hello Sylvian, I always initialize the data for the appropriate form. This means I put the initialize data actions in different functions and call them if I reach the stage. Here is an example: - code if ( formView.equals ( VIEW_START ) ) { if ( command.equals( CMD_COMMIT ) ) { int result_trans = jBean.getTransactionData(); int result_cust = jBean.getUserData(); if ( result_cust == 0 ) { return page( VIEW_ERROR ); } else if ( result_trans == 0 ) { return page( VIEW_ERROR ); } else if ( result_cust 1 ) { return page( VIEW_CUSTOMER ); } else { return page( VIEW_INVOICE ); } } } - /code this allows me also to react on different results from these functions. When did you call the getModel() method from the bean? Are you doing that in the prepare or perform function? ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 6. Dezember 2002 00:01 An: [EMAIL PROTECTED] Betreff: XMLForm: content listbox problem Hello, I have an XMLForm app like this: Navigation: Start-Form1-Form2-Confirm-End In the Form1 view I
RE: XMLForm: content listbox problem
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) { return page(getFormView()); } else { getForm().clearViolations(); String command = getCommand(); String formView = getFormView(); if (formView.equals(VIEW_FORM1)) { if (command.equals(CMD_NEXT)) { return page(VIEW_FORM2); } } else if (formView.equals(VIEW_FORM .. etc .. code I don't understand what mean the result_trans and result_cust properties. Are they Bean properties? Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:32 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm: content listbox problem Hello Sylvian, I always initialize the data for the appropriate form. This means I put the initialize data actions in different functions and call them if I reach the stage. Here is an example: - code if ( formView.equals ( VIEW_START ) ) { if ( command.equals( CMD_COMMIT ) ) { int result_trans= jBean.getTransactionData(); int result_cust = jBean.getUserData(); if ( result_cust == 0 ) { return page( VIEW_ERROR ); } else if ( result_trans == 0 ) { return page( VIEW_ERROR ); } else if ( result_cust 1 ) { return page( VIEW_CUSTOMER ); } else { return page( VIEW_INVOICE ); } } } - /code this allows me also to react on different results from these functions. When did you call the getModel() method from the bean? Are you doing that in the prepare or perform function? ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 6. Dezember 2002 00:01 An: [EMAIL PROTECTED] Betreff: XMLForm: content listbox problem 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 xf:itemset nodeset=select/document/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne This code seems to be OK. The XPath code is also OK I think. Here is the XML file: document typeOfWorkstation item id=desktop descriptionDesktop/description /item item id=laptop descriptionLaptop/description /item item id=other descriptionOther configuration/description /item /typeOfWorkstation /document I load the XML file in a DOM Node property (called select). This property is located in the Bean file (with getter and setter methods for this property). I load the XML file in this Node property also in the Bean file, in the constructor. Here the Bean file: public class AddWorkstationBean { private String workstationName; private String workstationType; private String workstationOwner; private String workstationUser; private Node select; //values from the XML file public AddWorkstationBean() { initSelect(); } public Node initSelect() { //initialize a property named select of DOM Node class DOMImplementation impl; try { // Find the implementation DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(false); factory.setValidating(false); DocumentBuilder builder = factory.newDocumentBuilder(); impl = builder.getDOMImplementation(); //Create the node for the root select Document document = impl.createDocument(null, select, null); Node selectName = document.getDocumentElement(); //Loading from XML File String fileName = C:\\jakarta-tomcat-4.1.12\\webapps\\cocoon\\woc\\iniForm.xml; FileInputStream inXML = new FileInputStream(fileName);
RE: XMLForm and DOM node initialization
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- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:41 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization Hello Sylvian, I'm sorry for the last mail, was send to early... outlook is driving me crazy.. try the following: xf:selectOne ref=/workstationType xf:captionWorkstation Type/xf:caption xf:itemset nodeset=/select/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne if your dom is still loaded into selected and is looking like this: document typeOfWorkstation item id=desktop descriptionDesktop/description /item item id=laptop descriptionLaptop/description /item item id=other descriptionOther configuration/description /item /typeOfWorkstation /document ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 7. Dezember 2002 00:53 An: [EMAIL PROTECTED] Betreff: XMLForm and DOM node initialization 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/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne The problem is when I load the web app page (containing the node field) for the first time (after a Tomcat or Browser restart), the value and caption fields are empty although the number of option are right. Here is the HTML source when the fields are empty (first load): td align=leftselect name=/workstationTypeoption value=/optionoption value=/optionoption value=/option/select/td Here is the HTML source when the fields are OK (not first load): td align=leftselect name=/workstationTypeoption value=desktopDesktop/optionoption value=laptopLaptop/optionoption value=otherOther configuration/option/select/td The node is initialized in the Bean (model) conctructor. Is anybody could help me to understand what's happen?!? I'm really desparate because I really don't know what could be the problem! When a web page is loaded, which methods or actions are called? Any suggestions will be greatly appreciated. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: content listbox problem
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]] Date: lundi, 9. décembre 2002 09:38 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm: content listbox problem I'm sorry confusing you with this. This are just integer values which returns me how the function was executed. That means getTransactionData returns an integer value with the number of elements. So that I can decide on this what should be done next. (I'm new to cocoon and java as well and am not sure if this is a correct or good way to do, but it works for me now, if anybody has a clearer or better aproach I would be very pleased to know about it) public int getTransactionData() { ... return numberOfTransactions; } so try to initialize the bean in the prepare method as well and see whats happening. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 16:28 An: [EMAIL PROTECTED] Betreff: RE: XMLForm: content listbox problem 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) { return page(getFormView()); } else { getForm().clearViolations(); String command = getCommand(); String formView = getFormView(); if (formView.equals(VIEW_FORM1)) { if (command.equals(CMD_NEXT)) { return page(VIEW_FORM2); } } else if (formView.equals(VIEW_FORM .. etc .. code I don't understand what mean the result_trans and result_cust properties. Are they Bean properties? Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:32 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm: content listbox problem Hello Sylvian, I always initialize the data for the appropriate form. This means I put the initialize data actions in different functions and call them if I reach the stage. Here is an example: - code if ( formView.equals ( VIEW_START ) ) { if ( command.equals( CMD_COMMIT ) ) { int result_trans= jBean.getTransactionData(); int result_cust = jBean.getUserData(); if ( result_cust == 0 ) { return page( VIEW_ERROR ); } else if ( result_trans == 0 ) { return page( VIEW_ERROR ); } else if ( result_cust 1 ) { return page( VIEW_CUSTOMER ); } else { return page( VIEW_INVOICE ); } } } - /code this allows me also to react on different results from these functions. When did you call the getModel() method from the bean? Are you doing that in the prepare or perform function? ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 6. Dezember 2002 00:01 An: [EMAIL PROTECTED] Betreff: XMLForm: content listbox problem 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 xf:itemset nodeset=select/document/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne This code seems to be OK. The XPath code is also OK I think. Here is the XML file: document typeOfWorkstation item id=desktop descriptionDesktop/description /item item id=laptop descriptionLaptop/description /item item id=other descriptionOther configuration/description /item /typeOfWorkstation /document I load the XML file in a DOM Node property (called select). This property is located in the Bean file (with getter and setter methods for this property). I load the XML file in this Node property also in the Bean file, in the constructor. Here the Bean file: public class
RE: XMLForm and DOM node initialization
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 descxf:output ref=description//desc idxf:output ref=@id//id /item /xf:repeat /items code Is it the right way? Do you know why this kind of problem happen? Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 09:54 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization I just went through the same problem an hour before. My problem was that not all dom nodes weren't initialized or respectivly some of the data before the repeat statement wasn't initialized. sample: - code - ... cityxf:output ref=/users/user/city //city statexf:output ref=/users/user/state //state poboxxf:output ref=/users/user/pobox //pobox pocodexf:output ref=/users/user/pocode //pocode items xf:repeat nodeset=/transaction/item item noxf:output ref=@number //no descxf:output ref=descr //desc unit_pricexf:output ref=price //unit_price qtyxf:output ref=qty //qty extamtxf:output ref=extamt //extamt /item /xf:repeat /items ... - /code this wasn't working for me, because I forget to set up the pobox and pocode node. I experienced the same behaviour like yours, the repeat statement was executed and created the correct number of items, but non of the values(no,desc,unit,..) where set. Try a blank xml file with just the repeat statement. If this works try to find out what's maybe missing. hope that helps. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 16:38 An: [EMAIL PROTECTED] Betreff: RE: XMLForm and DOM node initialization 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- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:41 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization Hello Sylvian, I'm sorry for the last mail, was send to early... outlook is driving me crazy.. try the following: xf:selectOne ref=/workstationType xf:captionWorkstation Type/xf:caption xf:itemset nodeset=/select/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne if your dom is still loaded into selected and is looking like this: document typeOfWorkstation item id=desktop descriptionDesktop/description /item item id=laptop descriptionLaptop/description /item item id=other descriptionOther configuration/description /item /typeOfWorkstation /document ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 7. Dezember 2002 00:53 An: [EMAIL PROTECTED] Betreff: XMLForm and DOM node initialization 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/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne The problem is when I load the web app page (containing the node field) for the first time (after a Tomcat or Browser restart), the value and caption fields are empty although the number of option are right. Here is the HTML source when the fields are empty (first load): td align=leftselect name=/workstationTypeoption value=/optionoption value=/optionoption value=/option/select/td Here is the HTML source when the fields are OK (not first load): td align=leftselect name=/workstationTypeoption value=desktopDesktop/optionoption value=laptopLaptop/optionoption value=otherOther configuration/option/select/td The node is initialized in the Bean (model) conctructor. Is anybody could help me to understand what's happen?!? I'm really desparate because I really don't know what could be
RE: XMLForm and DOM node initialization
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 def=description/ xf:ouput def=@id/ /xf:repeat /xf:form /document code It's still the same: there is the correct number of items in the page but there are empty (the values aren't set). The values are not set. Why?? If I don't insert ../document/.. in the path, the correct number of items are not displayed. Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 10:34 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization The output statement print just the value of either the bean property or a dom node. You can look at the example of the xmlform-Howto-Wizard. The confirm.xml is using it to show all entered values. The code seemes to be ok, but I think you don't need the document... Place this without anything in the apropriate xml file and turn of all xsl stylesheets in the sitemap to see what is happening. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 17:23 An: [EMAIL PROTECTED] Betreff: RE: XMLForm and DOM node initialization 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 descxf:output ref=description//desc idxf:output ref=@id//id /item /xf:repeat /items code Is it the right way? Do you know why this kind of problem happen? Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 09:54 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization I just went through the same problem an hour before. My problem was that not all dom nodes weren't initialized or respectivly some of the data before the repeat statement wasn't initialized. sample: - code - ... cityxf:output ref=/users/user/city //city statexf:output ref=/users/user/state //state poboxxf:output ref=/users/user/pobox //pobox pocodexf:output ref=/users/user/pocode //pocode items xf:repeat nodeset=/transaction/item item noxf:output ref=@number //no descxf:output ref=descr //desc unit_pricexf:output ref=price //unit_price qtyxf:output ref=qty //qty extamtxf:output ref=extamt //extamt /item /xf:repeat /items ... - /code this wasn't working for me, because I forget to set up the pobox and pocode node. I experienced the same behaviour like yours, the repeat statement was executed and created the correct number of items, but non of the values(no,desc,unit,..) where set. Try a blank xml file with just the repeat statement. If this works try to find out what's maybe missing. hope that helps. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 16:38 An: [EMAIL PROTECTED] Betreff: RE: XMLForm and DOM node initialization 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- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:41 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization Hello Sylvian, I'm sorry for the last mail, was send to early... outlook is driving me crazy.. try the following: xf:selectOne ref=/workstationType xf:captionWorkstation Type/xf:caption xf:itemset nodeset=/select/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne if your dom is still loaded into selected and is looking like this: document typeOfWorkstation item id=desktop descriptionDesktop/description /item item id=laptop descriptionLaptop/description /item item id=other
RE: XMLForm and DOM node initialization
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. Thank you Sylvain -Message d'origine- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 15:55 À: [EMAIL PROTECTED] Objet: Re: XMLForm and DOM node initialization Have you noticed that you have a typo in the file. Rename the def attributes to ref. Ivelin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 4:14 AM Subject: RE: XMLForm and DOM node initialization 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 def=description/ xf:ouput def=@id/ /xf:repeat /xf:form /document code It's still the same: there is the correct number of items in the page but there are empty (the values aren't set). The values are not set. Why?? If I don't insert ../document/.. in the path, the correct number of items are not displayed. Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 10:34 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization The output statement print just the value of either the bean property or a dom node. You can look at the example of the xmlform-Howto-Wizard. The confirm.xml is using it to show all entered values. The code seemes to be ok, but I think you don't need the document... Place this without anything in the apropriate xml file and turn of all xsl stylesheets in the sitemap to see what is happening. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 17:23 An: [EMAIL PROTECTED] Betreff: RE: XMLForm and DOM node initialization 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 descxf:output ref=description//desc idxf:output ref=@id//id /item /xf:repeat /items code Is it the right way? Do you know why this kind of problem happen? Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 09:54 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization I just went through the same problem an hour before. My problem was that not all dom nodes weren't initialized or respectivly some of the data before the repeat statement wasn't initialized. sample: - code - ... cityxf:output ref=/users/user/city //city statexf:output ref=/users/user/state //state poboxxf:output ref=/users/user/pobox //pobox pocodexf:output ref=/users/user/pocode //pocode items xf:repeat nodeset=/transaction/item item noxf:output ref=@number //no descxf:output ref=descr //desc unit_pricexf:output ref=price //unit_price qtyxf:output ref=qty //qty extamtxf:output ref=extamt //extamt /item /xf:repeat /items ... - /code this wasn't working for me, because I forget to set up the pobox and pocode node. I experienced the same behaviour like yours, the repeat statement was executed and created the correct number of items, but non of the values(no,desc,unit,..) where set. Try a blank xml file with just the repeat statement. If this works try to find out what's maybe missing. hope that helps. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 16:38 An: [EMAIL PROTECTED] Betreff: RE: XMLForm and DOM node initialization 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- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:41 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm and DOM node initialization Hello Sylvian, I'm sorry for the last mail, was send to early... outlook is driving me crazy.. try the following: xf:selectOne ref=/workstationType xf:captionWorkstation Type/xf:caption xf:itemset nodeset=/select/typeOfWorkstation/item
RE: XMLForm: content listbox problem
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 PROTECTED]] Date: lundi, 9. décembre 2002 09:38 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm: content listbox problem I'm sorry confusing you with this. This are just integer values which returns me how the function was executed. That means getTransactionData returns an integer value with the number of elements. So that I can decide on this what should be done next. (I'm new to cocoon and java as well and am not sure if this is a correct or good way to do, but it works for me now, if anybody has a clearer or better aproach I would be very pleased to know about it) public int getTransactionData() { ... return numberOfTransactions; } so try to initialize the bean in the prepare method as well and see whats happening. ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 9. Dezember 2002 16:28 An: [EMAIL PROTECTED] Betreff: RE: XMLForm: content listbox problem 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) { return page(getFormView()); } else { getForm().clearViolations(); String command = getCommand(); String formView = getFormView(); if (formView.equals(VIEW_FORM1)) { if (command.equals(CMD_NEXT)) { return page(VIEW_FORM2); } } else if (formView.equals(VIEW_FORM .. etc .. code I don't understand what mean the result_trans and result_cust properties. Are they Bean properties? Thank you Regards Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 03:32 À: '[EMAIL PROTECTED]' Objet: AW: XMLForm: content listbox problem Hello Sylvian, I always initialize the data for the appropriate form. This means I put the initialize data actions in different functions and call them if I reach the stage. Here is an example: - code if ( formView.equals ( VIEW_START ) ) { if ( command.equals( CMD_COMMIT ) ) { int result_trans= jBean.getTransactionData(); int result_cust = jBean.getUserData(); if ( result_cust == 0 ) { return page( VIEW_ERROR ); } else if ( result_trans == 0 ) { return page( VIEW_ERROR ); } else if ( result_cust 1 ) { return page( VIEW_CUSTOMER ); } else { return page( VIEW_INVOICE ); } } } - /code this allows me also to react on different results from these functions. When did you call the getModel() method from the bean? Are you doing that in the prepare or perform function? ciao Lars -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 6. Dezember 2002 00:01 An: [EMAIL PROTECTED] Betreff: XMLForm: content listbox problem 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 xf:itemset nodeset=select/document/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne This code seems to be OK. The XPath code is also OK I think. Here is the XML file: document typeOfWorkstation item id=desktop descriptionDesktop/description /item item id=laptop descriptionLaptop/description /item item id=other descriptionOther configuration/description /item /typeOfWorkstation /document I load the XML file in a DOM Node property (called select). This property is located in the Bean file (with getter and setter methods for this property). I load the XML file in this Node property also in the Bean file, in the constructor. Here the Bean file: public class
XMLForm: please help
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 code is: xf:selectOne ref=/workstationType xf:captionWorkstation Type/xf:caption xf:itemset nodeset=select/document/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne This code seems to be OK. The XPath code is also OK. I load the XML file in a DOM Node property (called select). This property is located in the Bean file (with getter and setter methods for this property). I load the XML file in this Node property also in the Bean file, in the constructor. Here the Bean file: public class AddWorkstationBean { private String workstationName; private String workstationType; ... private Node select; //values from the XML file public AddWorkstationBean() { initSelect(); } public Node initSelect() { ... //Here I load values into select property form XML file ... } .. getter an setter methods.. .. } My problem is when I start the app (with the Start view) and then display the Form1 there is NOTHING in the listbox (the list isn't empty but it's like the caption and value properties are null)!! Then I go to the next view (Form2). Then if I press the Preview button and go back to the Form1, the listbox is OK!! It's crazy and I really don't understand why! Someone could help me? Any suggestions will be greatly appreciated! 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm and DOM node initialization
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/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne The problem is when I load the web app page (containing the node field) for the first time (after a Tomcat or Browser restart), the value and caption fields are empty although the number of option are right. Here is the HTML source when the fields are empty (first load): td align=leftselect name=/workstationTypeoption value=/optionoption value=/optionoption value=/option/select/td Here is the HTML source when the fields are OK (not first load): td align=leftselect name=/workstationTypeoption value=desktopDesktop/optionoption value=laptopLaptop/optionoption value=otherOther configuration/option/select/td The node is initialized in the Bean (model) conctructor. Is anybody could help me to understand what's happen?!? I'm really desparate because I really don't know what could be the problem! When a web page is loaded, which methods or actions are called? Any suggestions will be greatly appreciated. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm: content listbox problem
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 xf:itemset nodeset=select/document/typeOfWorkstation/item xf:caption ref=description/ xf:value ref=@id/ /xf:itemset xf:violations class=error/ /xf:selectOne This code seems to be OK. The XPath code is also OK I think. Here is the XML file: document typeOfWorkstation item id=desktop descriptionDesktop/description /item item id=laptop descriptionLaptop/description /item item id=other descriptionOther configuration/description /item /typeOfWorkstation /document I load the XML file in a DOM Node property (called select). This property is located in the Bean file (with getter and setter methods for this property). I load the XML file in this Node property also in the Bean file, in the constructor. Here the Bean file: public class AddWorkstationBean { private String workstationName; private String workstationType; private String workstationOwner; private String workstationUser; private Node select; //values from the XML file public AddWorkstationBean() { initSelect(); } public Node initSelect() { //initialize a property named select of DOM Node class DOMImplementation impl; try { // Find the implementation DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(false); factory.setValidating(false); DocumentBuilder builder = factory.newDocumentBuilder(); impl = builder.getDOMImplementation(); //Create the node for the root select Document document = impl.createDocument(null, select, null); Node selectName = document.getDocumentElement(); //Loading from XML File String fileName = C:\\jakarta-tomcat-4.1.12\\webapps\\cocoon\\woc\\iniForm.xml; FileInputStream inXML = new FileInputStream(fileName); BufferedReader in = new BufferedReader(new InputStreamReader(inXML)); Element element = XMLLoader.loadFromStream(in); //Import the node Element importedElement = (Element) document.importNode(element, true); selectName.appendChild(importedElement); //initialize the porperty select = selectName; } .. getter an setter methods.. .. } My problem is when I start the app (with the Start view) and then display the Form1 there is NOTHING in the listbox (the list isn't empty but it's like the caption and value properties are null)!! Then I go to the next view (Form2). Then if I press the Preview button and go back to the Form1, the listbox is OK!! It's crazy and I really don't understand why! Someone could help me? Any suggestions will be greatly appreciated! 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JDOM
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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JDOM
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 À: [EMAIL PROTECTED] Objet: RE: JDOM Sylvain, According to the lib/core and lib/optional directories JDOM is currently not used. But if you need it (e.g. in a custom transformer) it's very easy to use it. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 3:14 PM To: [EMAIL PROTECTED] Subject: JDOM 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: dynamic content listbox
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 database. isn't it? What would be the solution if I want to retrieve the allHobbies values from an external xml file? Is there an example? Thank you Sylvain -Message d'origine- De: Josema Alonso [mailto:[EMAIL PROTECTED]] Date: mercredi, 20. novembre 2002 19:50 À: Cocoon-Users Objet: Re: XMLForm: dynamic content listbox Hello. I had a very similar problem a few days ago. The way to go is the itemset tag as used in the wizard demo. Take a look at the 'userIdentity.xml' file where the Hobbies get listed: xf:selectMany ref=/hobby selectUIType=checkbox xf:captionHobbies/xf:caption xf:itemset nodeset=allHobbies xf:caption ref=value/ xf:value ref=key/ /xf:itemset /xf:selectMany All you have to do is to change the UIType to the one desired and fill the items with values taken from the DB, for example from the action. Hope it helps, Josema. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 20, 2002 3:56 PM Subject: XMLForm: dynamic content listbox 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 xf:item id=windows xf:captionWindows/xf:caption xf:valueWindows/xf:value /xf:item /xf:selectOne Is there a possibility to retrieve dynamically these items from a database instead of using the hard-coded items in xml document?? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm: dynamic content listbox
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 xf:item id=windows xf:captionWindows/xf:caption xf:valueWindows/xf:value /xf:item /xf:selectOne Is there a possibility to retrieve dynamically these items from a database instead of using the hard-coded items in xml document?? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to make an automatic refresh
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 in his browser. Each executor should see which actions he has to do in his browser. My question is: when the dispatcher add an action to an executor, the browser of this executor should do a refresh to see the new action. How could do that?? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm and dates
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 written in Java. This layer includes one Java class for each database table and each class has getter, setter and query method to access to the database. But I'm really interested how you do that with XMLForm and modular database actions. Could you provide me some information? Thank you Sylvain -Message d'origine- De: Jan [mailto:juyttenh;pandora.be] Date: mercredi, 13. novembre 2002 20:04 À: [EMAIL PROTECTED] Objet: Re: XMLForm and dates Hi, I'm currently using a combination of XMLForms and modular database actions to insert and update db data. I don't understand what exactly is your problem. Some of my beans contain Date or TimeStamp attributes, containing the current date. I don't need a String representation of the dates, as I don't display the dates, I just need them to be available for update or insert. But if I'm not mistaken, calling a Date using jxpath should invoke toString()... ? The only problem I had was inserting the date or timestamp in the database (datetime column). I'm using the modular database actions, and an InputModule to access the bean in the session. If this is what you're trying to do, you should modify the JDBCTypeConversions, because the most simple mapping (in my case TimeStamp to Types.TIMESTAMP is not provided). But besides that, it works very well. So if you want to display the data, jxpath should take care of the toString() I think. Or am I missing something here? And for the actual database actions: how are you trying to insert/update the database? ESQL, modular database actions? Hope this helps you any further. Feel free to ask more information, perhaps I should write a howto or tutorial about the integration of XMLForms and modular database actions, if anyone is interested and if I find the time for it :-) In the meantime: is anyone working on the (input)modules right now? I think I read something on the mailinglist a while ago, but I don't know what the current status is. To use XMLForms with modular database actions, an XMLFormInputModule is a nice and easy way to work... Jan Ivelin Ivanov wrote: Try the following: Use a Date property with its own getter and setter for the database access. Implement an extra property named dateString. Then write the getter of the property to convert the Date object into String when invoked. Also write a setter to convert a string to a date. The Java DateFormat class can help. http://java.sun.com/j2se/1.3/docs/api/java/text/DateFormat.html In your XMLForm documents refer to the dateString property, instead of the date property. In your Java code, use the date property. Hope this helps. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 8:00 AM Subject: XMLForm and dates 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 format (because I have a timestamp format in my database). How to store the date in a Date type and display it like a String? How to do this?? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm and dates
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 format (because I have a timestamp format in my database). How to store the date in a Date type and display it like a String? How to do this?? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm and dates
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] Objet: Re: XMLForm and dates hat database are you using? I am using PostgreSQL 7.2. I resolve this problem setting the requiered field in the database with default value today. Antonio Gallardo El Martes, 12 de Noviembre de 2002 08:00, [EMAIL PROTECTED] escribió: 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 format (because I have a timestamp format in my database). How to store the date in a Date type and display it like a String? How to do this?? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TR: How to develop a web application with Cocoon
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 separation. Anyone of you can help me? Thank you Sylvain -Message d'origine- De: Bertrand Delacretaz [mailto:bdelacretaz;codeconsult.ch] Date: vendredi, 8. novembre 2002 08:30 À: [EMAIL PROTECTED] Cc: Thévoz Sylvain, IT-DCS-CPS-CLI-DAR Objet: Re: How to develop a web application with Cocoon Hi Sylvain, ...can I do all I want in my web application with Cocoon Looks like there's not a rush to reply to this one... Quite frankly I don't know the precise status of the current implementations of forms handling and flow. These would help you a lot in filling the blanks in your concept, so you might want to ask more specific questions about them here. Let me reply on what I know... 2) Search data: form to enter the query = select data in database = display result If you're reading directly from the database (but read below about this), ESQL seems to be the most flexible option here, followed by XSLT transforms for HTML or PDF generation. I don't think you need a form handling module for this, you can start with a (static or XSLT-generated) HTML form and use the request parameters to build the SQL query. 4) Generate file: choose the file to generate (from a result or a form) = select data in database = generate the file What kind of file? XML? HTML? PDF? RTF? In any case I think XSLT transforms followed by the appropriate serializers will do the job. This is something that is definitely mature in Cocoon today (with some limitations in PDF output and some more in RTF output). The forms handling module might also be overkill here IMO if you're just selecting 2-3 options on a form to trigger file generation. *** OK,BUT - do you want a monolithic system? *** So I don't have all the answers, but even if Cocoon allows you to build your complete app today, I would by all means avoid creating a big monolithic thing. Cleanly separated application layers are a must in my book, with at least a (stable and testable) backend to handle database transactions and a (more subject to change and harder to test) frontend for the user interface. It's great that Cocoon offers (or will soon offer) all components required to build a complete webapp, but this might cause a tendency of using too much of it at the same time. IMHO the WebServicesProxyGenerator [1] is a great step towards cleanly modularized applications, by allowing a clean separation of application layers. It doesn't mean you won't use Cocoon for the backend as well, but if you do you might be better off using *another instance* of Cocoon for the backend, separate process, maybe separate server. Of course modularizing usually means some loss of performance compared to more tightly integrated systems. For most applications this is irrelevant I think, or more precisely the benefits far outweigh the disadvantages. Hope this helps! -Bertrand [1] http://xml.apache.org/cocoon/userdocs/generators/wsproxy-generator.html - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TR: How to develop a web application with Cocoon
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 understood (and from the Cocoon point of view): 1. user submits an HTML form (newCustomer.html) to FE with request parameters firstname, lastname and operation. This HTML form is produced by a Cocoon pipeline when the user request it. When the submit is done... 2. ...a second Cocoon pipeline is called to collect the data and to relays it to BE (using WebServiceProxyGenerator or another): a java class that store the data in database is called. 3. this java class carry out some operations to store data or other things and returns some feedback. 4. the second pipeline (FE) receives the feedback (using WebServiceProxyGenerator or another) and finally convert it to HTML to display the result of the action. Is this scenario completely crazy and out of reality or not?? Are there another solutions? What do you think about? Thank you Sylvain -Message d'origine- De: Bertrand Delacretaz [mailto:bdelacretaz;codeconsult.ch] Date: vendredi, 8. novembre 2002 14:21 À: [EMAIL PROTECTED]; Thévoz Sylvain, IT-DCS-CPS-CLI-DAR Objet: Re: TR: How to develop a web application with Cocoon (note: please use reply-to instead of creating new messages when replying, to avoid breaking the message threads if possible) . . . HOW separate layers in Cocoon?? I have not enough experience in Cocoon to see the solution of the separation. . . . Let me try to give a simple scenario where you want to insert data in your database, as an example. FE is the front-end (Cocoon for sure), BE is the backend (Cocoon maybe): 1. user submits an HTML form to FE:/newCustomer.html, with request parameters firstname=Joe, lastname=Kool, operation=insert 2. FE, probably using WebServiceProxyGenerator, relays the request in HTTP to BE:/insert/customer.xml, probably unmodified in such a simple case 3. BE process the request, inserts data in the database and returns an XML representation of the inserted data (or error message if it didn't work out). This BE HTTP/XML interface is fully testable, will most probably not change often, even if the backend itself changes. 4. FE converts the XML data (received through WebServiceProxyGenerator) to the desired (probably HTML) format, adds navigation features and returns the generated HTML page to the user. Does this help? -Bertrand - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to develop a web application with Cocoon
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 each type of function (Cocoon provides so much mechanisms!)??? So I have extracted 4 types of functions from my future web application (some are very common is web applications): 1) Add data: form to enter data = insert data in database 2) Search data: form to enter the query = select data in database = display result 3) Edit data: choose the data to edit (from a result or a form) = select data in database = display the result = maybe modify the data = update data in database 4) Generate file: choose the file to generate (from a result or a form) = select data in database = generate the file I think XMLForm extended to write data entered in a persistence storage could be a good solution for the point 1) (I'm testing this solution now). But what for the others?? What is the best solution for each one? I know that Cocoon is first a PUBLICATION framework. Is it really a good solution for this kind of application? Is actions THE solution? What do you think? Any suggestions or experiences would be greatly appreciated. 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm and textbox: how to protect
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 - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm and pop-up menu
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 xf:selectOne selectUIType='radio' - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 8:11 AM Subject: RE: XMLForm and pop-up menu 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 Sylvain, As far as I know - no. What should be the content of the pop-up menu? Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: Monday, November 04, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: XMLForm and pop-up menu 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. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm and pop-up menu
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. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm and pop-up menu
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 Sylvain, As far as I know - no. What should be the content of the pop-up menu? Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: Monday, November 04, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: XMLForm and pop-up menu 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. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm and pop-up menu
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 -Message d'origine- De: Reinhard Poetz [mailto:reinhard_poetz;gmx.net] Date: lundi, 4. novembre 2002 15:43 À: [EMAIL PROTECTED] Objet: RE: XMLForm and pop-up menu Do you mean a selection field: Here an xml snippet from Ivelin's example: xf:selectOne ref=os selectUIType=radio xf:captionOS/xf:caption xf:item id=unix xf:captionUnix/Linux/xf:caption xf:valueUnix/xf:value /xf:item xf:item id=mac xf:captionMac OS/X/xf:caption xf:valueMac OS/X/xf:value /xf:item xf:item id=win xf:captionWindows 95/98/NT/2000/XP/xf:caption xf:valueWindows/xf:value /xf:item xf:item id=other xf:captionOther/xf:caption xf:valueOther/xf:value /xf:item /xf:selectOne Hope this helps. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: Monday, November 04, 2002 3:12 PM To: [EMAIL PROTECTED] Subject: RE: XMLForm and pop-up menu 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 Sylvain, As far as I know - no. What should be the content of the pop-up menu? Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: Monday, November 04, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: XMLForm and pop-up menu 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. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xmlform and build
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 directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlform and build
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 Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: 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 directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlform and build
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 [mailto:m.refaey;imkenberg.de] Date: mercredi, 30. octobre 2002 00:51 À: [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain nice, that this help u :) . ofCourse it is easy to extend this sample to write data entered in the XMLForms into persistance storage[DB] for e.g : if u use EJB as a persistance layer in ur project , u can easily in the Perform() method in ur Action after u get ur model Bean: DataBean jBean = (DataBean) getForm().getModel(); u can extract the entered data from this bean, and sned it in any way[Collection data type or whatever u accept the user data] along with a VO(value-object) to be entered into DB by the aid of EJB Class that take this VO and perform the Insert query or whatever the command u need to do with DB I think this is a breif answer but I wish it give u the way Thanx Mohamed [EMAIL PROTECTED] wrote: 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 Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: 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 directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon task scheduler
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 the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
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 servlet, only reacts to http requests. So the only way to activate things on a timely basis is to use another program that calls a URL, and thus a pipeline, that activates whatever you want to get done. A wget in a cron job can do the trick. Bert At 14:02 28/10/2002 +0100, you wrote: 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 the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
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 have to provide a way to call an URL. Any suggestions or experiences? Thank you Sylvain -Message d'origine- De: Robert Ellis Parrott [mailto:parrott;fas.harvard.edu] Date: lundi, 28. octobre 2002 14:34 À: [EMAIL PROTECTED] Objet: Re: Cocoon task scheduler How about cron and a python script, which executes a localhost HTTP query? Python has very good support for HTTP. I'm not convinced that Cocoon needs such a beast, when so much mature functionality is available at the OS level. On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: 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 the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 2.1-dev authentication sample doesn't work
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 with Tomcat 4.0.4. The problem disappeared when I upgraded Tomcat to 4.1.12. Some patch applied between Sept 24 and Sept 25th that causes this IllegalStateException. (0924 works with 4.0.4, 0925 doesn't...) Hope this is your problem and it helps, thanks, rob On Thu, 17 Oct 2002, [EMAIL PROTECTED] wrote: 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 type: Exception report message: Internal Server Error description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1106) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:479) I use Tomcat 4.0.6 with JDK 1.3.1_05 and my OS is Windows NT 4.0. Is there something to install before working with the Cocoon authentication mechanism? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
2.1-dev authentication sample doesn't work
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 because I would like to start a project with the authentication component. Is there something to install before working with the Cocoon authentication mechanism? Thank you Sylvain Error: Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error type: Exception report message: Internal Server Error description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1106) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:479) - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 2.1-dev authentication sample doesn't work
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 Build with this command two times: ./build.sh -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true installwar the installwar is optional, you can also use webapp, etc. Antonio Gallardo El Jueves, 17 de Octubre de 2002 09:05, [EMAIL PROTECTED] escribió: 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] Date: jeudi, 17. octobre 2002 16:38 À: [EMAIL PROTECTED] Objet: Re: 2.1-dev authentication sample doesn't work Sorry, I misspelled it. :) Compile the sources two times. The the CVS 2.1 version will work fine. Antonio Gallardo El Jueves, 17 de Octubre de 2002 08:28, Antonio Gallardo Rivera escribió: There is a bug in the build process, compiled it two times. Then it will work. Antonio Gallardo El Jueves, 17 de Octubre de 2002 08:16, [EMAIL PROTECTED] escribió: 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 --- -- -- - type: Exception report message: Internal Server Error description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java: 24 3) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1106 ) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic at io nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil te rC hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve .j ava:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j av a: 566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve .j ava:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j av a: 566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23 47 ) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a: 18 0) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j av a: 566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV al ve .java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j av a: 564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a: 17 0) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j av a: 564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46 8) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j av a: 564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .j av a:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j av a: 566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor. ja va :1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java :1 12 5) at java.lang.Thread.run(Thread.java:479) I use Tomcat 4.0.6 with JDK 1.3.1_05 and my OS is Windows NT 4.0. Is there something to install before working with the Cocoon authentication mechanism? Thank you Sylvain - Please check that your question has not already been
2.1-dev authentication sample doesn't work
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 type: Exception report message: Internal Server Error description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1106) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:479) I use Tomcat 4.0.6 with JDK 1.3.1_05 and my OS is Windows NT 4.0. Is there something to install before working with the Cocoon authentication mechanism? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 2.1-dev authentication sample doesn't work
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] Date: jeudi, 17. octobre 2002 16:38 À: [EMAIL PROTECTED] Objet: Re: 2.1-dev authentication sample doesn't work Sorry, I misspelled it. :) Compile the sources two times. The the CVS 2.1 version will work fine. Antonio Gallardo El Jueves, 17 de Octubre de 2002 08:28, Antonio Gallardo Rivera escribió: There is a bug in the build process, compiled it two times. Then it will work. Antonio Gallardo El Jueves, 17 de Octubre de 2002 08:16, [EMAIL PROTECTED] escribió: 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 - -- - type: Exception report message: Internal Server Error description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:24 3) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1106) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat io nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte rC hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve .j ava:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav a: 566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve .j ava:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav a: 566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347 ) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 18 0) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav a: 566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal ve .java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav a: 564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 17 0) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav a: 564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav a: 564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j av a:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav a: 566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47 2) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja va :1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1 12 5) at java.lang.Thread.run(Thread.java:479) I use Tomcat 4.0.6 with JDK 1.3.1_05 and my OS is Windows NT 4.0. Is there something to install before working with the Cocoon authentication mechanism? 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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:
RE: German article on Cocoon Portal and Authentication
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 Why are you going to use 2.0.3? Much of the portal stuff has been moved and renamed in 2.1-dev. I recommend using 2.1-dev if you are starting on your project now. The documentation in Cocoon is also more complete for the current version. Also - in 2.1-dev the portal/authentication components have been moved to the main branch. Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblog: http://radio.weblogs.com/0103021/ = -Original Message- From: Richard Reyes [mailto:richard;voxsant.com] Sent: Friday, October 18, 2002 5:17 AM To: [EMAIL PROTECTED] Subject: Re: German article on Cocoon Portal and Authentication Hi Matthew, I have just found this link looking at your weblog. by now i'll be working on the cocoon portal sample shipped with the binary release ( v 2.0.3 ) . Question: will it be alright to use the sunspot components shipped with this binary release or should I prefer to download a daily snapshot and build --installwar? Thanks again. Richard - Original Message - From: Matthew Langham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 17, 2002 7:16 PM Subject: RE: German article on Cocoon Portal and Authentication It will be impossible for you to have an english version right? I don't think we will be translating it anytime soon :). However most of it already is in the Cocoon documentation. In addition we wrote a short article on the same subject for xml.com. http://www.xml.com/pub/a/2002/07/24/xmlportal.html Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblog: http://radio.weblogs.com/0103021/ = It will be impossible for you to have an english version right? - Original Message - From: Matthew Langham [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Cocoon-Dev@Xml. Apache. Org [EMAIL PROTECTED] Sent: Thursday, October 17, 2002 6:37 PM Subject: RE: German article on Cocoon Portal and Authentication you would not have a URL for those of us not being able to pick this up at a newsstand ? As soon as it goes up online (_if_ it goes up online) then I will post a link in my weblog. Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblog: http://radio.weblogs.com/0103021/ = -Original Message- From: Werner Guttmann [mailto:Werner.Guttmann;morganstanley.com] Sent: Thursday, October 17, 2002 12:29 PM To: [EMAIL PROTECTED] Cc: Cocoon-Dev@Xml. Apache. Org Subject: Re: German article on Cocoon Portal and Authentication Matthew, you would not have a URL for those of us not being able to pick this up at a newsstand ? Thanks Werner Matthew Langham wrote: The new issue of the German magazine XML Web Services Magazin contains a Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail the authentication and portal framework in Cocoon. Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblog: http://radio.weblogs.com/0103021/ =