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')]
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
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
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;
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
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
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;
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'?
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
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
-
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:
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
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
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...
...
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
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
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:
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
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
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
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.
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
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
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
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
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
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
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
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
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,
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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:
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
63 matches
Mail list logo