Cocoon and Xindice

2002-08-19 Thread praktikant
Hello! I'm a newbie. I tried to use the /db/addressbook shipped with Xindice. I've found some examples on http://cocooncenter.de. But the examples didn't run yet. If I try to run this : (db_test.xml) ?xml version=1.0 encoding=UTF-8? collection:results query=//person[contains(fname,'John')]

Re: J2EE needed? UserTransaction not found..

2002-08-19 Thread Stephan Michels
On Sun, 18 Aug 2002, Jan wrote: Where do you get this error? On startup. Urgh :-| Can you this more explain?! Tomcat? Version? Version of Cocoon? Install method? Parameters? - Please check that your question has not

Xindice and Cocoon

2002-08-19 Thread praktikant
I get this when I go to the site. Source code (xml) instead of data (also xml) I use Win 2k, Tomcat 4.0.4, Cocoon 2.0.3 (compiled on Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - Please check that your question has not already

Using eldap logicsheet with cocoon 2

2002-08-19 Thread Markus Schmid
Hi, trying to use the eldap logicsheet with cocoon 2 I wrote an xsp-page that contains the eldap-tags to execute an ldap-query and includes the eldap logic-sheet: ?xml version=1.0? ?xml-logicsheet href=/logicsheets/eldap.xsl? xsp:page language=java xmlns:xsp=http://apache.org/xsp;

Cocoon and Xindice

2002-08-19 Thread praktikant
I want to get some xml data out of a xml database. I have written some xml code to get the xml data, but I get only the source code. Output of the browser: ?xml version=1.0 encoding=UTF-8 ? collection:results query=//person[contains(fname,'John')] resources=1

Re: Cocoon and Xindice

2002-08-19 Thread KOZLOV Roman
Hi, What source do you mean? The snippet you have sent is a result of xpath query on Xindice database (with xpath value //person[contains(fname,'John')] on the /db/addressbook collection). What do you mean by xml code to get xml data? Xindice data are retrieved by URL's with or without xpath

AW: Cocoon and Xindice

2002-08-19 Thread praktikant
Hi, that was the result of ?xml version=1.0 encoding=UTF-8? collection:results query=//person[contains(fname,'John')] resources=1 xmlns:collection=http://apache.org/cocoon/xmldb/1.0; collection:result docid=address1 person xmlns:src=http://xml.apache.org/xindice/Query;

ESQL DTD? (Was: SQLTransformer good, ESQL good!)

2002-08-19 Thread Alan Hodgkinson
Dear All, Christian Haul wrote: On 18.Aug.2002 -- 09:14 PM, Jan Willem Penterman wrote: This is _really_ strange. Erm, _I_ am really strange... I had my esql:pool tag within the esql:query... Aargh! Do you mean the pool was within the 'query' or within the 'execute-query'?

RE: XML to PDF

2002-08-19 Thread caleb racey
A good starting point HowTo is at: http://www.codeconsult.ch/drafts/cocoon/howto-html-pdf-publishing-DRAFT- 01.html A guide for using xsl-fo is at: http://www.dpawson.co.uk/xsl/sect3/bk/index.html My personal recommendation is to get your version of cocoon tuned up so it is using optimal

Re: Cocoon and Xindice

2002-08-19 Thread John Moylan
This may be of some use to you, it's a snippet from my sitemap showing the use of stylesheets with Xindice. Note the use of map:transform src=stylesheets/jtest.xsl/map:transform You are also serializing as XML specifically in your sutemap which from your email, does not sound like the effect

session-validator action to work outside of the sample....

2002-08-19 Thread MTiffany71
- 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:

Re: ESQL DTD? (Was: SQLTransformer good, ESQL good!)

2002-08-19 Thread Christian Haul
On 19.Aug.2002 -- 09:24 AM, Alan Hodgkinson wrote: Dear All, Christian Haul wrote: On 18.Aug.2002 -- 09:14 PM, Jan Willem Penterman wrote: This is _really_ strange. Erm, _I_ am really strange... I had my esql:pool tag within the esql:query... Aargh! Do you mean the

Re: Status of new functionality

2002-08-19 Thread Antonio Gallardo Rivera
El Domingo, 18 de Agosto de 2002 23:53, Carsten Ziegeler escribió: The official state of the session and authentication management is alpha, but this stuff is a donation of my company. It is used in production environment over more than a year now - so they are more stable and working than

Re: ESQL DTD? (Was: SQLTransformer good, ESQL good!)

2002-08-19 Thread Alan Hodgkinson
Dear Christian, Thanks for the quick reply :) And worse.. the Dodds IBM Tutorial, 'Cocoon 2: Build database driven sites', presents an example that contains the following: esql:connection esql:execute-query esql:pool.../esql:pool esql:query... ...

SUMMARY How to send a parameter of type long to a FormValidator

2002-08-19 Thread Antonio Gallardo Rivera
I finally resolve the problem I got about the tutorial sample. CAUSE: I reformated the code of the source file result-dept.xsp. of the tutorial from the original to: parameter name=id xsp:attribute name=value esql:get-string column=department_id/ /xsp:attribute

Error with multiple stylesheet imports (xsl:import)

2002-08-19 Thread Hahn Kurt (CHA)
I'm using the xsl:import-function in some stylesheets, which was OK while I imported just one stylesheet. If I import a second one, I get a nullPointerException error. According to the xsl-specs, importing more than one stylesheets shouldn't be a problem, is this a limitation of Cocoon (I don't

AW: Cocoon and Xindice

2002-08-19 Thread praktikant
Hi, that's the point. I do not have the xml-data. I only get the uninterpreted xml source. -Ursprüngliche Nachricht- Von:kavitha ramesh [mailto:[EMAIL PROTECTED]] Gesendet am:Montag, 19. August 2002 13:37 An: [EMAIL PROTECTED] Betreff:

Re: AW: Cocoon and Xindice

2002-08-19 Thread KOZLOV Roman
There is no difference. You have to transform your xml source to what you want. Roman praktikant wrote: Hi, that's the point. I do not have the xml-data. I only get the uninterpreted xml source. -Ursprüngliche Nachricht- Von:kavitha ramesh [mailto:[EMAIL

Re: XSP Java Class Include

2002-08-19 Thread Roger I Martin PhD
Hi Brian, I write this for everybody. I've sent this to my brother who works with you. He said he was out at meetings this morning so I thought you might want this now. Place all jars that torque is dependent on in your tomcat/webapps/YOURWEBAPP/WEB-INF/lib folder. Restart tomcat; it won't

Re: Error with multiple stylesheet imports (xsl:import)

2002-08-19 Thread Joerg Heinicke
Problems with xsl:import seem to occure really often, when using Cocoon. I often may not use xsl:import, because it simply doesn't work or I get a not allowed in this position or something similar. xsl:include solved all problems until now, but maybe I want to include a named template, where

AW: AW: Cocoon and Xindice

2002-08-19 Thread praktikant
Sorry, my english isn't very good. :( My problem is that I get no response from my database when I use Cocoon. And I want to have the xml data from my xml database. But the browser shows me only the procedure that I have written to speak with the database I hope these explain it.

Re: handle POST request, send to CGI script?

2002-08-19 Thread Fabio Sabatini
gv wrote: Is there a way to have Cocoon handle a POST request and send it to a Perl CGI script? The Perl script returns XML which I want to use in the pipeline. If there's no way to call the Perl CGI script (and I presumably have to rewrite it in XSP/Java) how can I get at the POST data and

Re: AW: AW: Cocoon and Xindice

2002-08-19 Thread KOZLOV Roman
praktikant wrote: Sorry, my english isn't very good. :( My problem is that I get no response from my database when I use Cocoon. Your xml-source is a typical response from Xindice. And I want to have the xml data from my xml database. You have it within collection:result element of

Xms, Xmx, freememory and heapsize

2002-08-19 Thread Lajos Moczar
Hi folks - In January, there was an excellent post (with the same subject line) by Peter Hargreaves describing his experiences and recommendations for setting -Xmx, freememory and heapsize. One of his recommendations was that the value of heapsize should be somewhat less than that of -Xmx (he

Re: FP and Cocoon2

2002-08-19 Thread Dwayne Kemp
Thanks. Well I have a fully functioning site using tomcat 3.X and cocoon 1.x and the fp logicsheet to edit multiple xml files via the web. My only issue with this setup is a caching problem, I believe, that occurs? I can edit an xml file but after many edits when the xml is transformed into

Re: Packaging a cocoon web application

2002-08-19 Thread Vadim Gritsenko
Leszek Gawron wrote: I have quite a problem that I think some of you also might have. I'd like to package my web application along with cocoon to make a nice one file .war automatic installation package. I have already found that there is a special build target for cocoon that produces a

Re: Xms, Xmx, freememory and heapsize

2002-08-19 Thread Vadim Gritsenko
Lajos Moczar wrote: Hi folks - In January, there was an excellent post (with the same subject line) by Peter Hargreaves describing his experiences and recommendations for setting -Xmx, freememory and heapsize. One of his recommendations was that the value of heapsize should be somewhat

Generic SQL transformer output

2002-08-19 Thread Alan Hodgkinson
Dear All, I'm trying to implement a set of XSP sheets to manage administrative records in a database. This merely means implementing insert, update and delete for records in a number of different tables. Naturally, I'm striving for a generic solution so that I can use the same

RE: Packaging a cocoon web application

2002-08-19 Thread Per Kreipke
Vadim There are provisions in build.xml to add parts into sitemap and cocoon.xconf files. Just see any of the *.xpipe, *.xconf, *.xmap files throughout the src/ directory. Add your own files, they will be picked up by build process. I've noticed those and wondered where/how the right place

[Q] SourceWritingTransfomer + WriteableSources via POST?

2002-08-19 Thread Per Kreipke
I can't quite find in the current source tree any other writeable source other than the SlideSource or the FileSource. Is there already a WriteableSource that can POST to a HTTP resource? Or is there another built-in way to have Frontier POST data from some sitemap component (e.g. XSP,

embedding image-stream in pdf

2002-08-19 Thread Przybilla, Frank
Dear All, I have the following scenario and I want to know if this can be solved with fop: There is a servlet which can produce images (png, jpeg, etc.) as ouput streams which are not materialized to files. How can this servlet be used to embed these images in a pdf file with fop? I have

Re: [Q] SourceWritingTransfomer + WriteableSources via POST?

2002-08-19 Thread Stephan Michels
On Mon, 19 Aug 2002, Per Kreipke wrote: I can't quite find in the current source tree any other writeable source other than the SlideSource or the FileSource. Is there already a WriteableSource that can POST to a HTTP resource? Or is there another built-in way to have Frontier POST data

RE: [Q] SourceWritingTransfomer + WriteableSources via POST?

2002-08-19 Thread Per Kreipke
I can't quite find in the current source tree any other writeable source other than the SlideSource or the FileSource. Is there already a WriteableSource that can POST to a HTTP resource? Or is there another built-in way to have Frontier POST data from some sitemap component (e.g.

RE: [Q] SourceWritingTransfomer + WriteableSources via POST?

2002-08-19 Thread Stephan Michels
On Mon, 19 Aug 2002, Per Kreipke wrote: I can't quite find in the current source tree any other writeable source other than the SlideSource or the FileSource. Is there already a WriteableSource that can POST to a HTTP resource? Or is there another built-in way to have

Problem starting cocoon: SAX2 driver class not found

2002-08-19 Thread Dirk . Fries
Hello! On accessing my cocoon installation with http://localhost:8080/cocoon/; I still get the error message SAX2 driver class org.apache.xerces.parsers.SAXParser not found. The Cocoon version is 2.0.3 and I tried it with Tomcat 4.0.3 and 4.0.4. The file access.log of the cocoon application you

connecting form field to action

2002-08-19 Thread alexgalt
I don't understand how actions can read fields from an html form through the sitemap. I have a text field in a form, i'd like to pass that field's value to an action which will eventually modify it and return it to the sitemap. My action, sitemap, form can see each other and execute

clearing all caches

2002-08-19 Thread Vaskin Kissoyan
I'm sometime seeing changes and sometimes not, how do I make sure everything is be reflected properly? Is there a way to clear Cocoon's cache directly, as I'm pretty sure its not in my browser cache or anywhere else that I can tell, and restargint Tomcat doesn't seem to do it either. Tomcat

Re: clearing all caches

2002-08-19 Thread Antonio Gallardo Rivera
Hi Vaskin: To resolve your problem you must tell Cocoon to check for change in a synchron form. To do this: In the file cocoon.xconf search for: sitemap file=sitemap.xmap reload-method=asynchron check-reload=yes logger=sitemap/ then change the attribute reload-method to synchron: sitemap

Re: clearing all caches

2002-08-19 Thread Lajos Moczar
Delete Tomcat's work directory for your webapp ($CATALINA_HOME/work/Standalone/localhost ...) Lajos Vaskin Kissoyan wrote: I'm sometime seeing changes and sometimes not, how do I make sure everything is be reflected properly? Is there a way to clear Cocoon's cache directly, as I'm

A master-detail example

2002-08-19 Thread Antonio Gallardo Rivera
Hi everyone. I am looking for a master-detail form example. Where Can I find this type of form example using ESQL?. Lets say a invoice or something like that to try to follow how can I do in this situation. I thinked this can be done using session attributes. am I right? Regards, Antonio

I hate typo-s

2002-08-19 Thread Greg Jones
Title: I hate typo-s It seems that most of my frustration with any programming environment is my own typing mistakes. This is why I'm willing to purchase an IDE that will check for such things and alert me of such things. Does anyone know of an IDE that will check XSP values, utilizing

RE: I hate typo-s

2002-08-19 Thread Argyn Kuketayev
Title: I hate typo-s FAR Manager + colorer? -Original Message-From: Greg Jones [mailto:[EMAIL PROTECTED]]Sent: Monday, August 19, 2002 3:44 PMTo: [EMAIL PROTECTED]Subject: I hate typo-s It seems that most of my frustration with any programming environment is my own

Missing API Doc?

2002-08-19 Thread Joshua McCulloch
http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/transformation/AbstractSAXTransformer.html gives a 404 error. __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com

RE: [Q] SourceWritingTransfomer + WriteableSources via POST?

2002-08-19 Thread Per Kreipke
Stephan, I looked at the WebDAVSource*.java code. - it's based on the org.apache.webdav.* packages. Presumably that's Slide's client library? If not, which JAR please? - I read the email about htpclient. That's too bad. I can just see the soap now (the one on TV not the XML one) - When Open

Re: I hate typo-s

2002-08-19 Thread Roger I Martin PhD
Title: I hate typo-s www.netbeans.org - Original Message - From: Argyn Kuketayev To: '[EMAIL PROTECTED]' Sent: Monday, August 19, 2002 3:55 PM Subject: RE: I hate typo-s FAR Manager + colorer? -Original Message-From: Greg Jones

Re: Common practice: how to keep links to html-trees consistent

2002-08-19 Thread Emmanuil Batsis (Manos)
I don't know of any Cocoon specific solutions, but it's been a habit for some time now to start any URL with '/', denoting the root of the site. The only exception being context-sensitive navigation, but that is another subject ;-) Cheers, Manos Koen Pellegrims wrote: Guys, This is

Re: Common practice: how to keep links to html-trees consistent

2002-08-19 Thread J.Pietschmann
Koen Pellegrims wrote: Menu on my site that contains a link to the index-page (index.html) and links to (among others) a product-page. In the page-hierarchy, the product-pages are contained within a 'products' directory. ... The problem arises when I display this menu on a product page,

Re: clearing all caches

2002-08-19 Thread Vaskin Kissoyan
Lajos Moczar wrote: Delete Tomcat's work directory for your webapp ($CATALINA_HOME/work/Standalone/localhost ...) I did tried this it did not work. My new toc information is not there, funny thing was that I was seeing immediate changes for a while there... Antonio Gallardo Rivera wrote:

Link Livesites:

2002-08-19 Thread christophe lenoir
Hi, I have just visit your website and not found our website in your list. www.BeThe1.com is developped under cocoon 2 since its opening in december 2001. regards, Christophe LENOIR - BeThe1 www.BeThe1 - Please check that

Link Livesites:

2002-08-19 Thread christophe lenoir
hi again, sorry i made a mistake. We are already registered but would you be kind just addind BeThe1 before the employment Thank you Christophe LENOIR - Please check that your question has not already been answered in

RE: Common practice: how to keep links to html-trees consistent

2002-08-19 Thread Robert Koberg
Hi, This is relatively easy to do with XSL. You can mirror your site structure in XML (produced dynamically or manually). Say it turns out to be something like: folder id=f123 name=aaa label=blah1 page id=p123 label=blah2/ folder id=f234 name=bbb label=blah3 page id=p234 label=blah4/

Link Livesites:

2002-08-19 Thread Phil Blake
Hi, I just wanted to add a site I have been working on to the live sites list. ValMorgan is an international cinema advertising company with their head office in Australia. I have developed their site in cocoon2 and they are currently updating all their international content to be served

Download Server - directory access denied

2002-08-19 Thread Matthew Hailstone
I am trying to create a download server. ;) Here is the pipeline fragment and the error page: Environment: Win2K Tomcat 4.1.3 Cocoon 2.0.3 jdk 1.3.1_03 pipeline: !-- Download Server -- map:pipeline map:match pattern=download map:act type=request map:parameter

AW: Download Server - directory access denied

2002-08-19 Thread Tammo van Lessen
Hi Matthew! | Von: Matthew Hailstone [mailto:[EMAIL PROTECTED]] [...] | pipeline: | | !-- Download Server -- | map:pipeline | map:match pattern=download | map:act type=request | map:parameter name=parameters value=true/ | map:act

Re: Download Server - directory access denied

2002-08-19 Thread Vadim Gritsenko
Matthew Hailstone wrote: I am trying to create a download server. ;) Here is the pipeline fragment and the error page: Environment: Win2K Tomcat 4.1.3 Cocoon 2.0.3 jdk 1.3.1_03 pipeline: !-- Download Server -- map:pipeline map:match pattern=download map:act type=request

Internal server error

2002-08-19 Thread Hassan Abolhassani
On JDK1.3/Tomcat 4/Cocoon 2.0.3 I receive following error for some pages: Can anybody tell me what might be wrong and how I can resolve it. Hassan Abolhassani -- Error: 500 Location: ... Internal Servlet Error: java.lang.IllegalStateException: can't reset buffer after writing to client

Re: Packaging a cocoon web application

2002-08-19 Thread Vadim Gritsenko
Per Kreipke wrote: Vadim There are provisions in build.xml to add parts into sitemap and cocoon.xconf files. Just see any of the *.xpipe, *.xconf, *.xmap files throughout the src/ directory. Add your own files, they will be picked up by build process. I've noticed those and wondered

RE: Packaging a cocoon web application

2002-08-19 Thread Per Kreipke
There are provisions in build.xml to add parts into sitemap and cocoon.xconf files. Just see any of the *.xpipe, *.xconf, *.xmap files throughout the src/ directory. Add your own files, they will be picked up by build process. I've noticed those and wondered where/how the right place

Weird characters ESQL + XSP - URL

2002-08-19 Thread Jan Willem Penterman
In an xsp sheet I merge two strings to what's to become an URL attribute in a href: .. xsp:logic String path=xsp-request:get-parameter name=path/; .. /xsp:logic .. .. esql:row-results category

Re: Weird characters ESQL + XSP - URL

2002-08-19 Thread Antonio Gallardo Rivera
Jan: I had the same problem before, please check how you are sending the parameter in the page where you create the parameter that you send to this page. I guess you are sending the parameter with the \n from this page. Antonio Gallardo El Lunes, 19 de Agosto de 2002 22:38, Jan Willem

Re: clearing all caches

2002-08-19 Thread yuryx
Try using TreeProcessor instead synchron method . In the cocoon.xconf: sitemap class=org.apache.cocoon.components.treeprocessor.TreeProcessor logger=sitemap/ I'm using this configuration... And so ok for me :) Yury. Antonio Gallardo Rivera wrote: Hi Vaskin: To resolve your problem you

RE: Common practice: how to keep links to html-trees consistent

2002-08-19 Thread Koen Pellegrims
Yeah, maybe I should have mentioned that the site is mounted, so /index.html doesn't solve the problem, as I need it to be /mount/site/index.html But the solution with the parameter into the stylesheet seems pretty simple and straightforward. The solution with a separate file to contain the menu

Re: Error no connections in the pool with mySQL? [Solved]

2002-08-19 Thread Derek Hohls
Thanks! Tried this - and it worked. (ie. the names of the classes ARE case-sensitive!) [EMAIL PROTECTED] 16/08/2002 02:12:20 --org.gjt.mm.mySQL.Driver I define mine as org.gjt.mm.mysql.Driver instead... __ Do You Yahoo!? HotJobs