Hi,
What is {2} in this case? It seems that you can use {1} because there is one *
only.
Roman
Per Kreipke wrote:
This is a two part question.
- If I call another pipeline with an XSP file using the cocoon: protocol, it
doesn't seem as if the caller's sitemap parameters are available to
I'm trying to access a Basis Plus database using their JDBC driver.
It looks like the connection opens correctly, but then I get 500 internal
error from Cocoon, and the following messages in the tomcat logs:
java.lang.AbstractMethodError
at
hello
I am currentyl trying to find out if Axkit or cocoon is better suited for
my problems.
I am a newbie to cocoon but what I have seen so far looks great.
we want to build a huge web application with lot's of XSLT ans XSP stuff.
we will have thousand of XSLT transformation on every server
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
From: Morrison, John [mailto:[EMAIL PROTECTED]]
I'm trying to use the header selector, but I keep dropping through
to the default (jpeg). Does anybody have a clue what I'm missing/
doing wrong? The {1} and {2} files exist I just keep
Andre Cusson wrote:
Hi,
Can an XSLT transformer load multiple xml files to integrate with the SAX
flow it is receiving (ex: by using document('???') ?
Can an XSLT transformer generate multiple SAX flows (ex: for different
sub-pipelines), for example by using xsl:document href=???/ ?
On Tuesday 18 June 2002 10:33, Bertrand Delacretaz wrote:
. . .
It looks like the connection opens correctly, but then I get 500 internal
error from Cocoon, and the following messages in the tomcat logs:
java.lang.AbstractMethodError
at
A workaround for that problem is that you set a new cookie. Not realy clean,
but working solution:
insert
Cookie cookie = new Cookie(JSESSIONID,
request.getSession().getId());
cookie.setPath(/whereever-you-want/dir/);
cookie.setDomain(mydomain.com);
Title: RE: cocoon or Axkit?
Try running the very same test with SAX based transformation.
-Original Message-
From: markus jais [mailto:[EMAIL PROTECTED]]
Sent: 18 June 2002 11:09
To: [EMAIL PROTECTED]
Subject: cocoon or Axkit?
hello
I am currentyl trying to find out if Axkit or
There is a really good article on www.ibm/developerworks/ called introduction to
cocoon 2. It explains the whole sitemap concept in detail.
John Moylan
-
Please check that your question has not already been answered in the
Hi,
I have a clean 2.0.3 CVS from yesterday morning (8:00 am Paris time), clean
build, and I can't get the CastorTransformer to work. Each of my tryings
(and cocoon/mount/castor/) return a blank page (containing only 1 space
char) with correct mime type.
If I use no castor:... tag in the input
A quick question: did you use the 'installscratchpadwar' target for the
build? CastorTransformer is in the scratchpad still, so you'll need to use
this target to get it included to the webapp.
--
Konstantin Piroumian
[EMAIL PROTECTED]
-Original Message-
From: TREGAN Fabien
A quick question: did you use the 'installscratchpadwar' target for the
build? CastorTransformer is in the scratchpad still, so you'll
need to use
this target to get it included to the webapp.
I did :)
The /castor/ directory appear when I acces cocoon/mount/, the the xmap,
test.xml and
I haven't seen any examples; but I have been able to use inner classes
within XSP's with no problem.
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 5:08 AM
To: '[EMAIL PROTECTED]'
Subject: XSP with inner classes.
Are there examples
So what happens when you have branching rules.
Depending on what was selected in a, go to be or jump straight to c?
Graaf, Edgar de (fin) wrote:
That just to test it.
it would have been better if I wrote something like:
'page1,page2,page3'
It is a sequence of pages. The flowshow.html
From: Andre Cusson [mailto:[EMAIL PROTECTED]]
Hi,
Does this mean that a pipeline can only transform/produce a single
output
file/page per invocation ?
Usually - yes. See SourceWritingTransfomer (somewhere in the scratchpad)
for the unusual.
Can sub-pipelines be used to generate
ROSSEL Olivier wrote:
Are there examples of XSP with inner classes in Cocoon samples?
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Are there examples of XSP with inner classes in Cocoon samples?
xsp:page
xsp:logic
// Inner class goes here
/xsp:logic
page
titleXSP with inner class/title
/page
/xsp:logic
Vadim
From: markus jais [mailto:[EMAIL PROTECTED]]
hello
I am currentyl trying to find out if Axkit or cocoon is better suited
for
my problems.
I am a newbie to cocoon but what I have seen so far looks great.
we want to build a huge web application with lot's of XSLT ans XSP
stuff.
we
So what happens when you have branching rules.
Depending on what was selected in a, go to be or jump straight to c?
I don't know exactly what you mean. First of all you don't have to use the
command next. You can use jump(2)
a b c
0 1 2
to jump right away to c.
(I still have to test this
From: Morrison, John [mailto:[EMAIL PROTECTED]]
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
From: Morrison, John [mailto:[EMAIL PROTECTED]]
I'm trying to use the header selector, but I keep dropping through
to the default (jpeg). Does anybody have a clue what I'm missing/
Thanks for the response. Unfortunately, constructing a new cookie
doesn't seem to do it. I now have two JSESSIONID cookies. I think the
problem is that I'm somehow not intercepting the right one. Could it be
that I'm not using the right web.xml? The cookie's getting in there
somehow, there
One other information that may help anyone who'd try to help me :
When I change the tes.xml file from the sample and replace Mouse by
MouseX, the following message appear in core.log :
DEBUG (2002-06-18) 14:55.35:107 [core.manager]
(/c203/mount/castor/bolobolo)
SANSONE, AARON M [AG-Contractor/1000] wrote:
We are using a build of Cocoon from early March. We connect to an Oracle
database and have specified the connection pooling to use a minimum of 5
connections and a max of 10 connections. What we are seeing, is that our
number of connections to
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
From: Morrison, John [mailto:[EMAIL PROTECTED]]
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
From: Morrison, John [mailto:[EMAIL PROTECTED]]
I'm trying to use the header selector, but I keep
dropping through
to the
On Tuesday 18 June 2002 05:08 am, markus jais wrote:
does anybody have experiece with both Axkit and cocoon?
I used AxKit around with 1.0 was just released. The biggest thing, are you
more comfortable in perl or java?
-pete
--
peter royal - [EMAIL PROTECTED]
- If I call another pipeline with an XSP file using the cocoon:
protocol, it
doesn't seem as if the caller's sitemap parameters are available to
any XSP
_sitemap_ parameters are not available to _any_ XSP. Only parameters
declared _on_ generator/transformer/action/matcher/selector are
From: Per Kreipke [mailto:[EMAIL PROTECTED]]
- If I call another pipeline with an XSP file using the cocoon:
protocol, it
doesn't seem as if the caller's sitemap parameters are available
to any XSP
_sitemap_ parameters are not available to _any_ XSP. Only parameters
declared
Hello Sylvain,
All our xml is dynamic - infact, no validation is done on the
presentation layer at all - it's all delegated to the middleware (SLSB).
Briefly, here it how it works (I must write a FAQ for the Cocoon site
about this):
For every page in the sitemap, there are several actions
- If I call another pipeline with an XSP file using the cocoon:
protocol, it
doesn't seem as if the caller's sitemap parameters are available
to any XSP
_sitemap_ parameters are not available to _any_ XSP. Only parameters
declared _on_
Does cinclude work with xpointer, I am trying to do something like:
cinclude:include src=cocoon:/directory.xml#xpointer((//NewsLines/HeadLine)/
But I am only getting directory.xml as output. I am trying to include only a section
of the origional directory.xml which is sitemap
We are playing with Cocoon's performance tests. Here's some results, if u r
interested.
We run everything on my dual Pentium III, 1.4 Ghz, 2Gb RAM. Cocoon 2.0.3,
WebLogic 6.1sp2, under Sun jdk1.3.1 hotspot.
I'm generating a PDF document in three steps: generation XSP+ESQL,
transformation
Can anyone enlighten me as to how I can fix the following Exception?
We are trying to run and duplicate some of the examples and are recieving
this.
Thanks,
Adam
- Forwarded by Adam Waldal/SHV/eFunds on 06/18/02 10:37 AM -
Hi,
we are using Cocoon 2.0.2. Using the following entry in the sitemap
map:match pattern=winfo/
map:generate src=/home/vorms/website/mathml/math_test.xml/
map:transform src=/home/vorms/website/mathml/page2html.xsl/
map:serialize
encodingISO-8859-1/encoding
This is more of an Apache question than a Cocoon question, but
hopefully someone will know what I'm doing wrong here.
Setup: SPARC Solaris 2.7, Apache 1.3.24 w/mod_webapp (Warp), and Tomcat 4.0.1
Goal: Eliminate cocoon from the URL
Constraints: Want all my custom content (XML, stylesheets,
Why not do this in $CATALINA_HOME/conf/server.xml:
Context path= docBase=cocoon
debug=0 reloadable=true/
Regards,
Lajos
Robert Bourdeau wrote:
This is more of an Apache question than a Cocoon question, but
hopefully someone will know what I'm doing wrong here.
Setup: SPARC Solaris
Ok, I checked around and changed the default pipeline type from caching to
noncaching. Now if I select refresh from the browser, it changes the png
like it should. The problem I have now is that it only does it when I click
refresh. For example, I have a document that has 2 links to the same path
Hi all,
I'm having problems passing an xsl variable as a parameter to esql.
1 - I am defining a column name as a variable called col1.
2 - I want to use this variable as the column value in the
esql:get-string tag.
This is not working, producing a language exception
xsl:variable name=col1
Lajos,
OTOH, the adding of this context will make the Tomcat doc and Tomcat home
page unreacheable.
There are ways around it (like the adding of /root and /tomcat-docs
contexts),
but replacing the default Tomcat behaviour doesn't seem to me such a good
idea; though, it may be just fine for a
Hello,
I have the impression that the sitemap variable given as mime-type parameter to reader
is not correctly expanded. At least my browser tries to open an application with
mime-type ../docformat (cocoon2.0.1). As soon as I put the same variable into the
src parameter, it is expanded
True, you are building stuff right out of the box and don't want to make
configuration changes that might be overwritten when you reinstall or
upgrade components. However, for production purposes, the Tomcat home
and docs pages are oftentimes superfluous (just like Cocoon examples,
Apache
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Lajos,
OTOH, the adding of this context will make the Tomcat doc and Tomcat
home
page unreacheable.
$TOMCAT_HOME/bin/shutdown
cd $TOMCAT_HOME/webapps
mv ROOT tomcat
mv cocoon ROOT
$TOMCAT_HOME/bin/startup
:)
There are ways around it
From: John Moylan [mailto:[EMAIL PROTECTED]]
Does cinclude work with xpointer, I am trying to do something like:
cinclude:include
src=cocoon:/directory.xml#xpointer((//NewsLines/HeadLine)/
No.
Btw, what's in the docs?
Vadim
But I am only getting directory.xml as output. I am
-1. Why keep ugly and less performing solution while others exist?
because I don't like altering the behaviour of Tomcat, messing
around with its own servlets: I may not be the only one using
Tomcat on that machine :(
Best regards,
From: System Administrator [mailto:[EMAIL PROTECTED]]
Hi all,
I'm having problems passing an xsl variable as a parameter to esql.
What are you trying to do - create a logicsheet or write an XSP page?
Vadim
1 - I am defining a column name as a variable called col1.
2 - I want to use
(Correct me if I'm wrong...) An xsp file is not an xslt stylesheet; xsl
commands won't work in an xsp.
Steve
-Original Message-
From: System Administrator [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: Pass a xsl variable as a esql
This is more of an Apache question than a Cocoon question, but
hopefully someone will know what I'm doing wrong here.
Setup: SPARC Solaris 2.7, Apache 1.3.24 w/mod_webapp (Warp), and Tomcat 4.0.1
Goal: Eliminate cocoon from the URL
Constraints: Want all my custom content (XML,
From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
Hello,
I have the impression that the sitemap variable given as mime-type
parameter
to reader is not correctly expanded. At least my browser tries to open
an
application with mime-type ../docformat (cocoon2.0.1). As soon as I
put the
same
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
-1. Why keep ugly and less performing solution while others exist?
because I don't like altering the behaviour of Tomcat, messing
around with its own servlets: I may not be the only one using
Tomcat on that machine :(
Then, I
This is inside a logicsheet.
I have a database configuration xml schema.
I am attempting to create an xsp page from the
database xml, which will perform database actions on
the fields defined in the xml.
On creating the xsp page, I have defined table tags.
On executing the xsp page, I
Title: session transformer
Hi gurus,
I have been enjoying the session transformer and source writing transformer a lot lately, very intuitive.
But there is one problem that I don't seem to be able to figure out. Following the example on forms 'the session framework approach' I don't get
Hi
I´m not sure if you can set the encoding in the map:serialize tag. AFAIK you
have to set it in the map:serializeR tag.
example:
map:components
...
map:serializers
...
map:serializer type=html...
encodingISO-8859-1/encoding
/map:serializer
..
/map:serializers
...
Vadim,
just for the sake of a nice discussion about best practices in
software development...
1) First thing I do starting a development is to set up a
development environment equal to the production one: I don't want
nasty suprises down the line
2) I don't like messing up the baae packages
Hi,
Thanks for your help again.
We have both interactive and batch publishing requirements.
I currently feel that Cocoon addresses well the interactive publishing part.
My feeling is also that batch publishing through Cocoon now is probably
inefficient.
What do you think (how wrong am I) ?
Is
On Tuesday 18 June 2002 22:10, Andre Cusson wrote:
. . .
How about things like regenerating (ex: bacground) 5 compound documents of
about 1000 pages each to pdf and html, for example, or generating 5 pdf
and html paychecks or invoices, each with a (pdf) labeled envelop ?
If you're talking
From: Andre Cusson [mailto:[EMAIL PROTECTED]]
Hi,
Thanks for your help again.
We have both interactive and batch publishing requirements.
I currently feel that Cocoon addresses well the interactive publishing
part.
Yes.
My feeling is also that batch publishing through Cocoon now is
I found that PDF is faster with XSLT XALAN processor when
parameter name=incremental-processing value=false/
Can I have the same XSLT processor with fifferent options for different
pipelimes?
Argyn
-
Please check that
Hi All,
I am converting an application from C1 to C2.
I had a working XSP file with this code snippet:
?xml version=1.0?
?cocoon-process type=xsp?
?cocoon-process type=xslt?
?xml-stylesheet href=gs.xsl type=text/xsl?
xsp:page language=java xmlns:xsp=http://www.apache.org/1999/XSP/Core;
From: System Administrator [mailto:[EMAIL PROTECTED]]
This is inside a logicsheet.
I won't recommend using construct like
esql:get-string column={$col1} /
Must be something like:
esql:get-string
esql:param
name=columnxsp:logicsColumnName/xsp:logic/esql:param
/esql:get-string
I tried to deploy cocoon on weblogic 6.1 sp2 but got
the following error message:
*
Cocoon 2 - Internal server error
type internal-server-error
message Language Exception
description
I am trying to write a logicsheet.
Graeme.
--- Vadim Gritsenko [EMAIL PROTECTED]
wrote: From: System Administrator
[mailto:[EMAIL PROTECTED]]
Hi all,
I'm having problems passing an xsl variable as a
parameter to esql.
What are you trying to do - create a logicsheet or
write
After closer inspection, I noticed that with the original code (as
outlined below), the first visit to the page gets me one JSESSIONID
cookie with a path of /cocoon. As soon as I begin to browse around on
the site, the request object passed into the filter now has a JSESSIONID
cookie, and the
From: Michael Mangeng [mailto:[EMAIL PROTECTED]]
Hi
I´m not sure if you can set the encoding in the map:serialize tag.
AFAIK you
have to set it in the map:serializeR tag.
You are completely right on this one.
1) Serializers do not have local configuration (invocation-time
Title: Message
I can't see what I'm
doing wrong in the xsp file. The error logs aren't helping me see it
either.
Any suggestions? I'm
having a real hard time understanding the documentation. It probably
shows.
Matthew
From the form.xsp
file:
...
form
xsp:logic String
From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
I found that PDF is faster with XSLT XALAN processor when
parameter name=incremental-processing value=false/
Can I have the same XSLT processor with fifferent options for
different
pipelimes?
Yes.
__For Cocoon 2.0.3 Only__:
Add
what happens at the offending line, GSLoginAction.java:46?
Liam Morley
gorillacommunications wrote:
Hi All,
I am converting an application from C1 to C2.
I had a working XSP file with this code snippet:
?xml version=1.0?
?cocoon-process type=xsp?
?cocoon-process type=xslt?
?xml-stylesheet
Hi,
Looks like class loading issue. My bet is that your library is not in
the cocoon/WEB-INF/lib. If I'm right, you avoid this issue by moving
your library there.
Vadim
From: gorillacommunications [mailto:[EMAIL PROTECTED]]
Hi All,
I am converting an application from C1 to C2.
I
there's no component element in cocoon.xconf coming with C2.0.3 from CVS.
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 6:16 PM
To: [EMAIL PROTECTED]
Subject: RE: XSLT processor with different options
__For Cocoon 2.0.3 Only__:
please look through the server logs at WEB-INF/logs/; more information
should be found there (in fact, it's impossible to offer assistance from
the exception below, as it's probably the most common Cocoon bug display
and covers a wide variety of issues). In addition, please have a look at
the
Get patches to weblogic's bugs. See user list archive for details, can't
recall it now.
Vadim
From: Ai Li [mailto:[EMAIL PROTECTED]]
I tried to deploy cocoon on weblogic 6.1 sp2 but got
the following error message:
*
Cocoon 2 - Internal server error
Forgot. I'm using Cocoon 2.1-dev with Tomcat 4.1.3
and I replied using plain text. :)
Matthew
-Original Message-
From: Matthew Hailstone
Sent: Tuesday, June 18, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: Error compiling form_xsp.java file
I can't see what I'm doing wrong in the xsp
From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
there's no component element in cocoon.xconf coming with C2.0.3 from
CVS.
So what? Add it, and it will be there.
Vadim
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 6:16 PM
From: Matthew Hailstone [mailto:[EMAIL PROTECTED]]
Forgot. I'm using Cocoon 2.1-dev with Tomcat 4.1.3
and I replied using plain text. :)
:)
Does session.xsp test work for you?
Also, looks to me that XSP snippet does not match code. Is it wrong
snippet?
Java Code:
)
==
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
there's no component element in cocoon.xconf coming with C2.0.3
from
CVS.
So what? Add it, and it will be there.
PS: To those who want to understand it: I hope configuration file format
Sorry Liam,
I was a bit too hasty in cut and paste.
This is the entire error that happens at the offending line,
GSLoginAction.java:46.KGParse kgParse = new KGParse();
KGParse is extended from
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
I'm sorry, what I meant was, what happens in the code? It looks like you
posted the first 15 lines of your GSLoginAction class, but I was curious
what was happening at line 46 and thus throwing the exception.
Liam
gorillacommunications wrote:
Sorry Liam,
I was a bit too hasty in cut and
75 matches
Mail list logo