At 12:06 26/04/2002 +0200, you wrote:
i want send parameter to the generator type serverpages.
My site map is :
map:pipeline
map:match pattern=etatdb-*
map:generate type=serverpages src=etatdb.xsp
At 14:15 23/04/2002 +0300, you wrote:
I have two xml files. One is for the menu content, the other is for the
body content. I want to read from these two different files with one xsl
file, and serialize html.
The menu file is to be used with each page.
I couldn t solve the problem. Do I
Give more info please!
How did you configure your webapp?
Did you copy the cocoon.war file to MyWebApp.war or did you configure a
webapp in Weblogic?
Bert
At 12:38 17/04/2002 -0400, you wrote:
I was able to successfully (more or less) install Cocoon 2.0.2 on Weblogic
6.0sp2, using the webapp
I have some data in a sunShine context I'd like to use to build an update
query in an xsp generator. I can't seem to use the sunShine namespace in an
XSP page. Tomcat is throwing an Internal Server Error.
Is it at all possible to use sunShine in an XSP generator?
Is the only alternative a
The easiest way is to copy the cocoon.war file to yourapp.war, start tomcat
and test it by going to localhost:8080/yourapp
Then you can delete every directory in the yourapp directory, except for
the WEB-INF directory. Edit the sitemap and delete every action, resource,
view and pipeline you
Did you declare a css pipeline? If Cooon gets request for a css file, but
can't map it to a specific file, it can't process it.
Add this to your sitemap:
map:match pattern=*.css
map:read src=css/{1}.css mime-type=text/css/
/map:match
make sure you place the css file in
At 15:52 10/04/2002 +0200, you wrote:
I don't think all members of the group were able to read your signed message.
AFAIK br/ is valid HTML unless you have a very old browser.
Maybe serializing as text may help but if that changes the mime/type you
are back to square one.
br / is accepted by
Carsten,
does this mean that the latest CVS build can be trusted under heavy loads,
say 50 to 100 concurrent users?
Bert
At 14:12 5/04/2002 +0200, you wrote:
We had the same problem, and it had to do with the MRUStore which is
not thread safe in 2.0.1 and 2.0.2.
I suggest you try the latest
I've got the name of a column in a String variable and would like to use
the value contained in that column in my output. How can I request that
value? I need to nest an xsp:expr tag inside an esql:get-string tag. Is
this possible?
The code snip I include obviously does not work! What is
Works perfectly,
Thanks Chris,
Bert
At 11:59 4/04/2002 +0200, you wrote:
On 04.Apr.2002 -- 11:33 AM, Bert Van Kets wrote:
I've got the name of a column in a String variable and would like to use
the value contained in that column in my output. How can I request that
value? I need to nest
Hi Nicola,
I'm game. Send me what you've got and I'll check it out.
Bert
At 15:55 4/04/2002 +0200, you wrote:
From: Sozonnik Andrew [EMAIL PROTECTED]
Hello all !
Can anybody tell me, is it available some tools for C2
to generate complete charts (with axis, labels etc.) for example in
I've got the name of a column in a String variable and would like to use
the value contained in that column in my output. How can I request that
value? I need to nest an xsp:expr tag inside an esql:get-string tag. Is
this possible?
The code snip I include obviously does not work! What is
Here's a snip from a page that does exactly what you want
?xml version=1.0 encoding=ISO-8859-1?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
data
xsp:logic
String myParam = ;
!-- get the parameter from sitemap --
In my opinion Cocoon will hit the main stream when the Cocoon building
blocks are ready.
At the moment people who are new to XSLT need to digest a LOT of info just
to make out the fundamentals of Cocoon. Giving people the ability to start
out with a minimal application with just a Hello World
I tried to use exclude-result-prefix in Cocoon to remove a namespace. It
doesn't work.
Is there a way to add and remove namespaces in an xsl file?
I'm using Cocoon the latest CVS HEAD.
Bert
-
Please check that your question
You can find more on mySQL authorisartion in the documents on the mySQL
site. One of them is http://www.mysql.com/articles/mysql_intro.html
All it comes down to is setting the correct entries in the user and db
tables in the mysql database.
Bert
At 11:43 27/03/2002 +0200, you wrote:
Peter
The employee database which is a part of the
samples has NEVER worked correctly and as you probably
know many many postings have been sent to the
cocoon-users mailing list about this.
I greatly appreciate the work and complexity
of the product and the time and effort that has been
put in by so
I'm trying to load context data from a pipeline using the load command in
the sunshine:createcontext tag. I created a pipeline called getusers. Its
output is
?xml version=1.0 encoding=UTF-8 ?
- data xmlns:xsp=http://apache.org/xsp;
xmlns:xspdoc=http://apache.org/cocoon/XSPDoc/v1;
I had the same problem. Adding
xsl:output indent=no /
xsl:strip-space elements=* /
right under the root node solved the problem. Every image sticks correctly
to the previous one in the browser. All the tags follow one another. It's
also a very good way to compress the HTML output. There's
Delete the work directory, the page is probably still in there.
Bert
At 14:23 25/03/2002 +0100, you wrote:
Dear All,
I've set up a sub-sitemap under webapps/cocoon/traffic.
I modified this sitemap to generate a page from files called
tic1.xml/tic1.xsl on access to
I got sunRise running using a mySQL database for user authentication.
Now I'd like to use the data in the sunShine session variables to modify
the page content (show the logout button only when people are logged in)
but the docs are very silent about *where* to implement the namespace and
how
The best solution would be to add JTidy in the HTML serializer. This way
the HTML is optimized in a decent fashion, according to the W3C rules.
Since JTidy is already included in Cocoon for the HTML file generator, can
someone, with a little more programming experience than m,e set me in the
I had similar problems when trying to connect to a mySQL database. I
solved it this way:
- Downloaded a CVS HEAD.
- removed the hsqldbjar from the xml-cocoon2\lib\optional directory
- added my JDBC jar file in the xml-cocoon2\lib\optional directory
- removed the
Perfect!
Exactly what I needed. With a bit of luck I will get my authentication
running tonight. That's a lot quicker than in the asp days (yes, I do
admit I was a MS guy once). Now all the rest of the sunRuse doc makes
sense to me.
Thanks a lot,
Bert
At 17:33 28/02/2002 +0100, you wrote:
I'd suggest Tidy (http://sourceforge.net/projects/tidy) or JTidy
(http://sourceforge.net/projects/jtidy) from Sourceforge. You can
configure them to adjust errors found in the source HTML.
Come to think of it. Has anyone thought of implementing JTidy in the
standard html serialiser to
Thanks. But re: Do not forget to remove Cocoon's working directory!!!
Where is cocoon's working directory?
tomcat/work/localhost/cocoon is the default work directory
-
Please check that your question has not already been
I use the latest CVS build (2.0.2-dev) on Win2K server with Tomcat 4.0.1. I
use the full build to have the docs handy, but I'm also developing a web
application.
I copied the war file to another name and then got rid of all the samples
in the sitemap and cleaned up all the sample documents.
Did you download the latest CVS build? That version is
2.0.2-dev!! Classes are updated nearly every day.
The easiest way to get a pretty recent CVS version is through
http://cvs.apache.org/snapshots/xml-cocoon2/
Bert
At 17:03 25/02/2002 +0530, you wrote:
Hi Torsten,
It is not working even
Here's how I installed PJA:
I copied the PJA jar files to the jre/lib/ext directory and added the
following line to the catalina.sh file
CATALINA_OPTS='-Xbootclasspath/p:/usr/local/pja/lib/pja.jar
-Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava2d.font.usePlatformFont=false
Consider the css request as just another request to cocoon. In other words
you must make an entry in your sitemap for css files. Something like this:
map:match pattern=*.css
map:read src=css/{1}.css mime-type=text/css/
/map:match
In you XSL file you have to make sure you get the
I'm doing two projects now. Both are web sites, but with some extra kick
butt features.
1) A site for a society where different people need to manage different
parts of the site. One is responsible for the member administration,
another for the financial part, another for the organization of
At 17:21 18/02/2002 +, you wrote:
At 5:05 pm +0100 18/2/02, Bert Van
Kets wrote:
SUCCESS!!
What was it that solved the problem?
Apparently the different file system. I can't think of anything
else since I try to keep the Linux and Win2K setups as similar as
possible.
I did the test on SuSE
At 13:05 19/02/2002 +0100, you wrote:
Hi,
I just checked in a fix for this. Could you please try it again?
Thanks
Carsten
PS: This bug existed in Cocoon for ages...
What bug is this? I'm struggling with file access errors in Win2K too at
the moment.
Bert
There's an error opening the file.
As far as I can tell you've got an on line 1 thant's not part of a tag.
Bert
At 17:38 18/02/2002 +0100, you wrote:
Richard Korthuis wrote:
Hello,
I have already seen several posts about getting Cocoon 2.0 to work with
Tomcat 4.0 and
JDK 1.4, but I
I have built a system where I can edit the content of an xml file in a
browser by using html forms. Comparing the request object with the
original XML (by use of ID's and aggregation) lets me contruct the updated
xml file with the original structure.
I would like to write this file to disk,
I have built a system where I can edit the content of an xml file in a
browser by using html forms. Comparing the request object with the
original XML (by use of ID's and aggregation) lets me contruct the updated
xml file with the original structure.
I would like to write this file to disk,
Can anybody tell me where I can ask questions regarding mod_webapp? I
installed Tomcat 4.0.1 and Apache 1.3.20 on SuSE 7.3. I'd like to direct
the root of my Apache site to a Cocoon webapp. It runs fine in Win2K, but
Apache can't seem to talk to Tomcat in SuSE Linux. I'm getting file not
I copied the PJA jar files to the jre/lib/ext directory and added the
following line to the catalina.sh file
CATALINA_OPTS='-Xbootclasspath/p:/usr/local/pja/lib/pja.jar
-Dawt.toolkit=com.eteks.awt.PJAToolkit
-Djava2d.font.usePlatformFont=false
Don't forget that Cocoon is compiled with JDK 1.3
If you are using a headless Linux system (no X installed) check out the
past threads about Xvfb and PJA.
Bert
At 22:07 5/02/2002 -0500, you wrote:
Hi,
I installed cocoon on tomcat 3.2.1. When i go to
http://localhost:8080/cocoon i get an error
I'd like to use Tomcat's webDAV with Cocoon. I've been trying all kinds of
configurations, but can't get it running.
How do I configure the webdav servlet in Tomcat, together with the cocoon
servlet ? I know it's more a Tomcat question, but I can't seem to find a
Tomcat list.
I've copied the
I'm using the following configuration:
SuSE 7.3 (headless)
JDK 1.3.1_02
Tomcat 4.0.1
PJA 2.3.1
Cocoon 2.0.0 runs perfectly. All the samples and docs are created without
any problem.
I now would like to install Cocoon 2.0.1 and did the following:
1) Stopped Tomcat
2) Deleted the cocoon.war
Hi, I'm using
- SuSE 7.3
- Apache 1.3.20
- JDK 1.3.1_02
- Tomcat 4.0.1
- Cocoon 2.0.0
- PJA classes to replace the X-environment
This runs fine without any problem. All SVG samples work without any
problem. Log files are clean!
SuSE is installed as a headless system, so no X is available.
(OPTS var or
whatever), I may be able to help with your config problems.
Regards,
Anthony Aldridge
AD Support
CSC Managed Intranet Hosting
Personal GDP: 8-325-4634
MIH Hotline: 8-876-1300
http://mihweb.uk.jpmorgan.com
Bert Van Kets [EMAIL PROTECTED] on 31/01/2002 10:58:57
Please respond
.
Regards,
Anthony Aldridge
AD Support
CSC Managed Intranet Hosting
Personal GDP: 8-325-4634
MIH Hotline: 8-876-1300
http://mihweb.uk.jpmorgan.com
Bert Van Kets [EMAIL PROTECTED] on 31/01/2002 10:58:57
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: PJA or Xvfb
I need to install Cocoon 2 on a Linux headless system (SuSE 7.3 and Tomcat
4.0.1).
I have the choice of using PJA (http://www.eteks.com/pja/en/) or
Xvfb. Although I can't get PJA to run, even after trying every suggestion
on this list and the net, I doubt it's the best solution for a web
This is actually a webapp question. If you copy the cocoon.war file to
another name, say test.war, you can access it from that name, /test here.
I just copy the original Cocoon.war file to another name, let tomcat unpack
it to the new directory and then erase everything I don't need. The
nope, worked for me as described
At 22:53 14/01/2002 +, you wrote:
Don't you have to change the web.xml file as well ?
-Original Message-
From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Sent: lundi 14 janvier 2002 22:45
To: [EMAIL PROTECTED]
Subject: Re: Cocoon URL
This is actually
I have started a discussion on on-line content editing for Cocoon a while
ago. The goup then also came to the conclusion that a web-based solution
would be best, although some people suggested using some local
application. My project needs browser based editing since the content will
be
DBPrism does not allow the user to edit the content of the XML file. I
don't see the relevance of your mail in this thread.
I was talking about a way to allow a user to edit the content of an XML
file in a browser, so he can update the content and the navigation system
of his website.
Bert
with tech
pubs but not web-sites.
Then when you need to provide the XML to various apps, transform it into the
XML you need.
best,
-Rob
- Original Message -
From: Marcelo F. Ochoa [EMAIL PROTECTED]
Bert Van Kets wrote:
I have started a discussion on on-line content editing
Are you sure there's a mapping for your txt extention. Just like you need
a mapping for JPG and GIF file extention, you will need a mapping to the
TXT file. Cocoon captures the request to the txt file, but since he
doesn't know what to do with it can't give a response, hence the 404.
Check
How to create a textarea that has bold, italic and all the formating
stuff?
That's not possible of course. HTML textareas don't support
formatting. The formatting will have to be addressed by HTML tags, unless
the textarea is replaced with an Applet or a Java Web Start Application,
like
Hi Guys,
if I have images stored in BLOB fields in a database, how do I get them out
of there and to the browser?
If I use the SQL generator/transformer in the sitemap I would get XML
containing the binary data. Can this data be sent to the browser as a
image/jpg mime type?
Is this the way to
To complement the Cocoon framework and to give the customer access to the
site navigation and the content of his pages, I would like to add an
on-line XML editor to a Cocoon project.
I want to present the content of the XML file in a HTML form, so that the
owner of the site can modify, add or
That's an option I considered too. But as Mauricio already knows it's not
usable on my project since the editing will be done by a lot of people on
very different places. that's why I'm going the browser way.
Bert
At 08:37 20/12/2001 -0200, you wrote:
A different approach i'm working with, is
At 12:46 20/12/2001 +0100, you wrote:
Hi,
It would be very very nice also to have this (web)application to give you
suggestions (as a simple list) about elements or attributes that may or
must be added into the xml document (in a specific edit point) based on an
xsd definition file (instead of
Hi Cocooners,
I'd like to create an HTML report from data stored in a database.
If I create an XML document in memory, how do I go about having it
translated with Cocoon2 to my HTML report?
Do I need to create a generator, or can I just add something to the sitemap
so that the source for the
This is a simple one.
if you copy the cocoon.war file to a new name, ex. host1.war, you actually
create a new webapp called host1. You can access this Cocoon installation
through http//yourdomain/host1
If you configure Apache so that is redirects a certain subdirectory (or the
root for that
Does anybody know where I can find more info on integrating .NET with
Cocoon? For example writing serializers or generators in .NET.
Our company would like to use Cocoon as a framework, but most of our
programmers are into Microsoft programming. I know that some people will
think I'm heavily
I would like to use Slide with Cocoon, but can't seem to find any
documentation on the subject. Does anybody have experience with this?
How can I edit the Cocoon XML files on-line?
When will indexing and searching be implemented?
Thanks,
Bert
Now I want to be able to enter the
URL
http://www.place.com/index.html
and get back the same result as
http://www.place.com:8080/cocoon/mount/MyWebSite/index.html.
I used mod_webapp with great result. It does exactly what you need
makes cocoon active on the root of the site. Just know that
Sounds like you have the classical Build problem from version rc2.
This was solved by release rc2a.
I installed the rc2a version 3 different computers without any
configuration or modiification to Cocoon. Every time I used Win2k and
Tomcat 4.
Bert
At 13:55 6/12/2001 +, you wrote:
Hello
101 - 162 of 162 matches
Mail list logo