Hi all,
I'm making an attempt to get SVG's working.
My understanding is that svg2jpeg and svg2png currently has a dependency on Xvfb.
I'm running MacOS X so I installed Xfree86, including Xvfb and used the script submitted by someone on the list:
if [ "$1" = "stop" ] ; then
# kill off any
Bernie,
1) A Logicsheet is an XSP source file. A logicsheet defines a taglib, which
is then used to provide more tags to be included in XML files
2) AStylesheet is a plain XSL file.
Mind, a logicsheet is, basically, an XSL + Java file, hence the
confusion... my habit is to have
Brent,
As far as I know, you can't do this directly, since the XSP generation has
to be the first step in a pipeline (generation).
Anyhow, what you can do is chaining two pipelines:
1) A pipeline which produces (via transform) an XML file with your tags
(like
Hi,
i am wondering if it is possible to access Tomcat specfic runtime
classes from inside C2. What i want to do is to read to runtime
Tomcats configuration from inside C2 . Anyone knows anything?
best regards
Max
-
Please
Phil Blake wrote:
Hi all,
I'm making an attempt to get SVG's working.
My understanding is that svg2jpeg and svg2png currently has a dependency on Xvfb.
For Linux the SVG Java libraries (Apache Batik) as used in Cocoon 2
depend on a X display. As Linux can perfectly function without
Thank's a lot for your interest !
You where right, as I read in the documentation the problem was related with
my proxy configuration, so I try your solution. Unfortunalety I think I do
something wrong:
My proxy host is http://pinedo on port 80, so, I create the environment
variable with value:
Hi,
I appologise in advance for posting to this mailing list, but I also think
that the answer maybe of interest to the Cocoon community.
What I am trying to do is to build a generic form within C2 that is defined
in an XSP which is aggregated with another path that will contain the data
which
Hi
as long as i knwo you forgotten to define that the
namespace xalan is an extension namespace. How to do
that you have to read the Xalan documentation.
Max
-Original Message-
From: Adrian Geissel [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 19. Oktober 2001 10:34
To: [EMAIL PROTECTED]
Hi,
I'm having some trouble working with the JSPGenerator.
I'm using a JSP to generate the XML representation of an session resident
object. However, because this object presents some recursive
characteristics, I use the tag jsp:include.
The JSP itself works properly. However, when I'm using
If you look at the Java API for Cocoon, you'll notice that it has its
own Session object (org.apache.cocoon.environment.Session), which does
not inherit from or otherwise have much to do with
javax.servlet.http.HttpSession other than the fact that they have many
similar methods. (Actually, I
Hi,
My logicsheetprovides XSP support templates,
for controllingthe structure of the generated XML. A typical template
generates an XML fragment, including the local 'root' (top-level) element,
attributes, content and child elements.
The strange behavior is that my 'root' element is
not
On Fri, Oct 19, 2001 at 04:59:15PM +1000, Phil Blake wrote:
Hi all,
I'm making an attempt to get SVG's working.
My understanding is that svg2jpeg and svg2png currently has a dependency
on Xvfb.
I'm running MacOS X so I installed Xfree86, including Xvfb and used the
script submitted
Not sure if this is the reason, but I know that Batik (svg generator used by
cocoon) won't work with Java 1.4 yet, and Batik is registered in the
Sitemap.
-Original Message-
From: Torsten Knodt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 10:37 AM
To: cocoon-users
Subject:
I Couldn't get it to work with Java 1.4, probably because
Java 1.4 rte includes Jaxp
Regards All
Mark
-Original Message-
From: Madel,Kurt [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 2:17 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Java 1.4 and Cocoon 2
Not sure if this is
I'm afraid that I don't why you got the message that you describe. But I'm am having
no ploblem using Cocoon 2 with Java 1.4 beta 2.
I am using Tomcat 4.0, JBoss 2.4.3 and Cocoon 2 on a windoze 2000 sp2 platform.
KP
Not sure if this is the reason, but I know that Batik (svg generator used by
I would like to use Castor's data binding and pass its Marshalled xml to
Cocoon2
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To unsubscribe,
I have been struggling to get ESQL working... I had thought it was the database setup,
but turns out that is OK (see below) - now I am stuck again.
Following previous suggestions, I have tried to get an equivalent of the sample code
shippped wiht Cocoon working. I could not find any ESQL to
Hi,
i'm using the following function to marshal a castor object into cocoon.
/**
* marshalls an object into cocoon
*
* @param obj an codeObject/code the Castor generated Object
* @param map a codeMapping/code the Castor Mapping Object for the
given object
* @exception Exception if an
Hi Luca:
I did something like this in my sitemap:
map:match pattern=request
map:generate type=request/
map:transform src=stylesheets/request.xsl/
map:serialize/
/map:match
My request.xsl looks like this:
?xml version=1.0?
xsl:stylesheet version=1.0
Hello,
i was wondering if it is possible to reload cocoon or a custom build
generator after its been recompiled without restarting tomcat. If yes,
i'd like to know how, and if not, then id like to know if theres another
way to speed up the compiling / testing process somehow because always
How can we set context attributes with cocoon2? Why did the authors
implement getAttribute function but not the setAttribute?
ByeBye,
Paolo Scaffardi
AIRVENT SAM S.p.A.
-
Please check that your question has not already been
all classes are loaded by a classloader, by creating your own classloader
you can nullify it after use and the class will have to load from disk
again, included is a example of a custom classloader, here is an example of
how to use it:
SimpleClassLoader sc = new SimpleClassLoader(
ok, stupid question, but I need a little help setting things up. Can you
just place the castor jar in your class path, and then make the neccessary
include in your xsp page for the marshal function? Sorry to be a bother,
but I think this kind of info would really help out Cocoon2 novices, like
Hi Alexander,
You have to configure the sitemap to pick up your files. The cTwIG idiots
guide has some basic examples. You can find it at
http://www.pigbite.co.uk/ctwig/index.html.
HTH.
Jez
[EMAIL PROTECTED]
-Original Message-
From: Alexander Schatten [mailto:[EMAIL PROTECTED]]
Hi
Sergi,
I'm
sorry it took a while for me to respond but I've been really busy. I think
I have solved the problem - it's the namespace you are using in the xsl file for
the stylesheets.
Instead of
xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
try
xsl:stylesheet
Hi Allan:
I'm not sure what you are trying to do. If it is simply to process XML
files using your old XSLs, look at the examples in the cocoon
sitemap.xmap (like the hello.html one). All you have to do is add a
similar entry for your own stuff. Then put your files under the cocoon
webapp
I'm having a similar problem with pooling setup for Interbase. I've used
the Cocoon2 sample for ESQL to edit my page, sitemap, etc. but it still
won't work.
I've defined the datasource cl (that's C and L -- not C and ONE) and in
cocoon.xconf as:
datasources
jdbc name=cl
Our configuration is:
Linux redhat 6.2
Apache 1.3.20
jakarta-tomcat-3.2.3
Cocoon 2
When we try to start cocoon2 for the first time the
browser shows this message
"the sitemap handler's sitemap is not available". Looking
for the reason in the cocoon.log.000.. file I can find these two
Hello Mark,
Mine did start working when I changed the classes12.zip file to
classes12.jar. I guess the class loader only loads jars.
Have you confirmed the the url works and the Driver class is loaded?
Try an XSP page that loads the driver explicitly to confirm...
Friday, October 19, 2001,
You don't say in what way the code is not working; do you get an exception,
other error message, or just no data? If the latter, are you sure your XSL
stylesheet matches the structure of the XML you are creating?
-Christopher
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Hello Marty,
Hmm.. So ar you saying that if my clobs didn't have the ?xml
version=1.0 encoding=UTF-8? then get-xml would work?
When I tried:
esql:get-xml column=doc_content/
It didn't work, but perhaps that is because it is a document.
Thursday, October 18, 2001, 7:13:50 AM, you
Lajos,
thanks for you reply.
Actually, my error was not putting the namespace tag request: in front of
my XPatch elements. Since I've put it into the stylesheet header I, wrongly,
supposed it ot be redundant.
Hence, I've transformed:
xsl:template
Hi,
I have made custom Component and trying to access it from XSP file. It seems
that it passes OK all main steps of
composition/configuration/initialization, but somehow at the end I getting
the next exception:
org.apache.avalon.framework.component.ComponentException: Could not access
the
I have the latest and the 2.2b release build of Cocoon2. The JSP example
the comes with the release that uses the JspGenerator doesn't work. I have
tried it on Windows 2000 with Tomcat4.0 and RedHat Linux with Tomcat4.0
Is there something wrong with the example or do I not have something
Hi all ..
I'm trying to do, with cocoon 2rc1, something like this : aggregate some
contents, between these there are some which are themself aggregated, these
are boxes on the right of my page, and some of them are static and common
for all the site, some others are specific to a
I have a jar with all the classes my generator employs in it. Is there
no way to get cocoon to reload every class that has changed from disk in
this jar?
Karl Oie wrote:
all classes are loaded by a classloader, by creating your own classloader
you can nullify it after use and the class will
Hello everyone,
In Cocoon2 has anyone successfully configured a JUnit test case that will
run an Action (or any other class) that has logging method calls in it?
For example, I have an action that I am able to Unit test with out any
problem until I add the following (line 45):
37 matches
Mail list logo