Hi Marco,
On Wed, 6 Mar 2002, marco wrote:
I have added namespace to the svg tag like thissvg:svg width=200
height=15 xmlns:svg=http://www.w3.org/2000/svg;, but it dose not help
even if I restarted the tomcat.
Can you check in $TOMCAT_HOME/webapps/yourapp/WEB-INF/logs and see if
there
Hi,
On Tue, 5 Mar 2002, Sreedhar Chintalapaty wrote:
How would I do something like that in Cocoon? Can one XSP page dynamically
include other XSP pages? I would appreciate -any- examples/sample code!
As others have said, there are several ways of doing it. For some examples
and sample code,
Hello cocoon-users,
Can anybody tell be any way to solve a problem with help of Cocoon -
I want to use Cocoon as base for View level in Web-application. Now
I use Struts as MVC framework but JSP is not the best choice to
create and support web-resource. Is there any way to use Cocoon as
Srinivas,
On 05.Mar.2002 -- 09:50 PM, CHERVIRALA Srinivas / FTRD / US wrote:
I tried with Tomcat 4.01 with out any success.
My error.log file contains the following:
FATAL_E (2002-03-05) 21:10.56:416 [core] (Unknown-URI)
Unknown-thread/LogKitLogger: Excalibur could not create any
cool
- Original Message -
From: Andrew Savory [EMAIL PROTECTED]
To: Sreedhar Chintalapaty [EMAIL PROTECTED]
Cc: Cocoon Users [EMAIL PROTECTED]
Sent: Wednesday, March 06, 2002 10:15 AM
Subject: Re: Some Design Help, please
Hi,
On Tue, 5 Mar 2002, Sreedhar
If you have already built some applications with struts, maybe stxx(
http://www.openroad.ca/opencode/ ) is for you: it enhances struts with
functionalities to have an action produce XML and forward it to one or more
Stylesheets...
-Ursprungliche Nachricht-
Von: Oleg V Alexeev
Hello mugwump,
I whant to solve problem without changing of core Struts API, but stxx
uses its own extended version of ActionServlet.
Wednesday, March 06, 2002, 1:45:30 PM, you wrote:
mvd If you have already built some applications with struts, maybe stxx(
mvd http://www.openroad.ca/opencode/
I'm using Cocoon 2.0.1 on Tomcat 4.0.1. I've set up my main sitemap to
match different sub-uris and then mount a sub-sitemap for the corresponding
sub-directory the way it's done in the cocoon sub-sitemap example. In
addition I want to do user authentication for a whole subsitemap in the
main
Hello cocoon-users,
Can anybody tell be any way to solve a problem with help of Cocoon -
I want to use Cocoon as base for View level in Web-application. Now
I use Struts as MVC framework but JSP is not the best choice to
create and support web-resource. Is there any way to use
Two FOP variants have been tried out by us: the FOP stand-alone variant
[FOP_1] to be downloaded from
http://xml.apache.org/dist/fop/, and the FOP variant included in the Cocoon
2 package [FOP_2].
To our knowledge, and after extensive testing, a metric file for any
specific TTF font can be
marco wrote:
I have added namespace to the svg tag like thissvg:svg width=200
height=15 xmlns:svg=http://www.w3.org/2000/svg;, but it dose not help
even if I restarted the tomcat.
Please help :(
Try cocoon/welcome-svg example. Is it work then see error in you code...
Check with
Hi, thanks to all for the previous help about my issues.
Now, I have a new problem.
I have define the following pipeline:
map:pipeline
map:match pattern=
map:redirect-to uri=intro.html/
/map:match
map:match pattern=*.html
map:generate type=serverpages
This is the valid style (work in my machine):
page2svg.xsl
?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:xlink=http://www.w3.org/1999/xlink;
xsl:template match=page
html
head
titlexsl:value-of
It seems that FOP guys do not know why my DF renders like that:
some cells with a background make borders disappear.
You can have a look at:
http://www.anyware-tech.com/test.pdf
Cells labelled Paragraph, Reference, Title should have
black solid borders.
Anyone ever had this problem?
It looks like the foreground colour is overlaying the background border, for
what that's worth.
If you remove the foreground colour, does it work??
-Original Message-
From: Olivier Rossel [SMTP:[EMAIL PROTECTED]]
Sent: 06 March 2002 12:12
To:
Sorry, that should have gone to the list.
Are you including xml-apis.jar in your classpath?
J.
-Original Message-
From: Matthias Fischer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 06 March 2002 12:18 pm
To: Morrison, John
Subject: RE: Problems with font embedding
Using the
yes, but I'm getting this error:
java.lang.NoClassDefFoundError: org/w3c/dom/html/HTMLDocument
at org.apache.xml.serialize.OutputFormat.whichMethod(OutputFormat.java:884)
at org.apache.xml.serialize.OutputFormat.init(OutputFormat.java:316)
at
O'Flaherty, Colm wrote:
It looks like the foreground colour is overlaying the background border, for
what that's worth.
If you remove the foreground colour, does it work??
I use the background-color=lightgrey on the table-cell.
If I remove the attribute, the borders displays correctly.
Should
where do I find xercesImpl-2.0.0.jar?
-Ursprüngliche Nachricht-
Von: Morrison, John [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 6. März 2002 13:54
An: '[EMAIL PROTECTED]'
Betreff: RE: Problems with font embedding
Actually (in cocoon\lib\core), you can get away with...
java -cp
Where do I find the cocoon-cvs-version ?
-Ursprüngliche Nachricht-
Von: Morrison, John [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 6. März 2002 14:04
An: '[EMAIL PROTECTED]'
Betreff: RE: Problems with font embedding
You are using cvs head? It should be in lib\core...
http://xml.apache.org/cocoon/contrib.html
-Original Message-
From: Adnan Zelkanovic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 06 March 2002 1:06 pm
To: [EMAIL PROTECTED]
Subject: AW: Problems with font embedding
Where do I find the cocoon-cvs-version ?
-Ursprüngliche
Hi All...
I am new to Cocoon 2 and am currently prototyping a login/authentication
routine. I am using SessionIsValidAction to check if the user is logged in,
and if this fails they are redirected to the login page, the
DatabaseAuthenticatorAction is then used to check the user's submitted login
Robin Wyles wrote:
Hi All...
I am new to Cocoon 2 and am currently prototyping a login/authentication
routine. I am using SessionIsValidAction to check if the user is logged in,
and if this fails they are redirected to the login page, the
DatabaseAuthenticatorAction is then used to check the
All this is already there :-). Ok, it is not yet in a released version of
Cocoon - but easy enough to get hold of.
Check out the scratchpad and dive into the sunrise/sunshine authentication
components etc. that we committed a couple of weeks ago.
Check out my tutorial on authentication here:
I have downloaded the newest cvs-version of cocoon
(xml-cocoon2_20020306112018.tar.gz).
I was able to generate the metric-file of arialuni.ttf called
arialuni.ttf.xml
But Cocoon was not able to embed the font in my pdf.
The source of my configuration part of sitemap.xmap is:
map:serializer
From: Kai Bruns [mailto:[EMAIL PROTECTED]]
I'm using Cocoon 2.0.1 on Tomcat 4.0.1. I've set up my main sitemap to
match different sub-uris and then mount a sub-sitemap for the
corresponding
sub-directory the way it's done in the cocoon sub-sitemap example. In
addition I want to do user
From: Stefano Bonnin [mailto:[EMAIL PROTECTED]]
Hi, thanks to all for the previous help about my issues.
Now, I have a new problem.
I have define the following pipeline:
map:pipeline
map:match pattern=
map:redirect-to uri=intro.html/
/map:match
map:match
Hi all,
Thanks a lot for the guidance. I will try out all the options...
Sreedhar
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To
Hi , I am a First Time user of coccon and i have
somre problmes installing it. (still can't install) . when I run build following
the rules at the site i have this errror
Compiling with Java 1.4, debug on, optimize off,
deprecation offCompiling 381 source files to
Vadim Gritsenko [EMAIL PROTECTED] wrote:
From: Kai Bruns [mailto:[EMAIL PROTECTED]]
I'm using Cocoon 2.0.1 on Tomcat 4.0.1. I've set up my main sitemap to
match different sub-uris and then mount a sub-sitemap for the
corresponding
sub-directory the way it's done in the cocoon
Either use JDK1.3.1 or set JAVA_HOME to the jdk1.4. This should fix the
issue.
Vadim
-Original Message-
From: Mariano [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 9:46 AM
To: [EMAIL PROTECTED]
Subject: Help Please
Hi , I am a First Time user of coccon and i have somre
No offence intended, but before asking did you read/grep
the documentation?
I know it's out of date(the jar's in the classpath are old), but...
http://xml.apache.org/cocoon/userdocs/serializers/pdf-serializer.html
should tell you *everything* you need to know.
snip/
Hi,
I'm making my first Cocoon application.
Like many others, all it does is open an XML file and create a table from it
using an XSL file.
I'd like to have the definition of each icon's file to be outside of the XSL
(to be able to change it update it quikly, use definitions from other .xsl,
yes. i have JDK 1.4
My JAVA_HOME set a /usr/java/j2sdk1.4.0/ is it ok?
or i should anithing else?
thanks
mariano
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
sitemap contains :
map:readers default=resource
map:reader name=jsp logger=sitemap.reader.jsp
src=org.apache.cocoon.reading.JSPReader/
/map:readers
but where is the name/src of the default reader (resource) defined ?
Perhaps you got the wrong version of sitemap.xmap? Mine has the following,
with resource properly defined.
map:readers default=resource
map:reader name=resource
logger=sitemap.reader.resource
src=org.apache.cocoon.reading.ResourceReader/
map:reader name=jsp
Hello,
I try your solution on Linux.
I get tomcat-4.0.3 from source, compile and execute with JDK1.4
Next I set xml-cocoon2 from CVS (06-mar-2002)
I set all and delete xalan, xerces,batik and xml-apis from cocoon/WEB-INF/lib
(I try change javac.jar with tools.jar without success)
From: TREGAN Fabien [EMAIL PROTECTED]
sitemap contains :
map:readers default=resource
map:reader name=jsp logger=sitemap.reader.jsp
src=org.apache.cocoon.reading.JSPReader/
/map:readers
but where is the name/src of the default reader (resource) defined ?
Basic
From: snpe [mailto:[EMAIL PROTECTED]]
Hello,
I try your solution on Linux.
I get tomcat-4.0.3 from source, compile and execute with JDK1.4
Ok, my fault. One more correction: these steps are for JDK1.3.1. Search
archives, read Cocoon CVS documentation for JDK1.4 issues.
snip/
Yeah, I know ;-)
What i probably meant was you dont need to hack up the distribution
with custom libraries.
The endorsed directory is there because the new jdk includes apis which
are still under revision.
Obviously this means that the standards are likely to change, as they
quite obviously have,
Thanks a lot for your help Matthew, that seems just what I need...
Robin
on 6/3/02 1:50 pm, Matthew Langham at [EMAIL PROTECTED] wrote:
All this is already there :-). Ok, it is not yet in a released version of
Cocoon - but easy enough to get hold of.
Check out the scratchpad and dive
Hi
folks,
I have problems
running the latest Cocoon binary version 2.0.1 under Windows 2000 Professional
and Tomcat 4.0. When I try to access Cocoon I get the error message listed
below. I am using JDK 1.4 Standard. Any ideas? Many thanks in
advance
Lars
type Exception report
hi. i finally got the cocoon.war . I have replaced all the files tutorials
says but when i try http://myhost/cocoon i got 404..
whta it could be? i have apahe and tomcat running
thsnk in advance
mariano
_
Do You Yahoo!?
Get your free
Title: RE: Help Please
Unless I'm missing something
It depends on what servelet container you are using (Tomcat/Jrun/whatever).
Tomcat defaults to port 8080 (unless you are using RPM's which default to 8180)
http://myhost:8080/cocoon
-T
-Original Message-
From: Mariano
Title: Installation problem
Hi,
Hoping you could help me with this Installation problem. I tried to install the Cocoon and for some reason it gives this Internal Server Error
My environment:
-Windows 2000 Server with SP2
-Compaq Deskpro
Also attached are my log files:
Title: Glacier
I have a strange problem: my CInclude seems
to work a little too enthusiastically!
I thought the URI http://myServer/myApp/cinclude/including
is supposed to show "Including includes
Included! " once, but it's showing it twice!
Here's what I have:
- In Site Map:
Did you try restarting apache and tomcat?
On 03/06/02 10:39, Mariano [EMAIL PROTECTED] wrote:
hi. i finally got the cocoon.war . I have replaced all the files tutorials
says but when i try http://myhost/cocoon i got 404..
whta it could be? i have apahe and tomcat running
thsnk in advance
Title: Glacier
Hi,
Where can I find the out of the box logic
sheets in the Cocoon distribution? Also, can some one point me to any
documentation of the logic sheets- I found the ones for Request and Session at
the Cocoon site, but not the others.
Thanks, and Best Regards,
Sreedhar
Well, that's it. I'm almost ready to scrap Cocoon.
All I want to do is generate a simple HTML page that when requested
does a little Java code first using some request parameters and
values from the XML it's being generated from. I need to do this in
many little ways: sending email, writing
Title: Glacier
cocoon-2.0.jar
org/apache/cocoon/components/language/markup/xsp/java
-Original Message-From: Sreedhar Chintalapaty
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 06, 2002 1:01
PMTo: Cocoon UsersSubject: OOTB Logic
Sheets
Hi,
Where can I find the out
Title: Glacier
Thanks a lot, John.
:)
Sreedhar
-Original Message-From: John Turk
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 06, 2002
4:18 PMTo: [EMAIL PROTECTED];
[EMAIL PROTECTED]Subject: RE: OOTB Logic
Sheets
cocoon-2.0.jar
-Original Message-
From: Lars Schmitz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 9:45 AM
To: '[EMAIL PROTECTED]'
Subject: Error starting up Cocoon 2.0.1
Hi folks,
I have problems running the latest Cocoon binary version 2.0.1 under
Windows 2000 Professional and Tomcat
From: Noah Mittman [mailto:[EMAIL PROTECTED]]
Well, that's it. I'm almost ready to scrap Cocoon.
All I want to do is generate a simple HTML page that when requested
does a little Java code first using some request parameters and
values from the XML it's being generated from. I need to do
hi all,
I was wondering whether the cocoon:// URI-Scheme used in the sitemap is
accessible through java.net.URL?
And if so, could it thus be access by Xalan like this:
xsl:value-of select=document( 'cocoon://foo/bar' ) /
I have to confess that I haven't tried it out yet - it just came to my
Jakob,
the short answer is: Yes.
The long one can be found in the mailing list archives, searching for the
thread: Inserting / Comining XML data.
Best regards,
-
Luca Morandini
GIS Consultant
[EMAIL
I'm not sure I entirely understand what you are trying to do, here, but if
all you need to do is provide some XSP-derived data to an XSL document that
transforms chunks of XML into XHTML, then you were probably on the right
track by setting up a pipeline -- we do this using an aggregation and
The correct answer on the first question is: No.
cocoon: is named pseudo-protocol for a reason: it does not work
through java.net.URL API, but only using Cocoon's SourceResolver object
or Cocoon's URLFactory, which could be obtained from the
ComponentManager. BTW, see url-factory/ element in the
hmmm I stand corrected once more... anyway, I did try it and it works.
Regards,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
What I need to do is execute some Java code that uses both request
parameters and XML node values as sources for variables. For
example, I want to record someone's submitted username to a special
log system, which is based on ID numbers. In this case, the
username is supplied in the query,
Hi!!
i finally make it owrks. but i have one tiny problem
when i point at the brwser http://myhost/cocoon i got the list of all the
files.
and also I can't see a page as nomarl . Insetd of it I see the XML at the
screen.
like this
?xml version=1.0 ?
!DOCTYPE menu (View Source for full
Something's not cool here. This is what explorer does when it views an XML
document without a stylesheet. More than that I don't know what the provlem
is. Do you have a URL to see?
Carlos
On 03/06/02 13:59, Mariano [EMAIL PROTECTED] wrote:
Hi!!
i finally make it owrks. but i have one tiny
Good point.
I guess an idea would be to use a ServerPagesAction to do whatever you'd
like to your incoming parameters, and pass them through to the nested action
by the sitemap. You'll have your db insert action nested inside the server
pages action, if you see what I mean.
Never experimented
Here is how I got Cocoon 2.0.1 to work with JDK 1.4.
Here is my configuration:
RH 7.2
Tomcat 4.0.3
Cocoon 2.0.1
Apache 2.0.32 beta
tomcat-connectors 4.0.4b1
The basic reason why Cocoon fails to work with JDK 1.4 is conflicting .jar
files. JDK 1.4 provides many more libraries than 1.3.xx. As
From: Bhide, Atul [mailto:[EMAIL PROTECTED]]
Here is how I got Cocoon 2.0.1 to work with JDK 1.4.
Here is my configuration:
RH 7.2
Tomcat 4.0.3
Cocoon 2.0.1
Apache 2.0.32 beta
tomcat-connectors 4.0.4b1
The basic reason why Cocoon fails to work with JDK 1.4 is conflicting
.jar
Dear Sir/Madam,
When I ran the build script, I got the following error
messages:
compile:
[echo] Compiling with Java 1.2, debug on,
optimize off, deprecation off
[javac] Compiling 3 source files to
C:\cocoon2\xml-cocoon2\build\cocoon\clas
ses
[javac]
I did look at it and it is plain out of date when it comes to JDK 1.4. It
says that XALAN is REQUIRED by Cocoon CORE but when it comes to JDK 1.4 you
can break the deployment if you do not remove xalan from the installation.
If we can modify the table to add columns for various versions of JAVA
From: Bhide, Atul [mailto:[EMAIL PROTECTED]]
I did look at it and it is plain out of date when it comes to JDK 1.4.
It
says that XALAN is REQUIRED by Cocoon CORE but when it comes to JDK
1.4 you
can break the deployment if you do not remove xalan from the
installation.
You are
hey guys. i'm trying to retrieve some xml content over http to begin one
of my pipelines:
/nlm/query?author=Smith
map:match pattern=nlm/query
map:match type=request pattern=author
map:generate
Mariano wrote:
hi. i finally got the cocoon.war . I have replaced all the files tutorials
says but when i try http://myhost/cocoon i got 404..
whta it could be? i have apahe and tomcat running
thsnk in advance
mariano
_
Do You Yahoo!?
Get
When I run a large xsp file, the cocoon complain about Branch is too
large.
Is there any way to split the xsp file into smaller peice?
-
Please check that your question has not already been answered in the
FAQ before posting.
ERROR IN CORE.LOG:***
DEBUG (2002-03-07) 14:03.01:930 [core]
(/cocoon/f_portal/f_portal_svg/2b4986-ec6f1495e0--7ff7.png)
HttpProcessor[8080][4]/ExcaliburComponentSelector: UnnamedSelector:
ComponentSelector could not find the component for hint: extractor
SITEMAP
What is the easiest way to delopy cocoon application (including database)?
Create a web application archive (WAR) file? If yes, how can I create one
for my cocoon application (including database)?
Please help!
-
Please check
From: Donald Ball [EMAIL PROTECTED]
tried to figure out how to disable validation to ignore
the issue completely. well, it seems that in c2.0.0, you cannot configure
the parser's validation behavior in the cocoon.xconf file. i looked in the
source for JaxpParser, and was surprised to note
Hello Sreedhar,
Your problem is in your xsl. Just try to comment cinclude:include
element in your including.xml and you'll get doubled text as a result of
request.
So it is necessary to fix xsl first without cinclude:include.
By the way, for me your example doesn't work at all until commenting
Simple Database Problem
Having struggled to get my own database working, I thought I would go
back to basics;
unfortunately I cannot those to work either!
I am unable to get the Employee example, that works in the Cocoon
samples, working in a sub sitemap.
I have copied over all the relevant
On Thu, 7 Mar 2002, Nicola Ken Barozzi wrote:
tried to figure out how to disable validation to ignore
the issue completely. well, it seems that in c2.0.0, you cannot configure
the parser's validation behavior in the cocoon.xconf file. i looked in the
source for JaxpParser, and was
Hello Noah,
Excuse me, please, if I'm too pedantic, but did you mean test=write instead of
write=test?
Best regards
Roman
Noah Mittman wrote:
Well, that's it. I'm almost ready to scrap Cocoon.
All I want to do is generate a simple HTML page that when requested
does a little Java code
This is not a Cocoon solution... but you could consider using JavaScript
to
work with the DOM and update the contents of input fields when the
'onSubmit'
event is triggered - there are many good JS sites with code snippets
that could
be adapted for this situation.
Derek
[EMAIL PROTECTED]
Hi!
i have a *strange* problem with esql:group/esql:member:
when i add esql:group/esql:member to my xsp page then the loop fetching
the results from the resultset changes to an endless loop, till i get an
java.lang.OutOfMemoryError.
settings vm:-ms128m -mx256m
settings:
79 matches
Mail list logo