I think Forrest will do the job?
>>> [EMAIL PROTECTED] Donnerstag, 6. Februar 2003 18:07:02
>>>
Which is the best tool to create an offline copy of a cocoon live
site?
It should spider through the pages, follow every link and gather both
html and
images/css/pdf. Then it should rearrange internal
I sent the code to David and Upayavira. It consists of about half a
dozen classes, so I didn't post it all to the list. If people are
interested, I'd be happy to submit it somewhere (cocoondev maybe?).
It's a work in progress, but I'm actively using it in my applications
and it works quite
You may look at the following place to get the portal running.
http://www.saxess.com/JSPWiki/Wiki.jsp?page=Install
in fact this page doesnt tell explicitly how the portal is comnpiled, this
jaust happens under the hood. so just follow the cookbook and
your done (im speeking for cocoon-2.0.4 only,
hy,
i would like to understand, in which context your servlet is running.
Is it located within the cocoon webapp, or is it located elsewhere?
from the redirect url i guess you are crossing webapplications ...
If this is the case, you have another problem with session preserving
over multiple web
I've hit this - it only happens when compiling the stylesheet though. Concurrent
requests right at
startup do not do wel...I had no workaround...but that would be a GOOD THING to have
fixed...
> Hi Cocooners,
>
> Are their any other Cocoon users having Threading Issues with xsltc?
>
> Its seems
Site with materials helping to learn English and promote humanitarian
values, developed by volunteers of "Polish Humanitarian Organization".
Site address: www.angielski.pomagamy.pl
Maciek Kaminski
-
Please check that your ques
I sent the code to David and Upayavira. It consists of about half a
dozen classes, so I didn't post it all to the list. If people are
interested, I'd be happy to submit it somewhere (cocoondev maybe?).
It's a work in progress, but I'm actively using it in my applications
and it works quite
I am trying to get cocoon portal to work with Resin I am getting the
following error when I try to log-in:
java.lang.IllegalStateException: can't clear response after writing headers
You can go to http://www.atlantalinklist.com/cocoon2/sunspotdemoportal to see
the error. Just log in and
Apologies for the simplicity of this request however I can
find any documentation on this.
How do I include an XSP document at a fixed point in
another?
I think it’s got something to do with xsp:include however I’m not sure . .
Cheers
Tom Place
I am interested in talking to any consultants who live
around San Diego, CA USA
I am working with cocoon and looking for
others doing the same.
If so, send me an e-mail
Chris
[EMAIL PROTECTED]
-
Please
Im trying to understand how to acquire and what is passed on
to cocoon by the RequestGenerator.
Scenario: http://localhost:8080/cocoon/mount/mypage?logic=7
sitemap has:
assuming here the default
org.apache.cocoon.generation.RequestGenerator. What is
generated here? I have a little idea of
Tom Place wrote:
I am new to XSL FO and have been working through some tutorials.
Keep in mind that most of the tutorials have been written
before the XSLFO spec went REC status and have not been updated
to the final spec.
java.lang.RuntimeException: Errors in XSLT transformation:
Fatal: org.
Is there any way to access a running Environment from within a
Transformer in Cocoon 2.1? It appears to be accessible in the
ObjectModel through the CocoonComponentManager, but after looking over
the CocoonComponentManager code, I think it's probably not a good idea
to rely on accessing it that
Michael Melhem wrote:
Hi Cocooners,
Are their any other Cocoon users having Threading Issues with xsltc?
Its seems that if you have a translat being compiled at the same time by two
or more threads (instances of TraxTransformer) you will get issues because
BCEL is not (by design) threadsafe a
I just started looking at Cocoon and I find the portal piece really nice. I
tried building the src with the correct option but I don't know how to build
and deploy the portal piece. When you run the option and then build it comes
up with 2 jar files. Are they independent files or do they get dro
Heiko Milke wrote:
> Am Don, 2003-02-06 um 18.03 schrieb Jan Harms:
> > Well, that´s basically what the IncludeXMLConsumer (in
> > package org.apache.cocoon.xml) does, doesn´t it?
> > It additionally ignores the startDTD() and endDTD() methods.
> >
> > Regards,
> >
> > -Jan
> >
>
>
> didnt k
All,
There seems to be some confusion about Struts on this mailing-list. As
mentioned in one of the replies, Struts was designed to be an MVC
(Model/View/Controller) framework based on Model 2 (a hybrid
servlet/JSP architecture, as opposed to 100% servlet-based or 100%
jsp-based architectures).
T
hi roberto,
the reason why your elements are empty probably are the following; the
session accessed in your XSP might be different from the JSP's session.
since you redirect without url encoding the redirect url, the session
probably doesn't survive the redirect. now in the XSP you didn't specify
The Cocoon Drinking Game
Take a drink when you first realize how much Cocoon rules.
Whenever someone asks about a stripped-down sitemap, take a drink.
Take a drink when a Cocoon get-together is organized overseas, and you can't fly
across the ocean to go.
Whenever someone flames Cocoon for bei
Hi.
I have a problem with a jsp page and a cocoon page.
I use jsp to simply check a user/password and if all is right then set some
variables in the session.setAttribute.
I then redirect the user to a cocoon page in wich i should grab the session
variable with some xsp-logic commands buti can
Try using
after the xml declaration in the stylesheet
Oskar
Which is the best tool to create an offline copy of a cocoon live site?
It should spider through the pages, follow every link and gather both html and
images/css/pdf. Then it should rearrange internal links from absolute to
relative ("http://site/page"; -> page.html, "/" -> "index.html").
The r
Hey Jan
Am Don, 2003-02-06 um 18.03 schrieb Jan Harms:
> Well, that´s basically what the IncludeXMLConsumer (in package
>org.apache.cocoon.xml) does, doesn´t it?
> It additionally ignores the startDTD() and endDTD() methods.
>
> Regards,
>
> -Jan
>
didnt know :)
Thanks for the hint !
Heiko
Well, that´s basically what the IncludeXMLConsumer (in package org.apache.cocoon.xml)
does, doesn´t it?
It additionally ignores the startDTD() and endDTD() methods.
Regards,
-Jan
> -Ursprüngliche Nachricht-
> Von: Heiko Milke [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 6. Februa
I found a problem in Portal-fw, a sample that comes with cocoon.
When I make double click or lots of clicks in a coplet link, one of two things can
happen:
1- I receive a page without some coplets.
OR
2 I receive an error page.
This instability happens frequently, so hel
I found a problem in Portal-fw, a sample that comes with cocoon.
When I make double click or lots of clicks in a coplet link, one of two things can
happen:
1- I receive a page without some coplets.
OR
2 I receive an error page.
This instability happens frequently, so hel
I found a problem in Portal-fw, a sample that comes with cocoon.
When I make double click or lots of clicks in a coplet link, one of two things can
happen:
1- I receive a page without some coplets.
OR
2 I receive an error page.
This instability happens frequently, so hel
Thanks for your help Chris!
It's working fine now!
Cyril.
> On 06.Feb.2003 -- 05:09 PM, Cyril Vidal wrote:
> > Hi,
> >
> > Since yesterday, I'm still stuck on the following problem: I can't list
the
> > items contained in a session's attribute of type Vector:
> > Always the same following error
> Now the question raises, how i can gather an xml-fragment,
> put it into some temporary place (ideally in memory) and
> refer to this fragement from another part of the pipeline.
Any reason why you don't trust Cocoon caching to do this for you? From the
looks of what you've shown us there are n
Hey there,
well actually i dont recommend doing that but here is a way to do it.
You simple write yourself a documenthandler transmitter or whatever you
call it (i named it FragmentHandler in the Example):P
--
public class FragmentHandler implements ContentHandler {
Hi Cocooners,
Are their any other Cocoon users having Threading Issues with xsltc?
Its seems that if you have a translat being compiled at the same time by two
or more threads (instances of TraxTransformer) you will get issues because
BCEL is not (by design) threadsafe as it users static method
We are using version 2.0.4.
Brian Johnson wrote:
> Almost forgot, are you using 2.0.x or 2.1? There are some small
> differences in the way the processor is called. I'm pretty sure all the
> Environment classes are the same. I'm currently using 2.1, but I should
> have the classes for 2.0.x in CV
On 06.Feb.2003 -- 05:09 PM, Cyril Vidal wrote:
> Hi,
>
> Since yesterday, I'm still stuck on the following problem: I can't list the
> items contained in a session's attribute of type Vector:
> Always the same following error is thrown:
> Line 236, column 59: variable i not found in class
> org.a
Cedric Claus <[EMAIL PROTECTED]> writes:
> This pipeline doesn't work : After SQL transformation the sort and
> replace.xsl does wrong. But if I copy the xml result of the SQL
> transform and then apply the same xsl , no problem (with xalan and
> MSXML)
>
>
>
> My configuration : cocoon 2.0
Hi,
Since yesterday, I'm still stuck on the following problem: I can't list the
items contained in a session's attribute of type Vector:
Always the same following error is thrown:
Line 236, column 59: variable i not found in class
org.apache.cocoon.www.mount.essai.session3_xsp
Below is my code:
Here are my logs from /cocoon/WEB-INF/Logs. I don't find anything
strange in these! But my server don't start!
Thanks for your help!
logs.zip
Description: logs.zip
-
Please check that your question has not already been answere
Hi,
I have a problem with a pipeline :
This pipeline doesn't work : After SQL transformation the sort and
replace.xsl does wrong. But if I copy the xml result of the SQL
transform and then apply the same xsl , no problem (with xalan and
MSXML)
My configuration : cocoon 2.0
Irv Salisbury III wrote:
Derek, I tried to send a PDF of the training that we used, but it was
too large for the list to accept. (It is 288K) Send me an email
directly if you want it. Here are the topics in it:
Irv has sent me the PDFs and they are up on the Wiki:
http://wiki.cocoondev.org
You probably got caught out with an older version of FOP before.
This:
should read:
Bye,
Perry Molendijk
-
Please check that your question has not already been answered in
Our whole training environment here at DOTech is actually based on
Cocoon. We write our slides in XML and use Cocoon to transform them
while training into HTML. It works great and people love it here. We
also use XSL:FO to transform them to PDF for printing. It is a little
rough around the
Greetings.
Concerning the cocoon javadoc api, I was currious how this was generated? I like the
look of that documentation better than the standard Java default.
In addition, I was wondering if there was a doclet that i could use in javadoc to
generate javadoc in XML form for later translatio
And also from
http://localhost:8080/cocoon/myapp/index.html
to
http://myapp.com/index.html
on a "real" Apache/Tomcat server...
Derek
>>> [EMAIL PROTECTED] 06/02/2003 05:07:08
>>>Hussayn, the samples look really good, I'll check them out this
evening. Irealize now that cocoon has more h
Would it be possible to have these two pdf's hosted somewhere? Tutorial
material on XSLT and Cocoon would be very useful for me.
Thanks
Steve
-Original Message-
From: Irv Salisbury III [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2003 15:00
To: [EMAIL PROTECTED]
Subject: Re: Training oth
Hussayn, the samples look really good, I'll check them out this evening. I
realize now that cocoon has more hooks than I original thought. I'd be
interested in (perhaps others) seeing a tutorial on the following URL
example with just Tomcat and Cocoon:
From:
http://localhost:8080/cocoon/myapp/inde
...I smile because thats *exactly* the way I do learn;
trying things out to see if they work and only worrying
about understanding much later - that way I quickly
build up a "big picture" without being bogged down.
Yes, I do the same, but it seems like many "junior" coworkers or
students have a
Derek, I tried to send a PDF of the training that we used, but it was
too large for the list to accept. (It is 288K) Send me an email
directly if you want it. Here are the topics in it:
1. Basics
a. Directory Structure
b. cocoon.xconf
c. web.xml
d. sitemap
e. pipeline basics
i am running an apache/tomcat/cocoon combination with authentication
driven by tomcat (just setting the correct security-constraints within
the web.xml and adding the right REALM in tomcat/server.xml ...
i did never touch the apache server itself for authentification
issues...
And i'm using form
Thanks Bertrand
I know I always make the mistake of trying to cover
too much! OTOH, when you say your students did not
cope with "using all the different components involved
without understanding any of them in detail (at first)."
I smile because thats *exactly* the way I do learn;
trying
I am planning on
covering XSLT in the first part, as their skills are
weak in this field and I believe this is a key topic
for effective use of Cocoon.
I don't know your public, but what I've found when mentoring or
teaching people to use Cocoon is that they are often overwhelmed by the
many d
Hi
I am planning on running a small training session with
some colleagues, and need to communicate my learning
and insights (!?) to them in an effective a way as
possible.
Obviously I am planning to make use of all available
resources (Cocoon website; wiki site; various mailing
list archiv
I 'd like to change the encoding in the header of my file.
How can I do that.
For example with DOM I do :
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer();
java.util.Properties properties = transformer.getOutputProperties();
pro
Argyn wrote:
Thank you, all for suggestions!
I forgot to mention the event I'm preparing to speak at. It's
egovos.org on March in Washington, DC. If someone's planning to
attend let's have a drink :)
for the curious amongst us:
http://www.egovos.org/march-2003/cfp-review.cgi?id=5
--
Steven N
Hi,
first please don't answer with see the search web app in the Cocoon
distribution, I looked at that very thoroughly.
But I'm still not clear what role the LuceneXMLIndexer plays.
Can anybody please give an example?
I think that the build(URL url) method of LuceneXMLIndexer returns a List
of D
Hi
I am looking for help with configuring an Apache/Tomcat
setup, trying to support a password-protected Cocoon
site that must be accessed by a virtual host name.
The UNIX support has tried to set it up (see below),
but trying to access the site results in an error 302,
which just repeats
You can make this even more generic:
http://anotherhost:8080/anotherApp{../1}.jsp{requestQuery}";
mime-type="text/xml"/>
This will simply copy the GET-parameters from your original request ;-)
and i think it's slightly more performant ...
regards, Hussayn
Nesto wr
Thank you Jan for your help!!
Finally I wrote a matcher that works
fine!
I post it to the group because it could be
interesting.
I wanted to write a matcher for an URI of this
type:
http://myhost.com:8080/cocoon/myApp/list.jsp?user=tom&password=tom
The matcher is:
Hi all,
I was wondering about a way to group together several transformations in a
single reusable pipeline fragment.
Currently, seems to not allow that, since a resource doesn't
return control to its caller:
http://wiki.cocoondev.org/Wiki.jsp?page=Resources";>
However resources are not like a
My string comes from an XML Database.
there are java methods to access the database and they return XML results.
1/I will do an xsp generation to transform my document the first time.(
reguler expression).-> the request query is na xml document.
2/Then I use my transformer to request in the XML
Hey all,
I'm developing a content management system with cocoon and torque. (I will
make it public as open source, when I get version 0.0 ready.)
I have a problem with parsing text from database in to a XML-document.
My app stores (X)HTML as XML into a relational database. I store only
eleme
I Found IT!!! thanks a lot
At 11:50 06/02/2003 +0100, you wrote:
Sorry, I forgot to tell you that you can wrap your xmlConsumer into a
org.apache.cocoon.xml.IncludeXMLConsumer.
This class basically ignores the start/endDocument() and start/endDTD()
method call:
parser.parse(inputSource, new In
My tomcat server fails to start! I didn't change anything since it
worked!
Here is my root.log and components.log :
DEBUG (2003-02-06) 11:49.04:705 [root](Unknown-URI)
Unknown-thread/CocoonServlet: Using configuration file: /cocoon.xconf
DEBUG (2003-02-06) 11:49.04:755 [root](Unkno
Sorry, I forgot to tell you that you can wrap your xmlConsumer into a
org.apache.cocoon.xml.IncludeXMLConsumer.
This class basically ignores the start/endDocument() and start/endDTD() method call:
parser.parse(inputSource, new IncludeXMLConsumer(xmlConsumer()));
BTW, where does your String come
There is a brand new wiki page on this.
You may look into it at
http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerSimpleWebappOrganisation
It is in the draft state right now, but i would be pleased, if you
comment on it.
the page misses one step that is needed for your requirements.
Howto omitt "
Hy,
I need to transform one source into two different views
and finally collect these views into one single output page.
I do this with an aggregation, that implicitly calls the
same source twice and feeds the result into different
transformers:
http://myserver/colle
Hi all.
We have our web app under
CATALINA_HOME/webapps/cocoon/ub
which can be accessed on the webserver by http://domain.name:8080/cocoon/ub/*
However, we want to put the ub directory under
/home/cocoon/ub and to access it by http://domain.name/ub/*
We can move the directory to /home
I'm using the avalon component sax parser and I parse a string value. but
it returns
the header .
I don't want it because the String value is inline in the document :
here is what I have in my browser :
http://apache.org/xsp";
xmlns:ixia-query="http://www.ixiasoft.com/ixia/query/1.0";>
Hi all,
I am new to XSL FO and have been working through some tutorials.
I have successfully managed to create the Fop font xml files and
config.xml file for the folder, and have setup cocoons sitemap so the
fo2pdf serializer find the config file.
However the problem comes when I try to parse s
I'm using the avalon component sax parser and I parse a string value. but
it returns
the header .
I don't want it because the String value is inline in the document :
here is what I have in my browser :
http://apache.org/xsp";
xmlns:ixia-query="http://www.ixiasoft.com/ixia/query/1.0";>
"I-Lin Kuo" <[EMAIL PROTECTED]> writes:
> I've been working with Cocoon for a week. I have a simple xml page to
> be run through an SQLTransformer
>
>
> http://apache.org/cocoon/SQL/2.0";>
> SQLTransformer Test
>
>
> http://apache.org/cocoon/SQL/2.0";>
>
>
OK, it's allmost working because i still have :
and In my browser I have :
http://apache.org/xsp";
xmlns:ixia-query="http://www.ixiasoft.com/ixia/query/1.0";>
I would like the parser to not keep the .
Is it possible ?
---
Hallo,
I am trying to transform an xml source to wml, but
I am getting this Error, can anyone help me please:
type
fatal
message
null
description java.lang.NullPointerException
sender
org.apache.cocoon.servlet.CocoonServlet
source
Cocoon servlet
stack-tracejava.lang.NullPointerExceptio
If you look into the logs and search for the FIRST occurence
of a stack trace, you see this message:
org.apache.cocoon.ResourceNotFoundException: The element type "content"
must be terminated by the matching end-tag "".:
org.xml.sax.SAXParseException: The element type "content" must be
termina
72 matches
Mail list logo