RE: Javadoc in XML Format?
Robert, I haven't looked into it, but I think this could be something of interest: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=104370951430904w=2 Regards, P.S. Plain text next time, please. - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Robert Simmons [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:46 AM To: Cocoon Users Subject: Javadoc in XML Format? Greetings, I have been looking for a doclet that will create Javadoc API documentation but in XML format. This could then be used with cocoon to give far mroe control over rendering javadoc. I have looked through the internet and it appears Apache had a project on it at one time but now i cant find any links to it. Anyone know where i could find such an animal? The default HTML Javadoc is such a drag. =) -- Robert - 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 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]
Re: custom generator not working on a fresh install
Usually this error happens when I jar file is missing in the classpath or it is a syntax error in the sitemap. Hope this help. At 22:09 10/02/2003 +0100, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi again! nobody any idea? i'm getting desperate here, so any hint/pointer/tip would be very very welcome! thanks, rick On Friday 07 February 2003 22:52, peter riegersperger wrote: Hi all! We reactivated a Cocoon-based project that I haven't touched for a while, and I try to get Cocoon (and that project) running on my notebook. Included in this project is a custom generator, and this seems to be a bit of a problem. On the development server, all is running fine, but as soon as I add the custom generator to the sitemap on my notebook, I get the following error: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/apache/cocoon/generation/AbstractGenerator Our custom generator extends AbstractGenerator, but why can't Cocoon find it? On our server, there's no problem with the custom generator. (The rest of cocoon is running excellent, as is everything else I modified. It's just the mention of the generator) The server is running on cocoon-2.0.3, I'm using 2.0.4 (Source distribution) on my notebook. All in all, I'm running: Linux Tomcat 4.0.4 Cocoon 2.0.4 (the source distribution) j2sdk1.4.1_01 First, I built Cocoon with ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps webapp Then, I copied it to /tomcat/webapps I copied the following files to tomcat/common/lib: xalan-2.3.1.jar xercesImpl-2.0.0.jar these two where present: xercesImpl.jar xmlParserAPIs.jar I copied the following files to jdk1.4-home/jre/endorsed: xalan-2.3.1.jar xercesImpl-2.0.0.jar xml-apis.jar The jar with our custom generator is in cocoon/WEB-INF/lib and tomcat/common/lib I've been fiddling around with this the whole day, and obviously I've forgotten something. I hope anyone can help me, and that this mail makes any sense (after 13 hours of copying, deleting and modifying files on a 12-screen), rick ps: In my desperation, I even tried copying the complete cocoon-directory from our server, but the error is exactly the same. - -- |- | peter riegersperger [EMAIL PROTECTED] |- | ein windows switcher tagebuch: | http://forum.subnet.at/viewforum.php?f=22 |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+SBTuIMP39JYOy9IRAkpDAKDEfKf1C8XyBEd600yRj2YxZTx+twCgtKJ1 iMyuvq4cyWUL+Pn5xjqj+bY= =/mC5 -END PGP SIGNATURE- - 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
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]
context not found by CLI
Hallo listmembers, I am using the Cocoon command line to generate static pages from my site. I was not successful with that, because every time an action which uses the ObjectModelHelper.getContext( method throws an Exception. (see below) This ONLY happens during the uses of the CLI, not when I use cocoon through Tomcat. ... Context context = ObjectModelHelper.getContext(objectModel); -- NulPointerException thrown here context.setAttribute(oberrubrik, oberrubrik); Here is the batch file which calls the command line of cocoon. set CLASSPATH=C:\PROGRA~2\J2SDK1~1.0\jre\lib\rt.jar;C:\PROGRA~2\TOMCAT~1.1\commo n\lib\tools.jar;C:\PROGRA~2\TOMCAT~1.1\common\lib\servlet.jar;C:\PROGRA~2\TO MCAT~1.1\webapps\development\WEB-INF\classes\ cd web-inf\lib subst z: . set CLASSPATH=%CLASSPATH%;z:\avalon-excalibur-vm14-20020705.jar ..all other jarsfrom WEB-INF/lib... set CLASSPATH=%CLASSPATH%;z:\xt-19991105.jar cd ..\..\.. subst y: . cd development java org.apache.cocoon.Main -cC:/PROGRA~2/TOMCAT~1.1/webapps/development -dy:/static/ -uWARN -wy:/work/ -Cy:/development/WEB-INF/cocoon.xconf index.html subst z: /D subst y: /D Do you see any errors that could cause this exception? Robert - 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: Cinclude issues...
Jeff Turner wrote, On 11/02/2003 5.14: On Mon, Feb 10, 2003 at 02:09:17PM -0500, Ben Young wrote: ... I've looked into the Forrest site.xml work and I like it for the most part, but the thought of managing a single navigational map for an entire 7,000+ page site seems a bit unruly. Ouch.. yes it would. With a sitemap tweak, site.xml could xinclude site.xml's from subdirectories though. Good idea. Back to book.xml? ;-) Ok, I'm just joking. I want to use xinclude in it too, but for another reason: download part of the site structure from a common place, for multiple site consistency. This would help in the above task, and as Jeff says could (and probably should), be automated. The question is: how many entries does site.xml have? One for each page? Is it because of semantic linking or because you want them in th navigation? -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - 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]
Including XML/XSP into another XSP sheet
In XSP, is it possible to include either an XML file or the XML output of another XSP file into an XSP document Eg if I wanted to include the XML ?xml version=1.0 encoding=UTF-8? navigation item link=blah text=blah/ /navigation into my XSP document ?xml version=1.0 encoding=UTF-8? xsp:page xmlns:xsp=http://apache.org/xsp page titleBlah/title !-- Want to insert the XML here -- main item titleBlah/title bodyBlah/body /item /main /page /xsp:page I have fiddled around with xsp:include but have not yet cracked it - cheers Tom
Retrieving a String from the database in XSP
I am trying to retrieve a string from the database an place it into a variable (should be simple I know) However I am getting a compilation error I am trying to insert the string value correctly? String myString = null; esql:connectionesql:poolautorevs_pool/esql:pool esql:execute-query esql:queryselect * from user_info where USERNAME='xsp:exprusername/xsp:expr' and PASSWORD='xsp:exprpassword/xsp:expr'/esql:query esql:results xsp:logic style = esql:get-string column=STYLE/; /xsp:logic /esql:results esql:no-results xsp:logic > /xsp:logic /esql:no-results /esql:execute-query /esql:connection Cheers Tom
Re: A note about the best(?) (cocoon-) development environment...
SAXESS - Hussayn Dabbous wrote: snip 5.) eclipse 6.) sunbow eclipse tools (xml/sitemap) snip I'm currently evaluating oxygen (http://www.oxygenxml.com), it has tag-closing DTD/Schema aware tag insert and XSLT transformation functionality and so far I'm impressed by it. Do any of you know any other editors that support similar functionality? I'm tempted to spring the USD 65 (USD 25 academic) when my evaluation expires, but there might be something better out there? Regards. Rob - 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: Retrieving a String from the database in XSP
On wto, lut 11, 2003 at 11:36:14 -, Tom Place wrote: I am trying to retrieve a string from the database an place it into a variable (should be simple I know) However I am getting a compilation error I am trying to insert the string value correctly? String myString = null; esql:connectionesql:poolautorevs_pool/esql:pool esql:execute-query esql:queryselect * from user_info where USERNAME='xsp:exprusername/xsp:expr' and PASSWORD='xsp:exprpassword/xsp:expr'/esql:query esql:results xsp:logic style = esql:get-string column=STYLE/; /xsp:logic /esql:results esql:no-results xsp:logic style = ; /xsp:logic /esql:no-results /esql:execute-query /esql:connection You forgot to use esql:row-results tag, check out the esql reference on cocoon site ouzo -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - 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: Retrieving a String from the database in XSP
Title: Message try xsp:attribute for style bit.you have too many quotes encasing on the line - style = "esql:get-string column="STYLE"/"; try xsp:attribute name="the tag"/xsp:attribute or something along those lines -Original Message-From: Tom Place [mailto:[EMAIL PROTECTED]] Sent: 11 February 2003 11:36To: [EMAIL PROTECTED]Subject: Retrieving a String from the database in XSP I am trying to retrieve a string from the database an place it into a variable (should be simple I know) However I am getting a compilation error I am trying to insert the string value correctly? String myString = null; esql:connectionesql:poolautorevs_pool/esql:pool esql:execute-query esql:queryselect * from user_info where USERNAME='xsp:exprusername/xsp:expr' and PASSWORD='xsp:exprpassword/xsp:expr'/esql:query esql:results xsp:logic style = "esql:get-string column="STYLE"/"; /xsp:logic /esql:results esql:no-results xsp:logic ; /xsp:logic /esql:no-results /esql:execute-query /esql:connection Cheers Tom
Re: AW: global sitemap parameters and programatic cocoon configuration
On Monday, February 10, 2003, at 08:15 PM, SAXESS - Hussayn Dabbous wrote: Only one last question, before i dive into it. Does this also work on cocoon-2.0.4, or do i have to wait until 2.1 is released ? Sorry, I do not know about 2.0.4, I just use 2.1 ;) regards Jeremy - 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]
anyone interested in a cocoon-users meeting in Köln/germany ?
Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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: anyone interested in a cocoon-users meeting in Köln/germany ?
Hi Hussayn, I would be interested. Agenda: - welcome - basics (history, future, concepts) - use of cocoon in business apps - ... ...did you though about something like this? King regards Thorsten SAXESS - Hussayn Dabbous wrote: Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn - 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: anyone interested in a cocoon-users meeting in Köln/germany ?
yes! Thorsten Scherler wrote: Hi Hussayn, I would be interested. Agenda: - welcome - basics (history, future, concepts) - use of cocoon in business apps - ... ...did you though about something like this? King regards Thorsten SAXESS - Hussayn Dabbous wrote: Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn - 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] -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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]
Passing parameters
Hello, I would like to pass a parameter to a JSP generator. This parameter must be a cookie value from the user's browser. is It possible? How to? Thanks in advance. Eduardo.
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]
Re: Passing parameters
Hy; i think, that depends on where your jsp-generator runs. if you want to call another webapp (same server, or other server), this is not possible with standard cocoon. For this special case Lajos Moczar and me, we have built an add on, that allows to pass COOKIES from the browser to another webapp via cocoon. We set up a new protocol handler for this... if you want to address the cocoon internal jsp-processor, there may be another solution, i'm not aware of. Interested in more - send me a note. regards, Hussayn Eduardo Zurita wrote: Hello, I would like to pass a parameter to a JSP generator. This parameter must be a cookie value from the user's browser. is It possible? How to? Thanks in advance. Eduardo. -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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: anyone interested in a cocoon-users meeting in Köln/germany ?
I already replied about the one in Wuerzburg, but would go to one in Koeln also. Thanks, Rachel As for an agenda, I am an admin, not a developer so I would be more interested in the set-up of cocoon. But, I still want to learn more about how it is used. -Original Message- From: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:53 PM To: [EMAIL PROTECTED] Subject: anyone interested in a cocoon-users meeting in Köln/germany ? Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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: anyone interested in a cocoon-users meeting in Köln/germany ?
Hi Hussayn, I would be also interested. regards Klaus SAXESS - Hussayn Dabbous wrote: yes! Thorsten Scherler wrote: Hi Hussayn, I would be interested. Agenda: - welcome - basics (history, future, concepts) - use of cocoon in business apps - ... ...did you though about something like this? King regards Thorsten SAXESS - Hussayn Dabbous wrote: Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn - 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: anyone interested in a cocoon-users meeting in Köln/germany ?
cologne is fine ... Gerstel, Rachel schrieb: I already replied about the one in Wuerzburg, but would go to one in Koeln also. Thanks, Rachel As for an agenda, I am an admin, not a developer so I would be more interested in the set-up of cocoon. But, I still want to learn more about how it is used. -Original Message- From: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:53 PM To: [EMAIL PROTECTED] Subject: anyone interested in a cocoon-users meeting in Köln/germany ? Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn - 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]
AW: anyone interested in a cocoon-users meeting in Köln/germany ?
Hi Hussayn, I´m interested too. The topics I would like to hear about or discuss are: What do you use Cocoon for? (i.e. what types of applications) and, of course, best practices :-) BTW, is anyone of you going to the JAX 2003 Conference in Frankfurt (12.-16. May) ? Carsten and Matthew will be doing a Powerworkshop on Cocoon. Bye, -Jan Harms -Ursprüngliche Nachricht- Von: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Februar 2003 13:53 An: [EMAIL PROTECTED] Betreff: anyone interested in a cocoon-users meeting in Köln/germany ? Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn - 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: anyone interested in a cocoon-users meeting in Köln/germany ?
If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) I might be interested (but I currently don't actively use cocoon, and my time is *very limited*. Best regards, Martin Stricker -- Homepage: http://www.martin-stricker.de/ Webmaster-Forum: http://www.masterportal24.com/cgi-bin/YaBB.cgi Registered Linux user #210635: http://counter.li.org/ +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! - 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]
WebServiceProxy: host parameter is null
Hi everybody! I installed the latest version of cocoon 2.1 from the CVS, and when I'm trying to run: http://localhost:8080/cocoon/samples/webserviceproxy/cocoonhive/ I get the following exception: Error invoking remote service: java.lang.IllegalArgumentException: host parameter is null More precisely:org.apache.cocoon.ProcessingException: Error invoking remote service: java.lang.IllegalArgumentException: host parameter is null: java.lang.IllegalArgumentException: host parameter is null Can anybodyplease tell me what is wrong in what I'm doing? Regards Tudor
Re: Retrieving a String from the database in XSP
In addition to the other chnages, try: String ; //add at the start of the XSP and style = esql:get-string column="STYLE"/; ie you do not need the "" - the get-string does just that! Derek [EMAIL PROTECTED] 11/02/2003 01:36:14 I am trying to retrieve a string from the database an place it into a variable (should be simple I know) However I am getting a compilation error I am trying to insert the string value correctly? String myString = null; esql:connectionesql:poolautorevs_pool/esql:pool esql:execute-query esql:queryselect * from user_info where USERNAME='xsp:exprusername/xsp:expr' and PASSWORD='xsp:exprpassword/xsp:expr'/esql:query esql:results xsp:logic style = "esql:get-string column="STYLE"/"; /xsp:logic /esql:results esql:no-results xsp:logic FONT-SIZE: 10pt; FONT-FAMILY: Arial"> /xsp:logic /esql:no-results /esql:execute-query /esql:connection Cheers Tom -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. "The CSIR exercises no editorial control over E-mail messages and/or attachments thereto/links referred to therein originating in the organisation and the views in this message/attachments thereto are therefore not necessarily those of the CSIR and/or its employees. The sender of this e-mail is, moreover, in terms of the CSIR's Conditions of Service, subject to compliance with the CSIR's internal E-mail and Internet Policy."
Re: AW: anyone interested in a cocoon-users meeting in Köln/germany ?
I am also interested in a 'Cocoon meeting' in the Cologne area (Sa or Su please because I am working in the UK) Cheers Holger Adelmann On Tue, 11 Feb 2003, Jan Harms wrote: Hi Hussayn, I´m interested too. The topics I would like to hear about or discuss are: What do you use Cocoon for? (i.e. what types of applications) and, of course, best practices :-) BTW, is anyone of you going to the JAX 2003 Conference in Frankfurt (12.-16. May) ? Carsten and Matthew will be doing a Powerworkshop on Cocoon. Bye, -Jan Harms -Ursprüngliche Nachricht- Von: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Februar 2003 13:53 An: [EMAIL PROTECTED] Betreff: anyone interested in a cocoon-users meeting in Köln/germany ? Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn - Please check that your question has not already been answered in the FAQ before posting. a href=http://mail.cswebmail.com/jump/http://xml.apache.org/cocoon/faq/index.htmlhttp://xml.apache.org/cocoon/faq/index.html/a; To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ The ALL NEW CS2000 from CompuServe Better! Faster! More Powerful! 250 FREE hours! Sign-on Now! http://www.compuserve.com/trycsrv/cs2000/webmail/ - 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: AW: anyone interested in a cocoon-users meeting in Köln/germany ?
Hussayn, I would be interested in a Cocoon meeting in Koln. Darren Petrie On Tuesday, February 11, 2003, at 02:49 PM, [EMAIL PROTECTED] wrote: I am also interested in a 'Cocoon meeting' in the Cologne area (Sa or Su please because I am working in the UK) Cheers Holger Adelmann On Tue, 11 Feb 2003, Jan Harms wrote: Hi Hussayn, I´m interested too. The topics I would like to hear about or discuss are: What do you use Cocoon for? (i.e. what types of applications) and, of course, best practices :-) BTW, is anyone of you going to the JAX 2003 Conference in Frankfurt (12.-16. May) ? Carsten and Matthew will be doing a Powerworkshop on Cocoon. Bye, -Jan Harms -Ursprüngliche Nachricht- Von: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Februar 2003 13:53 An: [EMAIL PROTECTED] Betreff: anyone interested in a cocoon-users meeting in Köln/germany ? Hy; If there is interest, i could organise something in Köln. (maybe not as nice a place as some of you offered in this list ;-) ) Just send me a note (possibly include a proposal for an agenda ... ) regards, Hussayn - Please check that your question has not already been answered in the FAQ before posting. a href=http://mail.cswebmail.com/jump/http://xml.apache.org/cocoon/faq/ index.htmlhttp://xml.apache.org/cocoon/faq/index.html/a; To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ The ALL NEW CS2000 from CompuServe Better! Faster! More Powerful! 250 FREE hours! Sign-on Now! http://www.compuserve.com/trycsrv/cs2000/webmail/ - 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] Darren Petrie [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]
[HELP]Error invoking remote service: java.lang.IllegalArgumentException: host parameter is null
Description:org.apache.cocoon.ProcessingException: Error invoking remote service: java.lang.IllegalArgumentException: host parameter is null: java.lang.IllegalArgumentException: host parameter is null
Requirements for Hosting
Hi everyone, I've been doing all my projects in PHP so far and I'm sick and tired of it. I'm just beginning to touch base with Cocoon and am deeply impressed with it already. However I've got no Java know how so I don't know if it is enough to find a hosting service that merely provides a Java Servlet engine (like Tomcat) and install Cocoon yourself or if you need Cocoon preinstalled. Your help appreciated Guenther - 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]
more specific question about parameters from querystring to JSP
I want to pass the parameter "username" with value "joe" to my generator (myservice.jsp) The problem is: The user tries the page http://myserver/test.html?username=joe And i have the following in sitemap.xmap: map:pipeline map:match pattern="test.html" map:act type="request" map:parameter name="parameters" value="true"/ map:generate type="jsp" src=""/ /map:act map:transform src=""/ map:serialize type="html"/ /map:match /map:pipeline/map:pipelines Well, it doesn't work !!! :-( Is this the correct way? Please help, thanks in advance. Eduardo.
Re: more specific question about parameters from querystring to JSP
You dont need the ? try (error marked with '== look here ': map:pipeline map:match pattern=test.html map:act type=request map:parameter name=parameters value=true/ map:generate type=jsp src=services/myservice.jsp{requestQuery}/ == look here /map:act map:transform src=services/stylesheets/myservice.xsl/ map:serialize type=html/ /map:match /map:pipeline /map:pipelines Eduardo Zurita wrote: I want to pass the parameter username with value joe to my generator (myservice.jsp) The problem is: The user tries the page http://myserver/test.html?username=joe And i have the following in sitemap.xmap: map:pipeline map:match pattern=test.html map:act type=request map:parameter name=parameters value=true/ map:generate type=jsp src=services/myservice.jsp?{requestQuery}/ /map:act map:transform src=services/stylesheets/myservice.xsl/ map:serialize type=html/ /map:match /map:pipeline /map:pipelines Well, it doesn't work !!! :-( Is this the correct way? Please help, thanks in advance. Eduardo. -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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: more specific question about parameters from querystring to JSP
you can make it even simpler: map:pipeline map:match pattern=test.html map:act type=request map:generate type=jsp src=services/myservice.jsp{requestQuery}/ /map:act map:transform src=services/stylesheets/myservice.xsl/ map:serialize type=html/ /map:match /map:pipeline /map:pipelines SAXESS - Hussayn Dabbous wrote: You dont need the ? try (error marked with '== look here ': map:pipeline map:match pattern=test.html map:act type=request map:parameter name=parameters value=true/ map:generate type=jsp src=services/myservice.jsp{requestQuery}/ == look here /map:act map:transform src=services/stylesheets/myservice.xsl/ map:serialize type=html/ /map:match /map:pipeline /map:pipelines Eduardo Zurita wrote: I want to pass the parameter username with value joe to my generator (myservice.jsp) The problem is: The user tries the page http://myserver/test.html?username=joe And i have the following in sitemap.xmap: map:pipeline map:match pattern=test.html map:act type=request map:parameter name=parameters value=true/ map:generate type=jsp src=services/myservice.jsp?{requestQuery}//map:act map:transform src=services/stylesheets/myservice.xsl/ map:serialize type=html/ /map:match /map:pipeline /map:pipelines Well, it doesn't work !!! :-( Is this the correct way? Please help, thanks in advance. Eduardo. -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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: more specific question about parameters from querystring to JSP
Thanks, it worked !!! - Original Message - From: SAXESS - Hussayn Dabbous [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 2:56 PM Subject: Re: more specific question about parameters from querystring to JSP You dont need the ? try (error marked with '== look here ': map:pipeline map:match pattern=test.html map:act type=request map:parameter name=parameters value=true/ map:generate type=jsp src=services/myservice.jsp{requestQuery}/ == look here /map:act map:transform src=services/stylesheets/myservice.xsl/ map:serialize type=html/ /map:match /map:pipeline /map:pipelines Eduardo Zurita wrote: I want to pass the parameter username with value joe to my generator (myservice.jsp) The problem is: The user tries the page http://myserver/test.html?username=joe And i have the following in sitemap.xmap: map:pipeline map:match pattern=test.html map:act type=request map:parameter name=parameters value=true/ map:generate type=jsp src=services/myservice.jsp?{requestQuery}/ /map:act map:transform src=services/stylesheets/myservice.xsl/ map:serialize type=html/ /map:match /map:pipeline /map:pipelines Well, it doesn't work !!! :-( Is this the correct way? Please help, thanks in advance. Eduardo. -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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]
passing sax events through transformer
Hello, I'm trying to pass sax events through my transformer but nothing is happening. here is my pattern : map:match pattern=protected/request map:generate type=request/ map:transform type=xslt src=demo/request.xsl/ map:transform type=My_transformer/ ==It seems that transformer do nothing map:serialize type=xml/ /map:match Should I write something specified into my transformer ? NB : The pattern is working fine map:match pattern=/index* map:generate src=demo/{1}.xml/ map:transform type=My_transformer/ map:transform type=xslt src=demo/documents.xsl/ map:serialize type=html/ /map:match thanks in advance - 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: Passing parameters
Hi Eduardo! Your question is general, I don' know if I understand it well. However, in the past weeks I had the same problem. Here I post you the solution I found, with the great help of this community. Hope this help for your problem to. I wanted to write a matcher for an URI of this type: http://myhost.com:8080/cocoon/myApp/list.jsp?param=value The matcher is: map:match pattern=*.jsp map:act type=request map:parameter name=parameters value=true / map:generate type=file src=http://anotherhost:8080/anotherApp{../1}.jsp?param={param}; mime-type=text/xml/ map:transform src=stylesheets/{../1}.xsl/ map:serialize type=xhtml/ /map:act /map:match Note: the jsp that generates xml data is included with type=file and not as type=jsp Nesto - Original Message - From: Eduardo Zurita [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 2:16 PM Subject: Re: Passing parameters OK. is there a way to pass a parameter from the user querystring to a JSP generator? Thanks in advance Eduardo. - 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 an absolute path ?
Hi all ! I am using Cocoon 2.0.4 with Tomcat 4.1.18. In an XSP page, I would like to get the hard path of the webapp or a sub-dir of the webapp, to use Lucene with an index directory. I know I can get the relative path of the webapp with xsp-request:get-uri/, but I want to get the absolute path such like : /apps/tomcat/webapps/cocoon/mycocoon/index. Is it possible ? I apologize in advance if this doesn't concern this mailing list ! ... Olivier BILLARD - 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]
Session managing problem
Hi! I have a problem with the session managing. I'm trying towrite a user interface of an existing system using cocoon as publishing framework. The system is composed of a set of JSPs that generates xml data from a database. So the pipelines inthe sitemap I wrote are all of this type: map:match pattern="*.jsp" map:act type="request" map:parameter name="parameters" value="true"/ map:generate type="file" src="" mime-type="text/xml"/ map:transform src=""/ map:serialize type="xhtml"/ /map:act /map:match The REMOTE application manage itselfthe usersessions, but i don't how i have to modify my sitemap in order to let client and the remote application exchange session informations. In this moment the presence of Cocoon between client and Remote App causes the loss of session information (accessing through IE directly, I can see the correct xml data) I read the documentation on Cocoon site, and on Wiki, and I found something that looks interesting: the matchers of type cookie and sessionstate. But the problem is that I really haven't understand how I can use them. Thanks foryour answers! Nesto
Re: passing sax events through transformer
It's working now At 16:11 11/02/2003 +0100, you wrote: Hello, I'm trying to pass sax events through my transformer but nothing is happening. here is my pattern : map:match pattern=protected/request map:generate type=request/ map:transform type=xslt src=demo/request.xsl/ map:transform type=My_transformer/==It seems that transformer do nothing map:serialize type=xml/ /map:match Should I write something specified into my transformer ? NB : The pattern is working fine map:match pattern=/index* map:generate src=demo/{1}.xml/ map:transform type=My_transformer/ map:transform type=xslt src=demo/documents.xsl/ map:serialize type=html/ /map:match thanks in advance - 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]
AW: How to get an absolute path ?
Hi Olivier, in a servlet the ServletContexts getRealPath() method does what you want. In Cocoon there is the class org.apache.cocoon.environment.Context which should do the same. Hope this helps -Jan Harms -Ursprüngliche Nachricht- Von: Olivier Billard [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Februar 2003 16:24 An: [EMAIL PROTECTED] Betreff: How to get an absolute path ? Hi all ! I am using Cocoon 2.0.4 with Tomcat 4.1.18. In an XSP page, I would like to get the hard path of the webapp or a sub-dir of the webapp, to use Lucene with an index directory. I know I can get the relative path of the webapp with xsp-request:get-uri/, but I want to get the absolute path such like : /apps/tomcat/webapps/cocoon/mycocoon/index. Is it possible ? I apologize in advance if this doesn't concern this mailing list ! ... Olivier BILLARD - 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]
Antwort: Session managing problem
Hi Nesto! you are talking about two different user sessions. The first client is the UI (IE), the server is the Webapp Server running cocoon which becomes the client for the server remoteHost on port 8080. AFAIK there is no (standard) way to merge two (or more) different http sessions, but if you are able to modify the jsps, then you can fill in the needed sessioninformation by converting it to XML and add it to the rest of your xml. By using the WriteDomSessionTransformer you can add this XMLpart to your http session on your cocoon machine, and reuse it with the ReadDomSessionTransformer. Maybe this workaround helps! cheers manfred [EMAIL PROTECTED] am 11.02.2003 16:37:34 Bitte antworten an [EMAIL PROTECTED]@inet An: [EMAIL PROTECTED] Kopie: Thema: Session managing problem Hi! I have a problem with the session managing. I'm trying to write a user interface of an existing system using cocoon as publishing framework. The system is composed of a set of JSPs that generates xml data from a database. So the pipelines in the sitemap I wrote are all of this type: map:match pattern=*.jsp map:act type=request map:parameter name=parameters value=true/ map:generate type=file src=http://remoteHost:8080/remoteApp/ {../1}.jsp{requestQuery} mime-type=text/xml/ map:transform src=stylesheets/{../1}.xsl/ map:serialize type=xhtml/ /map:act /map:match The REMOTE application manage itself the user sessions, but i don't how i have to modify my sitemap in order to let client and the remote application exchange session informations. In this moment the presence of Cocoon between client and Remote App causes the loss of session information (accessing through IE directly, I can see the correct xml data) I read the documentation on Cocoon site, and on Wiki, and I found something that looks interesting: the matchers of type cookie and sessionstate. But the problem is that I really haven't understand how I can use them. Thanks for your answers! Nesto - 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: Session managing problem
i created a cocoon add on for exactly your scenario. I do also access my webapp via jsp pages, that return XML content and let cocoon do the presentation issues. works fine and reasonably perormant so far. I manage to pass session cookies through cocoon and i'm happy with it. we (Lajos and me) implemented a new protocol handler for this purpose. more info - send me a note hussayn Nesto wrote: Hi! I have a problem with the session managing. I'm trying to write a user interface of an existing system using cocoon as publishing framework. The system is composed of a set of JSPs that generates xml data from a database. So the pipelines in the sitemap I wrote are all of this type: map:match pattern=*.jsp map:act type=request map:parameter name=parameters value=true/ map:generate type=file src=http://remoteHost:8080/remoteApp/{../1}.jsp{requestQuery}; mime-type=text/xml/ map:transform src=stylesheets/{../1}.xsl/ map:serialize type=xhtml/ /map:act /map:match The REMOTE application manage itself the user sessions, but i don't how i have to modify my sitemap in order to let client and the remote application exchange session informations. In this moment the presence of Cocoon between client and Remote App causes the loss of session information (accessing through IE directly, I can see the correct xml data) I read the documentation on Cocoon site, and on Wiki, and I found something that looks interesting: the matchers of type cookie and sessionstate. But the problem is that I really haven't understand how I can use them. Thanks for your answers! Nesto -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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]
resource-exists problem
Hello! Can someone help me with this: map:pipeline map:match pattern=test/* map:act type=resource-exists map:parameter name=url value={1}.xml/ !-- it's available -- map:generate src=test/{1}.xml/ map:transform src=test/style.xsl/ map:serialize/ /map:act !-- not found -- map:generate src=test/DocumentNotAvailable.xml/ map:transform src=test/stylesheet.xsl/ map:serialize/ /map:match /map:pipeline When I type in http://localhost:8080/cocoon/test/jobs, for some reason Cocoon brings up DocumentNotAvailable.xml even though a jobs.xml document does exist. What am I doing wrong here? Many thanks! Ines Robbers - 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: resource-exists problem
Ines, are you absolutely sure the jobs.xml file is located in the same directory of your sub-sitemap ? The url parameter is relative to the sitemap directory. Therefore, if the jobs.xml existed in the test directory, you would use value=test/jobs.xml to properly assess its existence. Regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Ines Robbers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 5:05 PM To: Cocoon Mailingliste Subject: resource-exists problem Hello! Can someone help me with this: map:pipeline map:match pattern=test/* map:act type=resource-exists map:parameter name=url value={1}.xml/ !-- it's available -- map:generate src=test/{1}.xml/ map:transform src=test/style.xsl/ map:serialize/ /map:act !-- not found -- map:generate src=test/DocumentNotAvailable.xml/ map:transform src=test/stylesheet.xsl/ map:serialize/ /map:match /map:pipeline When I type in http://localhost:8080/cocoon/test/jobs, for some reason Cocoon brings up DocumentNotAvailable.xml even though a jobs.xml document does exist. What am I doing wrong here? Many thanks! Ines Robbers - 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]
error links to the sitemap
I have a strange error. I wrote this pipeline : !-- generate an xml request file -- map:match pattern=ixia/request map:generate type=request/ map:transform type=xslt src=demo/request.xsl/ map:transform type=IXIASOFTQuery/ map:serialize type=xmltext/ /map:match When I test it, it's working ONLY once. When I refresh the page, the transformers works fine (saw that in tomcat console) but the page is empty. So if I want it to work again i need to save again sitemap!!! What's happening ? - 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 always regenerate sitemap.xmap
How can I do that ? - 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]
AW: resource-exists problem
Hi Luca, Thanks for your help! * The url parameter is relative to the sitemap directory. * Therefore, if the jobs.xml existed in the test directory, you * would use value=test/jobs.xml to properly assess its existence. I managed to get it working. map:pipeline map:match pattern=test/* map:act type=resource-exists map:parameter name=url value={1}.xml/ !-- it's available -- map:generate src={test/../1}.xml/ map:transform src=test/style.xsl/ map:serialize/ /map:act !-- not found -- map:generate src=test/documentNotAvailable.xml/ map:transform src=test/stylesheet.xsl/ map:serialize/ /map:match /map:pipeline :-) - 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]
RESOLVED: custom generator not working on a fresh install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 if anyone's interested: the problem was that my jar-file was in tomcat/common/lib and cocoon/WEB-INF/lib. removing it from common/lib helped. apparently, cocoon was using the jar-file from /common/lib and was unable to find its own classes afterwards. what remains a miracle is that on our development server, i need the jar-file in both locations. thanks for your help, rick - -- |- | peter riegersperger [EMAIL PROTECTED] |- | ein windows switcher tagebuch: | http://forum.subnet.at/viewforum.php?f=22 |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+STHLIMP39JYOy9IRAjQqAKD23wasxa9Auw5aaREnrNyIBYtK+ACbBj3Z /EOi1ZzM/qOvAMu4fH9rghM= =MKGg -END PGP SIGNATURE- - 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 always regenerate sitemap.xmap
Lionel Crine [EMAIL PROTECTED] writes: How can I do that ? Look into cocoon.xconf. There is a element sitemap check-reload=no ../ Set this to yes. Regards Martin -- Martin Holz [EMAIL PROTECTED] Softwareentwicklung / Vernetztes Studium - Chemie FIZ CHEMIE Berlin Franklinstrasse 11 D-10587 Berlin - 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]
Writing Request to File System
I'm a newbie. I have Cocoon running. I have a stylesheet that can submit and recieve values from the RequestGenerator. What I want to do is Get http RequestGenerator XML (I have that) Run it though a stylesheet (I have that) Then write it to a file on my TomCat server (I NEED THIS) Then redirect the request to an index page (This would be nice) Right now I can send the output I want to go to the file as a response to the web client. Thanks, JohnPT - 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: anyone interested in a cocoon-users meeting in Köln/germany ?
I will also try to attend the JAX on that Monday when there will be the Cocoon workshop. Regards, Holger Adelmann On Tue, 11 Feb 2003, Matthew Langham wrote: BTW, is anyone of you going to the JAX 2003 Conference in Frankfurt (12.-16. May) ? Carsten and Matthew will be doing a Powerworkshop on Cocoon. Yes - and we will also be doing 2 presentations on Cocoon during the conference (and other stuff as well :-)). Put us down for a Cocoon user's meeting as well! Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - a href=http://mail.cswebmail.com/jump/http://www.s-und-n.de;http://www.s-und-n.de/a - Cocoon book: a href=http://mail.cswebmail.com/jump/http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20;http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20/a Weblogs: a href=http://mail.cswebmail.com/jump/http://radio.weblogs.com/0103021;http://radio.weblogs.com/0103021/a/ a href=http://mail.cswebmail.com/jump/http://www.oreillynet.com/weblogs/author/1014;http://www.oreillynet.com/weblogs/author/1014/a = - Please check that your question has not already been answered in the FAQ before posting. a href=http://mail.cswebmail.com/jump/http://xml.apache.org/cocoon/faq/index.htmlhttp://xml.apache.org/cocoon/faq/index.html/a; To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ The ALL NEW CS2000 from CompuServe Better! Faster! More Powerful! 250 FREE hours! Sign-on Now! http://www.compuserve.com/trycsrv/cs2000/webmail/ - 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]
RESOLVED: PDF Problem
Hi there, Quite a while ago I asked why the PDF-examples in Cocoon: Building XML Applications by Ziegler Langham don't work - at least on Cocoon version 2.0.4 I found the reason in the XSL:FO stylesheet: It's supposed to be master-reference=page instead of master-name=page Does anyone know more about this? Cheers Ines - 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: RESOLVED: PDF Problem
This was a change that occured in FOP version 0.20.4, earlier versions of FOP used the master-name attribute. master-reference is the correct one to use. JohnPT cocoon-users-return-46484-jthaemlitz=oreillyauto.com@XML .APACHE.ORG To: Cocoon Mailingliste [EMAIL PROTECTED] cc: 02/11/03 12:58 PM Subject: RESOLVED: PDF Problem Please respond to cocoon-users Hi there, Quite a while ago I asked why the PDF-examples in Cocoon: Building XML Applications by Ziegler Langham don't work - at least on Cocoon version 2.0.4 I found the reason in the XSL:FO stylesheet: It's supposed to be master-reference=page instead of master-name=page Does anyone know more about this? Cheers Ines - 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: RESOLVED: PDF Problem
Ines Robbers wrote: It's supposed to be master-reference=page instead of master-name=page Does anyone know more about this? The easiest way to learn about this was to look into the FOP FAQ: http://xml.apache.org/fop/faq.html#faq-N100DE You should have seen the error message described there in the Cocoon logs. J.Pietschmann - 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: Cinclude issues...
Ok, Jeff. I've been pondering this site.xml thing all day. asideBTW, thanks for the upgrade suggestion. 8o)/aside I have a couple questions about semantic linking that maybe you can field. I don't want to give up the old linking method just yet, but I would like to use semantic linking for certain scenarios. Is this posible with the linkmap implementation? In order to manage the 7,000+ pages I would definitely need the XInclude ability. Would that be very hard to add? How hard is it to set up one's own link schemas? Thanks for all your help, Jeff. This look a lot more promising and full featured then the way I was headed. Thanks again, Ben Jeff Turner [EMAIL PROTECTED] 02/10/03 23:09 PM On Mon, Feb 10, 2003 at 02:09:17PM -0500, Ben Young wrote: Sorry Jeff, I guess I never gave an example of the what the proposed pipeline should look like. map:match pattern=**/index.htm* map:act type=sourcetype src=/home/htdocs/content/{1}/index.xml map:generate src=cocoon:/{../1}/index.{sourcetype}/ /map:act map:transform src=/home/htdocs/design/shell.xsl map:parameter name=path value={1}/ /map:transform map:transform type=cinclude/ map:serialize/ /map:match And doesn't it work? What is the output just before the cinclude? (sorry, I still haven't twigged.. what does shell.xsl do?) I've looked into the Forrest site.xml work and I like it for the most part, but the thought of managing a single navigational map for an entire 7,000+ page site seems a bit unruly. Ouch.. yes it would. With a sitemap tweak, site.xml could xinclude site.xml's from subdirectories though. I'm trying to break it up into managable, human tolerant pieces. 8o) That, sarcasmoddly enough/sarcasm, is proving to be a daunting task. 8o) Oh well, *humans*, there's your problem :o) Upgrade to a species more tolerant of complexity, and everything will be fine. --Jeff Thoughts, Ben Jeff Turner [EMAIL PROTECTED] 02/09/03 07:33 AM On Fri, Feb 07, 2003 at 09:00:19PM -0500, Ben Young wrote: I've recently attempted to use the cinclude to aggregate some files that I'm currently aggregating with the map:aggregate command, but I've run into some issues that I'm not sure how to resolve. My current map:match section looks like this: map:match pattern=**/index.htm* map:act type=sourcetype src=/home/htdocs/content/{1}/index.xml map:aggregate element=document map:part src=cocoon:/{../1}/../_navigation.xml element=navigation/ map:part src=cocoon:/{../1}/index.{sourcetype}/ /map:aggregate /map:act map:transform src=/home/htdocs/design/shell.xsl map:parameter name=nav_filename value=/home/htdocs/content/nav_home.xml/ map:parameter name=path value={1}/ /map:transform map:serialize/ /map:match I use an internal-only pipeline to find the nearest _navigation.xml file in existence. map:pipeline internal-only=true map:match pattern=**/_navigation.xml map:act type=resource-exists map:parameter name=url value=/home/htdocs/content/{1}/_navigation.xml/ map:generate src=/home/htdocs/content/{../1}/_navigation.xml/ map:serialize type=xml/ /map:act map:redirect-to uri=cocoon:/{1}/../_navigation.xml/ /map:match /map:pipeline I'd like to move the aggregation step after the shell.xsl is applied. The plan is to have the shell.xsl output a cinclude tag that uses the cocoon:// psuedo-protocol in the appropriate place using the $path parameter plus _navigation.xml My current trouble is that the cinclude only runs through the internal pipeline once. Perhaps my brain slipped out of gear, but that seems a bit cryptic.. Don't you need a map:transform type=cinclude/ tag somewhere to get cinclude processing? --Jeff PS: in case you didn't know: Forrest does this kind of nav + body integration to generate pages like http://xml.apache.org/forrest/ Thank you for any help you might be able to give, Ben - 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: A note about the best(?) (cocoon-) development environment ...
NetBeans at www.netbeans.org has these features in its XML editor. -- Robert - Original Message - From: Rob Hoopman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 12:43 PM Subject: Re: A note about the best(?) (cocoon-) development environment ... SAXESS - Hussayn Dabbous wrote: snip 5.) eclipse 6.) sunbow eclipse tools (xml/sitemap) snip I'm currently evaluating oxygen (http://www.oxygenxml.com), it has tag-closing DTD/Schema aware tag insert and XSLT transformation functionality and so far I'm impressed by it. Do any of you know any other editors that support similar functionality? I'm tempted to spring the USD 65 (USD 25 academic) when my evaluation expires, but there might be something better out there? Regards. Rob - 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
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] - 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
Re: Carriage returns in HTML serialization
Mark H dijo: I'm having problems with HTML serialization: it's putting tags on a new line which is making a DIV section higher than it should be i.e. This is a browser issue, not a Cocoon issue. I recently buyed a nice book of HTML because I getted this kind if UFO errors. ;-) Source:HTML for the World Wide Web with XHTML and CSS: Visual QuickStart Guide, Fifth Edition from Elizabeth Castro. http://www.amazon.com/exec/obidos/ASIN/0321130073/ Best Regards, Antonio Gallardo div style=...div align=right.../div/div turns into: div style=... div align=right ... /div /div Is there anyway to control the HTML output? BTW I'm very impressed with Cocoon. XML really is the way to go with content heavy websites. Mark - 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]
xsp util and file contents
Hi, Im trying to insert xml into my xsp, this xml is for navigation purposes so ideally I would like to use one navigation file in many different xsp documents. I have looked at the mail archive to find out the details about this but I cant seam to get it to work! My example is below: ?xml version=1.0 encoding=UTF-8? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:util=http://apache.org/xsp/util/2.0 xsp:logic XSPUtil u = new XSPUtil(); String navigation = u.getFileContents(/tomcat/webapps/cocoon/autorevs/docs/templates/logged- out-navigation.xml); util:include-expr util:expr xsp:exprnavigation/xsp:expr /util:expr /util:include-expr /xsp:logic /xsp:page I am getting compilation errors any ideas? Cheers Tom - 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]
Jobs in the UK
Search for XML and XSLT in the UK job board revealed 55 positions!!! Check them out if you are contemplating speaking Brit for a while. http://www.theitjobboard.com/searchresults.php?keywords=XML+xslttype=0location%5B%5D=999days=0 -- Robert
Re: xsp util and file contents
On wto, lut 11, 2003 at 09:13:08 -, Tom Place wrote: Hi, Im trying to insert xml into my xsp, this xml is for navigation purposes so ideally I would like to use one navigation file in many different xsp documents. Apart from your problem : why don't you use aggregation? ouzo -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - 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: Cinclude issues...
how many entries does site.xml have? none yet. 8o) I would need to have one available for each concept (page, partial page, directory) that I want the content managers to be able to link to. Is it because of semantic linking or because you want them in the navigation? It's mainly because of navigation. I'm still toying with the ideas behind the semantic linking. I don't know that I would use it for the site in general, but I probably will for specific concept areas like people, dicitonary entries, and scripture references. The schema linking seems like it would be perfect for creating links that contain more information that just the actual page. I love this crazy world of information management. 8o) It's tiring at times, but I love it all the same. 8o) Thanks, Ben Nicola Ken Barozzi [EMAIL PROTECTED] 02/11/03 05:25 AM Jeff Turner wrote, On 11/02/2003 5.14: On Mon, Feb 10, 2003 at 02:09:17PM -0500, Ben Young wrote: ... I've looked into the Forrest site.xml work and I like it for the most part, but the thought of managing a single navigational map for an entire 7,000+ page site seems a bit unruly. Ouch.. yes it would. With a sitemap tweak, site.xml could xinclude site.xml's from subdirectories though. Good idea. Back to book.xml? ;-) Ok, I'm just joking. I want to use xinclude in it too, but for another reason: download part of the site structure from a common place, for multiple site consistency. This would help in the above task, and as Jeff says could (and probably should), be automated. The question is: how many entries does site.xml have? One for each page? Is it because of semantic linking or because you want them in th navigation? -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - 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: xsp util and file contents
XSP is just XML. Just write a transformer that copies the XML into the XSP file. Run this transformer before you run the XSP transformer in the sitemap and viola, problem solved. Hmm, I'm starting to get the hang of this thing scary. -- Robert - Original Message - From: Leszek Gawron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 10:33 PM Subject: Re: xsp util and file contents On wto, lut 11, 2003 at 09:13:08 -, Tom Place wrote: Hi, I'm trying to insert xml into my xsp, this xml is for navigation purposes so ideally I would like to use one navigation file in many different xsp documents. Apart from your problem : why don't you use aggregation? ouzo -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - 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: A note about the best(?) (cocoon-) development environment...
On Mon, 10 Feb 2003 11:40:57 + Jeremy Quinn [EMAIL PROTECTED] wrote: Hi, I'm just curious. I assume you XXE used only with UTF-8 or ascii. I also gave XXE a short whirl, but I was unable to load documents with encoding=ISO-8859-1 that contained german öäü... characters. XXE reads the encoding from the first line of your file, if there is not one there, it uses whatever you have set for the default in 'options'. regards Jeremy Good, that we talked about it. I was originally of the opinion, that everything I did was correct, but now that I rechecked I found, that I had written ISO8859-1 instead of ISO-8859-1 (simple typo). After I corrected this, everything works like a charm. So, what I've seen from XXE is really impressive. So, thanks for answering and in turn causing me to recheck. -- MfG/Regards Frank Ridderbusch - 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: xsp util and file contents
Thanks for your help. Just to clarify, you mean put an XSL transform between the XSP page and the original XSL transformer? This could work however is there not an easier way of doing this as I am going to be inserting several different things at several points on different sheets - this will take a lot of XSL files! Going back to my original example, should that not work, have I got the wrong end of the stick?!?! Also what is aggregation? (Sorry but I'm new to all this!) -Original Message- From: Robert Simmons [mailto:[EMAIL PROTECTED]] Sent: 11 February 2003 21:39 To: [EMAIL PROTECTED] Subject: Re: xsp util and file contents XSP is just XML. Just write a transformer that copies the XML into the XSP file. Run this transformer before you run the XSP transformer in the sitemap and viola, problem solved. Hmm, I'm starting to get the hang of this thing scary. -- Robert - Original Message - From: Leszek Gawron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 10:33 PM Subject: Re: xsp util and file contents On wto, lut 11, 2003 at 09:13:08 -, Tom Place wrote: Hi, I'm trying to insert xml into my xsp, this xml is for navigation purposes so ideally I would like to use one navigation file in many different xsp documents. Apart from your problem : why don't you use aggregation? ouzo -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - 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]
Semantic linking (Re: Cinclude issues...)
On Tue, Feb 11, 2003 at 03:22:53PM -0500, Ben Young wrote: Ok, Jeff. I've been pondering this site.xml thing all day. Btw, the LinkRewriterTransformer is currently only in 2.1. Although as the InputModules it depends on are also in 2.0.4, it could be ported fairly easily. asideBTW, thanks for the upgrade suggestion. 8o)/aside I have a couple questions about semantic linking that maybe you can field. I don't want to give up the old linking method just yet, but I would like to use semantic linking for certain scenarios. Is this posible with the linkmap implementation? Yes, it's not an either/or choice. If a link happens to start with 'site:' (or somesuch prefix) it will be translated. Pretty much any XML format can be used, by changing the XPath prefix and suffix. In order to manage the 7,000+ pages I would definitely need the XInclude ability. Would that be very hard to add? Just a matter of adding map:tansform type=xinclude/ to the pipeline. Though, the XInclude transformer isn't very good. XPointer support is dodgy ('/site/samples' doesn't work, but '/site/samples/*' does), and there is no support for the xmlns() scheme, meaning if your XML uses namespaces like Forrest's site.xml, you have to use *[local-name()='foo']. You might be better off using XML entities;. How hard is it to set up one's own link schemas? Requires defining a few input modules in cocoon.xconf and the sitemap. See CVS Cocoon's linkrewriter block (http://localhost:8080/cocoon/samples/linkrewriter/). Actually, wait for me to commit a fix for the bookdemo sample.. --Jeff Thanks for all your help, Jeff. This look a lot more promising and full featured then the way I was headed. ... - 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]
What does this error mean? missing Component?
A test of a simple access to an sql db using ESQL gives me an error of in sitemap.log: 3035 DEBUG (2003-02-11) 18:30.10:622 [sitemap] (/xcon/samples/ctwig/ctw/esqlmy.xml) Thread-37/ExcaliburComponentSelector: generators: ComponentSelector could not find the component for hint [serverpages] 3036 DEBUG (2003-02-11) 18:30.10:622 [sitemap] (/xcon/samples/ctwig/ctw/esqlmy.xml) Thread-37/ExcaliburComponentSelector: generators: ComponentSelector could not find the component for hint [serverpages] 3037 DEBUG (2003-02-11) 18:30.10:623 [sitemap] (/xcon/samples/ctwig/ctw/esqlmy.xml) Thread-37/ResourceLimitingPool: Got a org.apache.cocoon.generation.ServerPagesGenerator from the pool. Also on the error.log im getting this: 5 ERROR (2003-02-11) 18:30.10:633 [core.program-generator] (/xcon/samples/ctwig/ctw/esqlmy.xml) Thread-37/ProgramGeneratorImpl: The serverpage [file:/u01/t412/tc412/webapps/xcon/samples/ctwig/ctwig/ctw/esqlmy.xml] could not be preloaded What does this mean? It just could not find the serverpages meaning the sub sitemap.xmap did not inherit serverpages from the main? I have this on 4.1.12+mysql 3.4.2+jdk 1.4.0_01+cocoon2.1 Regards, e nio __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.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]
Cocoon hosting
Hi, I'm looking for a cheap hosting provider to host a low volume Cocoon site based on 2.1 dev code. Does anyone have any experience with the ones mentioned at the cocoon hosting page or any others? Since I'm using 2.1 dev version, I assume it is better if they are not running Cocoon, since it might conflict with mine, is this a good assumption? you can ignore this I've just tried deploying a my cocoon.war file at lunarpages.com, which twice brought their Resin server down (same file deploys fine on Tomcat by the way), which in turn resulted in me being kick out of their server... /you can ignore this Thanks, -Alex - 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 hosting
On Wednesday 12 February 2003 11:10, Alex Romayev wrote: Hi, I'm looking for a cheap hosting provider to host a low volume Cocoon site based on 2.1 dev code. Does anyone have any experience with the ones mentioned at the cocoon hosting page or any others? How low is low volume?? I could consider making my server available, provided; 1. You help me setting it up, upgrade and maintain, so we both can benefit. 2. I have a simple Apache 1.3 up front with virtual hosts, and that we tie your domain, and my private domain, to the servlet container, not interfering with other domains. 3. Low volume. 4. Credible content. 5. SLA non-existent; If I need to move servers, there will be downtime. My ISP is unreliable, and long interruptions happen, and I may decide to kick you out with a couple of weeks warning. Tough? Yeah, but you get what you are paying for, and the tone was kind of want to try some stuff, privateering and cheap. Price; I won't bother charging. Niclas Since I'm using 2.1 dev version, I assume it is better if they are not running Cocoon, since it might conflict with mine, is this a good assumption? you can ignore this I've just tried deploying a my cocoon.war file at lunarpages.com, which twice brought their Resin server down (same file deploys fine on Tomcat by the way), which in turn resulted in me being kick out of their server... /you can ignore this Thanks, -Alex - 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: Requirements for Hosting
On Tuesday 11 February 2003 22:45, Guenther Schmidt wrote: Hi everyone, I've been doing all my projects in PHP so far and I'm sick and tired of it. Good for you. I'm just beginning to touch base with Cocoon and am deeply impressed with it already. However I've got no Java know how so I don't know if it is enough to find a hosting service that merely provides a Java Servlet engine (like Tomcat) and install Cocoon yourself or if you need Cocoon preinstalled. On Cocoon website you find; http://xml.apache.org/cocoon/link/hosting.html There has been reports that it is not reliable to assume that your Servlet hosting will accept the cocoon.war, and that you may spend money for something you can't use. - 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: Session managing problem
Hello, I try to merge app in PHP with cocoon in the same way. The problem is passing cookies, so if you wouldn't mind sending me more info about this I would appreciate. Artur I do also access my webapp via jsp pages, that return XML content and let cocoon do the presentation issues. works fine and reasonably perormant so far. I manage to pass session cookies through cocoon and i'm happy with it. we (Lajos and me) implemented a new protocol handler for this purpose. more info - send me a note hussayn Nesto wrote: Hi! I have a problem with the session managing. I'm trying to write a user interface of an existing system using cocoon as publishing framework. The system is composed of a set of JSPs that generates xml data from a database. So the pipelines in the sitemap I wrote are all of this type: map:match pattern=*.jsp map:act type=request map:parameter name=parameters value=true/ map:generate type=file src=http://remoteHost:8080/remoteApp/{../1}.jsp{requestQuery}; mime-type=text/xml/ map:transform src=stylesheets/{../1}.xsl/ map:serialize type=xhtml/ /map:act /map:match The REMOTE application manage itself the user sessions, but i don't how i have to modify my sitemap in order to let client and the remote application exchange session informations. In this moment the presence of Cocoon between client and Remote App causes the loss of session information (accessing through IE directly, I can see the correct xml data) I read the documentation on Cocoon site, and on Wiki, and I found something that looks interesting: the matchers of type cookie and sessionstate. But the problem is that I really haven't understand how I can use them. Thanks for your answers! Nesto -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 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]
Jumping within sitemap?
Hi guys, I'm wondering if it's possible to jump from one place in the sitemap to another. I made up the following code, but it's basically what I'm aiming to do: map:match pattern=checkout map:act type=is-logged-in/ !-- Customer is logged in, so proceed to first checkout step -- map:jump jumpto=customer-info-entry/ /map:act !-- Customer isn't logged in, so jump to login page. -- map:jump jumpto=customer-login/ /map:match map:match pattern=customer-info-entry map:generate src=customerInfoEntry.xsp/ map:transform src=someTransform.xsl/ map:serialize type=html/ /map:match map:match pattern=customer-login map:read src=customerLogin.html/ /map:match It's like calling a function/method in a programming language, and it thus supports reuse of factored out code. Does it make sense? Please let me know how we can do it! :-) Thanks, Sonny __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.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]
Re: Possible threading issues with xsltc + BCEL ???
Hi Guys, Xalan guys have updated the xsltc code to resolve this issue. Will update the xsltc jar in Cocoon head if there are no objections. Regards, Michael On Fri, Feb 07, 2003 at 12:43:42PM +0100, Michael Melhem wrote: On Thu, Feb 06, 2003 at 04:18:55PM -0500, Vadim Gritsenko wrote: Michael Melhem wrote: Hi Cocooners, Are their any other Cocoon users having Threading Issues with xsltc? Its seems that if you have a translat being compiled at the same time by two or more threads (instances of TraxTransformer) you will get issues because BCEL is not (by design) threadsafe as it users static methods and variables which seem to be overwriting each other??? Once the Translets get compiled however, such threading issues disappear. Does anyone have expirence with this? Regards, Michael Melhem Ps After locally patching org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.java with some synch code around the compile block, all seems OK. Hi Vadim, Can you notify Xalan guys about this issue? Or may be sent'em a patch? Yep, im chasing this up will talk with the Xalan guys. Cheers, Michael Vadim - 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]