Getting started with Cocoon:
http://www.xml.com/pub/a/2002/07/10/cocoon2.html
State-of-the-art: Cocoon 2 is leading-edge. Technology-wise your project
will be very well suited for moving forward in the 21st century, instead of
rooted in older paradigms
Matthew
--
Open Source Group
Hello,
If you deploy an Enterprise ARchive (.ear, containing the cocoon.war) you have to add
a web context in the deploy conf. file application.xml called cocoon.
Sylvain
-Message d'origine-
De: Artur Bialecki [mailto:[EMAIL PROTECTED]]
Date: mardi, 9. juillet 2002 17:46
À: [EMAIL
Hi all,
I'm trying to figure out how to build an
internationalised web site.I've read the documentation
on Cocoon I18n and looked at the samples. I
understand how its dictionary approach works for
lables, messages and instructional copy, however I
don't understand how I would use it if I have
Dear colleagues,
on Windows NT with WebSphere Application Deveolper 4.0.2 we have our
application working. When we deploy it to a Solaris machine we have the
effect, that i18n seems to work (the log files told us so) but there isn't a
really translation on the screen. We see the keys instead of
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Dear colleagues,
on Windows NT with WebSphere Application Deveolper 4.0.2 we have our
application working. When we deploy it to a Solaris machine
we have the
effect, that i18n seems to work (the log files told us so)
but there isn't
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Hi all -
I've seen several rather frustrated posts from users trying to figure
out how to make JspReader and/or JspGenerator work in Cocoon
2.0.2. This
email describes how.
JspReader
Edit
Hello,
I have a pipeline error when I try to access to the Cocoon samples:
The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that
org.apache.cocoon.ProcessingException says:
Failed to execute pipeline.
More precisely:
org.apache.cocoon.ProcessingException: Failed
Can anyone give me instructions on profiling with the current CVs
Version?
Michael
-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 10. Juli 2002 06:08
An: [EMAIL PROTECTED]
Betreff: RE: Profiling
From: Michael Zehrer [mailto:[EMAIL
Sorry, I missed Reinhard Poetz [[EMAIL PROTECTED]] Mail, which is
indeed very detailed.
Michael
-Ursprüngliche Nachricht-
Von: Michael Zehrer
Gesendet: Donnerstag, 11. Juli 2002 12:37
An: [EMAIL PROTECTED]
Betreff: Profiling anyone?
Can anyone give me instructions on profiling with
Hi Konstantin,
thanks for your reply. We're using Cocoon 2.0.2.
Unfortunately we can find the key in the catalog file. Is it possible that
it's a problem with the character set?
On both machines we are using UTF-8. With Windows 2000 it works fine, but
not with Solaris.
Best regards
- Volker -
That works perfectly, these directions should go to the documentation!
Thank you Reinhard! Thanks to anyone involved for the profiling
implementation, it's really usefull.
Michael
-Ursprüngliche Nachricht-
Von: Reinhard Poetz [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 10. Juli 2002
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Hi Konstantin,
thanks for your reply. We're using Cocoon 2.0.2.
Unfortunately we can find the key in the catalog file. Is it
possible that
it's a problem with the character set?
I don't think so. There must be no problems with
Hi Konstantin,
by the way:
What features does i18n provide for translation of date and time and so on?
Thank you, best regards
- Volker -
-Original Message-
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 11. Juli 2002 13:16
To: '[EMAIL PROTECTED]'
Subject: RE:
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Hi Konstantin,
by the way:
What features does i18n provide for translation of date and
time and so on?
It supports most of the JDK features for date/time and number formatting.
See the document about i18n transformer (somewhere in
mmm, Ok, i've found WHY it did not want to work...
In my 2 weeks old CVS - HEAD (2.1), the CastorTransformer.Java file
contains
private static String
CASTOR_URI=http://castor.exolab.org/cocoontransfomer;;
(ie cocoontransfomer instead of expected cocoontransfomer)
I did not patch this
I don't use the cocoon.war, I define cocoon as one of the servlets within
my application and throw all cocoon related jars in my WEB-INF/lib.
Cocoon is working fine I just can't get to the status page using
/cocoon/status because of my mappings.
Someone mentioned a status generator which I'm
Hi all,
Sorry if this question appears twice. I tried to post it last night,
but I've not gotten my email so I assume no on
else did either.
I've got a number of pages that render relative links, but my
application's root is subject to change. I could set the
link base in every document but
What version of Tomcat is recommended with the latest Cocoon? If I go to
their release binaries for Tomcat 4.0.4, it lists a standard version and a
lightweight version that does not include any of the optional binaries or
an XML parser. It says that JDK 1.4 should come with its own XML parser.
Hi.
I'm trying to run cocoon on tomcat 4.0.4 but I get this error
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError:
org/apache/batik/dom/svg/ExtensibleSVGDOMImplementation
I checked, and I have that class in Cocoon's lib/.
What's wrong?
Thanks
From: David Vos [mailto:[EMAIL PROTECTED]]
What version of Tomcat is recommended with the latest Cocoon?
JDK1.3.1 + Tomcat 4.0.4 + Cocoon 2.0.2
Or:
JDK1.3.1 + Tomcat 4.0.4 + Cocoon 2.0.3-jvm13 release
JDK1.4 + Tomcat 4.0.4LE + Cocoon 2.0.3-jvm14 release
Cocoon 2.0.3 releases are due in
From: RamsÊs Morales [mailto:[EMAIL PROTECTED]]
Hi.
I'm trying to run cocoon on tomcat 4.0.4 but I get this error
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError:
org/apache/batik/dom/svg/ExtensibleSVGDOMImplementation
I checked, and I
Hi Konstantin,
Thanks for your help -- it makes sense. On that note,
do you happen to have any good patterns for modeling
I18nised data in both database and XML? I understand,
why you'd want to keep it in the DB, but I would also
like to exchange my data with other applicatons via
the XML.
On Thu, 11 Jul 2002, Vadim Gritsenko wrote:
JDK1.3.1 + Tomcat 4.0.4 + Cocoon 2.0.3-jvm13 release
JDK1.4 + Tomcat 4.0.4LE + Cocoon 2.0.3-jvm14 release
Cocoon 2.0.3 releases are due in several days from now.
Is there going to be a clean build available?
David
From: Alex Romayev [mailto:[EMAIL PROTECTED]]
Hi Konstantin,
Thanks for your help -- it makes sense. On that note,
do you happen to have any good patterns for modeling
I18nised data in both database and XML? I understand,
why you'd want to keep it in the DB, but I would also
like to
In C2.0.2, I use a pipeline that produce a XML encoded with UTF-8.
In this XML, I have one 'é' character that is coded as Ã* ...
After the HTML serializer , instead of having the 'é' again, I have
two characters coded as: Atilde;copy.
It seems that hte serializer realized missed the UTF-8
oooh, can I have my beer in a clean glass as well? ;-)
David Vos wrote:
On Thu, 11 Jul 2002, Vadim Gritsenko wrote:
JDK1.3.1 + Tomcat 4.0.4 + Cocoon 2.0.3-jvm13 release
JDK1.4 + Tomcat 4.0.4LE + Cocoon 2.0.3-jvm14 release
Cocoon 2.0.3 releases are due in several days from now.
Is
In this XML, I have one 'é' character that is coded as Ã* ...
^
Outlook ate my
copyright sign !!!
-
Please
Hi,
does
encodingUTF-8/encoding
help with html-serializer?
Best regards
- Volker -
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 11. Juli 2002 17:00
To: '[EMAIL PROTECTED]'
Subject: UTF-8 and HTML Serializer.
In C2.0.2, I use a pipeline that
where should i add this?
i tried to add it at map:serialize level.
but it did nothing:
map:serialize type=html
encodingutf-8/encoding
/map:serialize
may be it must be done at declaration time, at map:components level?
-Message d'origine-
De: Volker Schneider [mailto:[EMAIL
Thanks for the tip. It works great!
-Eric Dalquist
- Original Message -
From: Koen Pellegrims [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 2:21 PM
Subject: RE: QUESTION: Dynamic XSL
Your idea is not as far-fetched as you might think (I think there is a
sample
Hi
I am using Cocoon2 and Tomcat4.0
I am trying to use the request object in a logicsheet but it didn't work.
//-
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:xsp=http://apache.org/xsp;
where should i add this?
i tried to add it at map:serialize level.
but it did nothing:
map:serialize type=html
encodingutf-8/encoding
/map:serialize
may be it must be done at declaration time, at map:components level?
even at declaration time, it seems not to work.
can you look at the 'source' XML by serializing it with xml serializer,
instead of html?
what does it show?
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 11:00 AM
To: '[EMAIL PROTECTED]'
Subject: UTF-8 and HTML Serializer.
In
I'm wondering if I can use include-uri to include the output of an XSP in
another XSP. I can get it to work if I use the full path but I don't want to
do it this way unless I can use a relative path. The file is being included
in site_format.xsp which is used as a style sheet for index.xsp
Here
can you look at the 'source' XML by serializing it with xml
serializer,
instead of html?
what does it show?
well i think i got my problem.
the request generator accepts a parameter to force the encoding of data
retrieved.
i misued it by setting the wrong charset.
From: Orlando Antunes [mailto:[EMAIL PROTECTED]]
Hi
I am using Cocoon2 and Tomcat4.0
I am trying to use the request object in a logicsheet but it didn't
work.
//-
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
From: Eric Dalquist [mailto:[EMAIL PROTECTED]]
I'm wondering if I can use include-uri to include the output of an XSP
in
another XSP. I can get it to work if I use the full path but I don't
want to
do it this way unless I can use a relative path. The file is being
included
in
The Cocoon Project is working very hard to release 2.0.3 by Monday, July
15.
To meet this goal -- which clearly will benefit all users -- we need
some *specific* QA (quality assurance) input from the user community.
To help, here's what you need to do:
1. Update your local CVS repository to
On Thursday, July 11, 2002, at 11:18 AM, John Morrison wrote:
5. Test *all* samples. Hit each and every sample page from links
beginning at http://127.0.0.1:8080/cocoon/samples/
You're right, John. Going to ...cocoon/samples/ is incorrect. It goes to
a 2.0.2-dev
samples page. This was my
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
The Cocoon Project is working very hard to release 2.0.3 by
Monday, July
15.
To meet this goal -- which clearly will benefit all users -- we need
some *specific* QA (quality assurance) input from the user community.
To help, here's
Hi.
In my cocoon2 based application, queries in a xsp page using esql taglib are
executed ¡¡ two times !! although, of course, they are only written once.
It doesn't happen always, but happen.
I think it's related with the form-validator but I'm not sure. And I need the
form-validator.
Can
I have made 2 generators and I need to join the data from both.Is it
possible to do something like this? If it is, what's the syntax, if it isn't
is there other solution?
map:match pattern=test
map:whatever
map:generate type=generator_1 src=
map:generate type=generator_2 src=
Piroumian Konstantin wrote:
...
What if we provide a feedback form on the site for this?
The form can include all the needed fields (like in XMLForm example) and
have 'action=mailto:[EMAIL PROTECTED];'. This will make reporting a
little easier and uniform.
Ok, since you volunteer, go
Hi Joshua,
Did you perform the same test outside of cocoon? You should check how
long it actually takes for MySql to answer your query. If this is much
faster than those 130 ms, there might be a problem.
Also note that turning of debugging in Cocoon has given me a 10 times
speedup once.
The queries are definitely not taking 130ms outside of
cocoon.
What do you mean by turning off debugging? I've
changed the logging status to ERROR, and saw some
improvement. What did you turn off, and how did you do
so?
Thanks! :)
- Josh
--- Tom Klaasen [EMAIL PROTECTED] wrote:
Hi Joshua,
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
Piroumian Konstantin wrote:
...
What if we provide a feedback form on the site for this?
The form can include all the needed fields (like in XMLForm
example) and
have 'action=mailto:[EMAIL PROTECTED];'. This will
make reporting
On Thursday, July 11, 2002, at 12:34 PM, Piroumian Konstantin wrote:
On the way already.
Thanks!!
Not sure about the format of the page. Making it in document format is
unnecessary, isn't it?
No.
Diana
-
Please check
From: Diana Shannon [mailto:[EMAIL PROTECTED]]
On Thursday, July 11, 2002, at 12:34 PM, Piroumian Konstantin wrote:
On the way already.
Thanks!!
Not sure about the format of the page. Making it in
document format is
unnecessary, isn't it?
No.
And also document2html.xsl does
Hi all,
I'm new here and learning the ropes with cocoon.
Concerning the accented characters, I had the same trouble. But I used a
docToXml transformer and now everything is fine. I played aroud with
cocoon yesterday with french text.
Next step will be i18n.
I used Upcast, available at
I just tried using cocoon://nav_bar.xsp but it still didn't work. Looking in
the core.log I found the following message:
DEBUG (2002-07-11) 13:19.09:225 [core.url-factory](/cocoon/index.xsp)
Thread-6/URLFactoryImpl: Making URL from cocoon://nav_bar.xsp
DEBUG (2002-07-11) 13:19.09:225
Something along these lines might work:
map:match pattern=stuffA
map:generate type=generator_1 src=/
map:serialize type=xml /
/map:match
map:match pattern=stuffB
map:generate type=generator_2 src=/
map:serialize type=xml /
/map:match
map:match pattern=test
Stephen Peters wrote:
That work is actually being done, by a small team of people who've
been working with Ola (the original cocoon2 developer) for the last
few months. Stay tuned, it's being worked on.
Can you please pressure them to update that RFA bug with details of who to
contact to
Dear Friends,
My name is Josema Alonso and I'm from Spain. Please, excuse my english if
sometimes I do not write something properly, but I always try to do my best.
I'm a Cocoon newbie. Well, not so. I used version 1.8 for some time and
learned a lot with it. Now I've been following this list
I seem to have done everything right and was testing out the
SourceWritingTransformer and can't get it to write to a file. I have the
pipeline
map:match pattern=test/*.xsp
map:generate type =serverpages src=test/{1}.xsp/
map:transform type=sql
map:parameter
I seem to have done everything right and was testing out the
SourceWritingTransformer and can't get it to write to a file. I have the
pipeline
map:match pattern=test/*.xsp
map:generate type =serverpages src=test/{1}.xsp/
map:transform type=sql
map:parameter
just a guess, but I'd bet the yahoo example broke when they recently
launched their new site design. The xpath expression to find the headlines
in their html structure has most likely changed.
Geoff Howard
-Original Message-
From: Josema Alonso [mailto:[EMAIL PROTECTED]]
Sent:
Joshua McCulloch wrote:
The queries are definitely not taking 130ms outside of
cocoon.
Can you put numbers on this? How much does it take to do the same
queries in a simple java program? (setup connections, start timer,
execute queries, stop timer)
And on another note: does it also takes
I simply display an XML file containing the following tag
area1/area
This gives me (in the browser window) the error message (not in the usual
Cocoon error layout, but black on white):
-
XML parsing error
fatal parsing error: the document is not in the correct file format in
line
On Mon, 2002-07-08 at 17:40, Joshua McCulloch wrote:
Hello,
I've been looking at page generating times with the
profiler. I am finding that SQLTransoformer is taking
a huge amount of time to do what I consider simple
queries. For example, a page that has two minor
queries takes about
jdbc name=myhms-datasource
logger=core.datasources.myhms-datasource
pool-controller min=5 max=10/
dburljdbc:mysql://localhost/ccc/dburl
useraaa/user
passwordbbb/password
/jdbc
According to the datasource configuration in
cocoon.xconf, it should be pooling. The logs
(core.log) seem to say its
Hi.
Inside the xslt file called by the xslt transformer, on the sitemap, I
have one xsl:include. I'm trying to xsl:apply-templates
select=whatever/, but it is like the match isn't done.
I'm using Cocoon2.0.2, Tomcat4.0.4.
I used to do that with cocoon1 and always worked fine.
This is the
The problem description is a bit to imprecise. You should at least post
some XML and XSLT code. Or have a look into the log files, maybe an
error occured.
Joerg
Ramsés Morales wrote:
Hi.
Inside the xslt file called by the xslt transformer, on the sitemap, I
have one xsl:include. I'm
From: Eric Dalquist [mailto:[EMAIL PROTECTED]]
I just tried using cocoon://nav_bar.xsp but it still didn't work.
Looking in
the core.log I found the following message:
DEBUG (2002-07-11) 13:19.09:225
[core.url-factory](/cocoon/index.xsp)
Thread-6/URLFactoryImpl: Making URL from
I'll look into patching it if you could give me a little more of a path to
follow ... like an example that uses the source revolver or API doc to look
at.
-Eric Dalquist
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 11, 2002
From: Eric Dalquist [mailto:[EMAIL PROTECTED]]
I'll look into patching it if you could give me a little more of a
path to
follow ... like an example that uses the source revolver or API doc to
look
at.
You may look into XSPFormValidatorHelper.getConfiguration(...) method,
it uses resolver.
Thanks very much.
That solved the problem real quick :)
Cheers
Dan
Vadim Gritsenko wrote:
From: Dan Jones [mailto:[EMAIL PROTECTED]]
Hi
I'm a total newbie with cocoon and am getting this error when I try to
access
http://localhost/cocoon (I've set up Tomcat so I don't need to
Hi
Another newbie question, and probably a stupid one, but I find the following
extract from the Cocoon 2.02 documentation a little confusing:
Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to use Cocoon
build on JDK 1.3 with JDK 1.4
when it comes to database
67 matches
Mail list logo