Vadim Gritsenko wrote:
From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]
Hi,
I can't get rid off the DTD declaration written on top of the HTML
pages
created with a default serializer :
map:serializers default=html
map:serializer name=html mime-type=text/html; charset
ISO-8859-1
hi,
I am a newbie to use cocoon,and get a question.
I use cocoon 2.1 and tomcat 4.0.4 beta3.
when i type
http://localhost:8080/cocoon, it's
right.
but when i copy the "hello world" sample
from "$CATALINA_HOME/webapps/cocoon/sample/hello-world"
-Message d'origine-
De: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
Date: jeudi 20 juin 2002 11:55
รก: '[EMAIL PROTECTED]'
Objet: RE: Cocoon 2.0.3 + Jbuilder ?
I don't think that the problem comes from the content of the web.xml.
As I've told aready, I usually solve this problem by
[please, use plain text in your posts]
Thought I do not have 2.1 here, I think that the problem is that every
directory in 'samples' is auto-mounted by the sitemap (this mean that every
request that start with samples/xxx are handled by the sitemap in
samples/xxx.)
Read the doc (or comments in
leo leonid wrote:
yes, or add the label to the map:aggregate element, this will work, too.
Unfortunately, it does not :(. I'll try to come up with a self-contained
sample later.
Ugo
--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100
Hi I am awfully new to Cocoon.. It took me 1 day to setup the TomCat Servlet
4.0.3 properly. Now i run into the problem for Cocoon.
I am currently using cocoon 2.0.2. I tried to connect to
http://localhost:8080/cocoon but it keep throwing me this whole
chunk of error.
I tried it but I still get the same error. What about JSP file? is it
valid JSP that returns XML? I'm not sure. Interesting point is
Cocoon's own JSP Generator examples run correctly. Here is my JSP:
%@ page contentType=text/xml %
?xml version=1.0?
page
title
%
out.println(With help from
Cenk Uysal wrote:
I tried it but I still get the same error. What about JSP file? is it
valid JSP that returns XML? I'm not sure. Interesting point is
Cocoon's own JSP Generator examples run correctly. Here is my JSP:
try %@ page language=java %
instead of
%@ page contentType=text/xml %
-Original Message-
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: JspGenerator Problem
I tried it but I still get the same error. What about JSP file? is it
valid JSP that returns XML? I'm not sure.
Nothing changed. Same error again. Can you try them in your system
for me? I want to learn is it my fault or Cocoon's fault?
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
Nothing changed. Same error again. Can you try them in your system
for me? I want to learn is it my fault or Cocoon's fault?
If this was addressed to me, then yes, send your page.
Konstantin
__
On Monday, June 24, 2002, at 03:09 AM, Jack Dong wrote:
by the way, what mean like {1}.rdf ,{2}.rdf?
Please take a moment to read:
http://xml.apache.org/cocoon/userdocs/matchers/matchers.html
http://xml.apache.org/cocoon/userdocs/concepts/matchers_selectors.html
If you are still
I tried JSPreader but now error is much more interesting. It returns
nothing. My sitemap entry is:
map:pipeline
map:match pattern=*.*
map:read mime-type=text/html src=/welcome.jsp type=jsp/
/map:match
/map:pipeline
Here the welcome.jsp is the Cocoon's own example for
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
I tried JSPreader but now error is much more interesting. It returns
nothing. My sitemap entry is:
Have you looked at the log? Is there any relevant information? What do you
really get: 404 error or a blank page?
map:pipeline
Hello Cocooners,
I have a simple problem filling the values of my form fields.
As it seems to be rather common and oft occuring problem i hope somebody knows a
solution.
I have a form described in XML file test.xml (used with Stylebook
Stylesheets) :
---
form name=testform
Text:text
From: Andrei Svirida [mailto:[EMAIL PROTECTED]]
Hello Cocooners,
I have a simple problem filling the values of my form fields.
As it seems to be rather common and oft occuring problem i
hope somebody knows a solution.
Take a look at the XMLForm. It solves this kind of problems, such
I found out the problem. I use a subsitemap and so my files are in a
folder like Cocoon_Home/myfolder
In the subsitemap, you have to enter full path of JSP file in
generator source. For example if there is a xxx.xsl file in myfolder,
in subsitemap only giving the name of file for XSL source is
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
I found out the problem. I use a subsitemap and so my files are in a
folder like Cocoon_Home/myfolder
You should have said that earlier. Seems that you've hit a known problem in
JSP(Generator | Reader).
In the subsitemap, you have to enter
Nested queries work well, but here, I tried to add a second one, and after
many (useless) tries, I'm suspecting that the SQL-transformer doesn't
support more than one nested query at once? Below is the query structure,
it works fine if I comment out either one of the nested queries. Trying to
I have switched to an out of the box cocoon 1,8 that coomes with SuSE 8.0
and I get:
java.lang.RuntimeException: Error loading logicsheet at
resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to
java.lang.Exception: Resource not found or retrieving error.
Now I am sure that
Hello Peter, and everyone,
In the message linked below, you respond to another user with a very
similar problem to mine.
http://www.mail-archive.com/cocoon-users%40xml.apache.org/msg12493.html
I am using JDK 1.4.0, Tomcat 4.0.4, and Cocoon 2.0.2. I do not have X
installed, and my
On Monday 24 June 2002 01:27 pm, Ryan Hoegg wrote:
I am using JDK 1.4.0, Tomcat 4.0.4, and Cocoon 2.0.2. I do not have X
installed, and my CATALINA_OPTS environment variable is
'-Djava.awt.headless=true'. After building from source, I get errors
trying to load the default Cocoon2 site. The
I'm looking a Best Practice suggestion.
In our sitemap, we get XML from another machine (e.g. backend server) like
this:
map:generate src=http://dataserver.onclave.com:1234/bin/get?foo; /
However, developers need to point to their local machine. E.g.:
map:generate
P.s.
- in Cocoon, does something already exist to get set sitemap
parameters from somewhere 'global' (hopefully from the init params)?
Or perhaps to/from the servlet context?
Per
-
Please check that your question has not
Watch out for the JDBC problems under jdk1.4 as well :)
Ryan Hoegg wrote:
Hello Peter, and everyone,
In the message linked below, you respond to another user with a very
similar problem to mine.
http://www.mail-archive.com/cocoon-users%40xml.apache.org/msg12493.html
I am using JDK
Roger Ting wrote:
Hi I am awfully new to Cocoon.. It took me 1 day to setup the TomCat
Servlet 4.0.3 properly. Now i run into the problem for Cocoon.
Tomcat 4.0.3 has classloader problems. It is recommended
to use 4.0.4, now that it's out. If you have to stay with
4.0.3, read carefully the
Title: xsp: pb with snapshots versions ?
Hi !!
I tried some snapshots versions of Cocoon2[.1-dev] : 2002.06.24.041712, 21.102726, 20.103348. Every time, the xsp samples don't work (esql neither).
Where does it come from ? Is there something I forgot ?
I used Tomcat 4.0.3 and JDK
I think I know the answer, but is there any way to construct dynamic
queries using SQLTransformer? Specifically, I'd like to build the where
clause of my query using either a session attribute or a sitemap
parameter. I've been thru the code and don't see that it can be done,
but I thought I'd
I appreciate the quick and thoughtful response, Pete. I changed
cocoon.xconf to use an interpreted sitemap, and succeeded only in making
a change in the error received. It still is asking for libXp.so, but is
now buried in other errors.
I captured the error from my development server and
Lajos,
the substitution in SQL Transformer uses parameters defined in the sitemap,
which don't fit your bill I presume...
...but, being it a transformer, you can feed it any SQL you have built from
whatever source (XSL, XSP, plain XML file, ...), including any parameters of
your choice.
This is
On Monday 24 June 2002 04:24 pm, Ryan Hoegg wrote:
I appreciate the quick and thoughtful response, Pete. I changed
cocoon.xconf to use an interpreted sitemap, and succeeded only in making
a change in the error received. It still is asking for libXp.so, but is
now buried in other errors.
I
Hi Luca -
I agree that the SPs are the way to go - when I was a DBA, I used to
enforce their use all the time. What I was after here was to include
sitemap/request/session parameters into the XML file during the
generation phase, so that the complete query would be passed to the
transformer.
-Original Message-
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: RE: Getting parameters to SQLTransformer
What I would suggest is the use of stored procedures, with an
XSL building
the statement, hence:
can
Argyn,
here's a snippet of a stylesheet (let's pretend name-clean contains the given
parameter, be it a session, request or static
parameter), which dynamically builds a stored procedure invokation for SQLTransformer
to execute:
xsl:element name=sql:execute-query
xsl:element
Thanks for the idea, seems obvious once someone points it out :)
Well, although I wanted to avoid installing the X libraries as this
server has no other need for them, I went ahead and did it. Lo and
behold, the error went away, and another was quick to replace it:
Hello, folks.
How can I pass a parameter specified on the sitemap to a XSP (and, possibly,
a logicsheet)?
I was thinking something like this:
map:match pattern=test-*.html
map:generate src=doc/test.xml type=serverpages
map:parameter name=test value={1}/
/map:generate
map:transform
Hi Fabricio,
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102266350403912w=2
Hope this helps.
Kenny
--- Fabricio Chalub [EMAIL PROTECTED] wrote:
Hello, folks.
How can I pass a parameter specified on the sitemap
to a XSP (and, possibly,
a logicsheet)?
I was thinking something like
http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html
Piroumian Konstantin wrote:
From: Andrei Svirida [mailto:[EMAIL PROTECTED]]
Hello Cocooners,
I have a simple problem filling the values of my form fields.
As it seems to be rather common and oft occuring problem i
Hello
I have the below statements for using name space in my xsl file.
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format;
I am trying to generate a pdf file from Formating object which has been
generated using saxon-6.3.
Hi Bruce,
thanks for reporting this - it should be fixed now in the latest
CVS.
The profiling pipeline is currently not able to profile a map:read.
Carsten
Carsten Ziegeler Chief Architect Open Source Group, SN AG
--
40 matches
Mail list logo