Hello, I use the following with C 2.0.3 :
map:action logger=error.baepp.setmydate name=setmydate
src=baepp.SetMyDateAction/
To keep it simple this action takes lang parameter and puts its value in
mydate parameter.
and a test pipeline :
map:pipeline
map:match pattern=mytest/*
map:act
Hi,
Just a quick question, what isn't covered in the book if we look at Cocoon
2.0.3 (or Cocoon 2.1 beta)
I just took a quick look at the sample chapter and for instance it only
mentioned 'SQL Transformers' and not ESQL.
- Kasper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL
In the sample chapter that is available action-sets are handled.
Martin
- Original Message -
From: Richard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 25, 2002 10:14 AM
Subject: Re: Cocoon book
Hi does the book says anything about actions?
- Original Message
Are you sure that you put your mydate param into a HashMap and that you also return
this HashMap inside your act method. If you don't return at least an empty HashMap,
nothing will be done inside the action tags. Your pipeline entries seem to be correct,
it should work with {1}.
Regards,
Hi,
I'm not the author of the book and I don't have a copy at hand, but I will
try to anwer to the best of my knowledge and I'm sure Matthew will correct
me next week if I say something wrong :-)
richard schrieb:
Hi does the book says anything about actions?
Yes the book explains all details
Hi David,
I have got the same problem.
I am using:
Java 1.4.0
Tomcat 4.0.4
Cocoon 2.0.3
I´ve set:
JAVA_HOME=/usr/java/j2sdk1.4.0_01
CATALINA_OPTS='-Djava.awt.headless=true
-Djava_endorsed_dirs=/usr/java/j2sdk1.4.0_01/jre/lib/endorsed
I´ve copied the files:
xalan-2.3.1.jar
Hi Elmar, yes I did so. Got NullPointerException. I extended ComposerAction,
am I wrong with that ?
Have another question now : how can my action put something in a sunrise
context (mycontext), or else will use parameter associated with
redirect-to :-/
Thanks, gotta dig for it.
Barbara
-
Hi Barbara,
extending ComposerAction is correct, maybe you should take a look into your
cocoon/Web-Inf/logs/error.log to check where exactly the null pointer exception
occurs. Perhaps something else is wrong inside your action code. Sorry, I'm not
familiar with sunrise.
-Ursprüngliche
Hi,
I'm experiencing a strange problem with the ESQL logicsheet
The results returned when I use the esql:skip-rows and the
esql:max-rows seem to be inconsistent for example, when I request 10
results using
esql:max-rows10/esql:max-rows
I get 11 results.
I looked in the XSL stylesheet and in
Please don't fire me ;-)
Some people here think that it would be nice to have no mail list
option... instead of unsubscribing-resubscribing when going on holidays.
Would this be possible ?
Barbara
-
Please check that your
Hi,
I have two xml files and I would like to use two
different stylesheets for that.How do i do it?
For example I have two xml files inside the folder
name docs:
login1.xml
login2.xml
and I have two stylesheets:
login1.xsl
login2.xsl
and for login1.xml I would like to use the stylesheet
Here is a sitemap for catch-all XML management.
map:match pattern=*.xml
map:generate src={1}.xml/
map:transform src={1}.xsl/
map:serialize/
/map:match
The sitemap resolver receives the URL.
It parses sequentially the sitemap file,
reading only what is inside matching map:match.
The map:match
Thanks Christian. I'll look into this. My fallback plan is to write a
logicsheet in XSLT/ESQL to do the same as the DB actions but at a higher
level. What I'm trying to end up with is an XForm-like way of writing
(simple model) forms but without having to write any java. For many
simple
Dear Mr.Oliver,
It works and thank you so much for your valuable
information.
Kavitha
--- ROSSEL Olivier [EMAIL PROTECTED] wrote:
Here is a sitemap for catch-all XML management.
map:match pattern=*.xml
map:generate src={1}.xml/
map:transform src={1}.xsl/
map:serialize/
/map:match
From: Conny Pemfors [mailto:[EMAIL PROTECTED]]
Hi Vadim, creator of cocoon,
why do I get following message:
org.apache.cocoon.ProcessingException: markup-languages:
ComponentSelector
could not access the Component for hint: xsp:
From: kavitha ramesh [mailto:[EMAIL PROTECTED]]
Dear Mr.Oliver,
It works and thank you so much for your valuable
information.
Kavitha,
don't forget to add the [SUMMARY] when your question is answered. This helps
people to find answers to their questions in mailing archives and can
I've come up with a code-free workaround for the problem.
Quick reminder of the problem: HTML checkboxes do not submit a request
value if unchecked and hence DatabaseUpdateAction writes NULL into the
corresponding column in the database. In Cocoon 2.03 there in no way of
overriding this
Take 2... this time with correct summary prefix in email title :-)))
---
I've come up with a code-free workaround for the problem.
Quick reminder of the problem: HTML checkboxes do not submit a request
value if unchecked and hence DatabaseUpdateAction writes NULL into the
corresponding column
On 25.Jul.2002 -- 03:31 PM, Simon Price wrote:
I've come up with a code-free workaround for the problem.
Quick reminder of the problem: HTML checkboxes do not submit a request
value if unchecked and hence DatabaseUpdateAction writes NULL into the
corresponding column in the database. In
Hello,
I wrote an application reading data from another application server and sending
requests to this application server which manipulate these data and reread the
manipulated data. All this is done inside one pipeline using URLMatchers.
CIncludeTransformer is used to concatenate multiple
Hi,
here are some more strange things I have noticed. The problem only
happens when I use esql:skip-rows0/esql:skip-rows. When I use some
other values, the result is correct.
Any clues are welcome,
Regards
Benoît Clouet
Hi,
I'm experiencing a strange problem with the ESQL logicsheet
Hi,
I am facing trouble in getting across value for my parameters from Action
into my Transformer. Here is what I am attempting to do -
map:actions
map:action name=xyz src=test.xyz/
/map:actions
map:match pattern=*.xml
map:act type=xyz
Doh! I worked out that DatabaseUpdateAction just took the first array
item and in IE6 and NS6 this happens to be the same order as they occur
in the form. I was assuming that this would be the case with all
clients. Live and learn!
I'll have to find a proper solution after next week but this
From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
Hello,
I wrote an application reading data from another application server
and
sending requests to this application server which manipulate these
data and
reread the manipulated data. All this is done inside one pipeline
using
URLMatchers.
I got sidetracked and am now trying (once again) to get Cocoon2 running on
our Linux server. We are using Cocoon 2.0.2, Tomcat 3.2.2 (with Apache),
RedHat 7.1, and IBM JDK 1.3.0.
My last post (12 Apr 2002) left me with this error message on Cocoon
startup:
message Language Exception
Sorry about the previous post with a misleading subject... I'm re-posting
this with a 'proper' subject line...
I got sidetracked and am now trying (once again) to get Cocoon2 running on
our Linux server. We are using Cocoon 2.0.2, Tomcat 3.2.2 (with Apache),
RedHat 7.1, and IBM JDK 1.3.0.
My
Do you mean -Djava.endorsed.dirs rather than -Djava_endorsed_dirs?
I posted yesterday: -DJAVA_ENDORSED_DIRS (wrong...sorry).
Also in the catalina.sh script I think you need to set JAVA_ENDORSED_DIRS to
the endorsed directory to pass the flag to java. If you set it in
CATALINA_OPTS then you get
I tried the following code in the sitemap to redirect to a page after saving values to
the
database using art_grp_chg.xsp and receive an sitemap error.
map:match pattern=art_grp_chg.xsp
map:act type=request
map:parameter name=parameters value=true/
map:select
Hi all,
I have just downloaded Cocoon 2.0.3 from the Apache Web Site.
I have JDK 1.2.2 and Tomcat 3.2.3 and Windows 2000 installed on my machine.
I am getting the following error when I try to access the cocoon servlet.
Can anyone help?
Thanks,
Viksen
ERROR (2002-07-25) 16:18.35:606
Hello,
I was just trying to change the XMLFormTransformer to add an
i18n:text tag, when the Transformer is dealing with violations.
I tried the following in the startElementViolations method:
1.) I tried to add the tag like this:
// render violation tag
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sorry about the previous post with a misleading subject... I'm
re-posting
this with a 'proper' subject line...
I got sidetracked and am now trying (once again) to get Cocoon2
running on
our Linux server. We are using Cocoon 2.0.2, Tomcat
From: Christian Hoofe [mailto:[EMAIL PROTECTED]]
I tried the following code in the sitemap to redirect to a page after
saving
values to the
database using art_grp_chg.xsp and receive an sitemap error.
You actually want to write not XSP page but action.
map:match
I have had problems with link so I changed the file
cocoon/documentation/xdocs/index.xml from:
*
If you are looking for a past generation of Cocoon (no longer
supported but still available),
go to the
Hi all:
DBPrism/Cocoon will take a place at Second Open Source Content Management
Conference at Berkeley, California from Wednesday, 25 September to
Friday, 27 September 2002.
http://www.oscom.org/conferences/sanfrancisco2002/index.html
I will present a short keynote on Thursday, September 26
Hello guys,
we are using cocoon 2.0.2 in a prototype and love the results. Implementation
was fast and very efficient. However, there is one problem (or should I say
challenge):
whenever someone accesses cocoon over the internet from a client that does not
have a DNS-entry (e.g. a client before
OK. I stopped Tomcat and removed the entire $TOMCAT_HOME/work folder and
restarted Tomcat. Everything looked fine in the Cocoon log files after
starting Tomcat until I attempt the first access of the main Cocoon start
page, then the log files start showing the following error lines (not all
are
I got the latest cocoon code out of CVS and built it.
(latest as in today)
Things seem to work fine, except when I go to Search
the Docs in the samples section. When I do that, I
get the error I have attached below.
It seems to have something to do with pizza. I tried
to copy the pizza jar file
From: Bobby Mitchell [mailto:[EMAIL PROTECTED]]
Bobby,
I have had problems with link so I changed the file
cocoon/documentation/xdocs/index.xml from:
^
...
link href= http://xml.apache.org/cocoon1/?test=atest1=b;Cocoon 1.x
area/link.
Where can I find a list of XML elements? Also, I want to create some
custom XML elements. How can I do this?
--
Robert J. (Bobby) Mitchell
Systems Administrator
NASA Institute for Advanced Concepts
555A 14th St Atlanta, Ga. 30318
Phone: (404)347-9633 Fax: (404)347-9638
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
OK. I stopped Tomcat and removed the entire $TOMCAT_HOME/work folder
and
restarted Tomcat. Everything looked fine in the Cocoon log files
after
starting Tomcat until I attempt the first access of the main Cocoon
start
page, then the log files
All of the .log files have the same sequence of messages starting with the
ProcessingException:
ERROR (2002-07-25) 14:32.36:191[sitemap](/cocoon/) Thread-12/Handler:
Error compiling sitemap
org.apache.cocoon.ProcessingException: Language Exception:
On 25.Jul.2002 -- 05:45 PM, Benoît Clouet wrote:
Hi,
here are some more strange things I have noticed. The problem only
happens when I use esql:skip-rows0/esql:skip-rows. When I use some
other values, the result is correct.
Thank you for reporting this bug.
I've fixed it in CVS. Update
Unless I misunderstand your question, this is a purely xml related question
and isn't likely to get answered here. I'd reccomend reading a good
introduction to xml (e.g., http://www.xml.com/pub/a/98/10/guide0.html, see
also http://xml.apache.org/cocoon/link/xml.html for more xml related links).
From: icewind [mailto:[EMAIL PROTECTED]]
I got the latest cocoon code out of CVS and built it.
(latest as in today)
Things seem to work fine, except when I go to Search
the Docs in the samples section. When I do that, I
get the error I have attached below.
It seems to have something
You don't need to be a rocket scientist. (Sorry...couldn't resist that
one).
To answer your question, there is no definitive list of xml elements.
You are free to create your own or use a set that are defined by someone
else. XML element schema are generally packaged in one of three manners
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
All of the .log files have the same sequence of messages starting with
the
ProcessingException:
...
Here is the second stacktrace:
org.apache.cocoon.components.language.LanguageException: Could not
load
class for program
Hello,
(Forgive any redundancy with previous messages.)
I'm having problems with what I think is a simple task: recreating the
standard image swap in on mouse over.
I have other examples of xml citing xsl working using IE6 and also NS6.2.
However, in this example, the javascript function doesn't
Hi,
You might check out the POI project (hunt around for the HSSF stuff).
They claim to be working on Generators and Serializers for Cocoon for
all the formats.
http://jakarta.apache.org/poi/index.html
Ryan
Michael Wechner wrote:
Hi
Is there an Excel Generator, which creates from an
Ryan do note that the HSSFSerializer is already part of cocoon:
http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html
-Andy
Ryan Hoegg wrote:
Hi,
You might check out the POI project (hunt around for the HSSF stuff).
They claim to be working on Generators and Serializers
Hello Jeanine,
either change the name of the attribute of the image from 'id' to 'name'
or change the javascript to
window.document.getElementById('picture1').src=image;.
Regards,
Joerg
Jeanine Meyer wrote:
Hello,
(Forgive any redundancy with previous messages.)
I'm having problems with
Sorry if this is a duplicate ... I looked through the archieve, and
didn't see anything.
Has anyone gotten Cocoon2.0.3 running on Jboss3.0.0/Tomcat4.0.3 in
Windows2000? If so, please let me know what you did.
I am getting a MAPPING configuration error for request URI error when
attempting to
I removed the pizza jar (and removed its entry in
jars.xml, rebuilt and I still can't access the Search
the Docs section in the samples. It seems that all XSP
pages do not work. Is pizza required for this? It
seems like it is required for anything XSP.
The error I am getting now is:
I decided to get the src for 2.0.3 and did a build on it instead of the
2.0.2 I couldn't get to work. Now I'm getting different (but somewhat less
arcane) errors when starting.
in access.log:
=
DEBUG (2002-07-25) 16:47.28:377 [access]
From: icewind [mailto:[EMAIL PROTECTED]]
I removed the pizza jar (and removed its entry in
jars.xml, rebuilt and I still can't access the Search
the Docs section in the samples. It seems that all XSP
pages do not work. Is pizza required for this?
No. You can use javac if you want to. If
In Tomcat 4.x I've seen an enableLookups attribute on some of the
connectors can set in server.xml. Setting it to false would stop what
you're seeing. I've had a look in my old 3.2.1 config and don't see
anything similar.
A longshot and probably not the correct approach...The DNS timeouts
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
I decided to get the src for 2.0.3 and did a build on it instead of
the
2.0.2 I couldn't get to work. Now I'm getting different (but somewhat
less
arcane) errors when starting.
in access.log:
56 matches
Mail list logo