All of a sudden cocoon can't find my transformer and
gives the next error message:
org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector could not find the
component for hint: store
Here are the critical parts of my sitemap:
...
map:transformers
are you sure that org.apache.cocoon.transformation is the correct package path of your
Transformer? If so, check if the Transformer is contained in
webapps/cocoon/WEB-INF/lib/cocoon.jar. However I would recommend to use a specific
package path for your own components, generate also your
As a matter of fact cocoon finds my transformer (which
I have written myself and which is placed in
WEB-INF/classes/org/apache/cocoon/transformation) in
the components element, otherwise it would throw
ClassNotFoundException. The problem is that cocoon
don't understand my call for
On 15.Oct.2002 -- 07:26 PM, Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
Hi, I am trying to run the Modular Dabatase Example from the Cocoon site,
but with PostgreSQL 7.2.
I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12 on Red Hat
Linux 7.3.
Someone make it
On 15.Oct.2002 -- 08:05 PM, Tuomo Lesonen wrote:
In your sitemap inside map:actions put:
map:action name=mod-db-add
src=org.apache.cocoon.acting.modular.DatabaseAddAction
descriptorcontext://foo/bar/database.xml/descriptor
throw-exceptiontrue/throw-exception
/map:action
In
Can you send me the PostgreSQL module Christian?
Antonio Gallardo
El Miércoles, 16 de Octubre de 2002 01:47, Christian Haul escribió:
On 15.Oct.2002 -- 07:26 PM, Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
Hi, I am trying to run the Modular Dabatase Example from the Cocoon
I think this is fine. What about to make it in Wiki?
Antonio Gallardo
El Martes, 15 de Octubre de 2002 23:40, Gabriele Domenichini escribió:
What about setting up a page with the configurations needed to connect
cocoon to the various database ?
There is already something but is distributed
This is great, I can provide the part for Tamino 3.1, XML native DB.
However, I would need to host a small zip file somewhere, since the
officially released jar is not ok for now... A colleague modified the
classes for it to work with Cocoon.
Within some months changes are expected : version 4.1
Hello,
I have just finished to read the Carsten and Matthew Cocoon book. I recommend this
book to all of the persons who want to start in Cocoon.
In the book there is a part that is very useful for Cocoon users (I think): the Cocoon
components list (Appendix A).
But the book lists the
In cocoon we have this tag to show the error message
map:handle-errors
map:transform
src=../stylesheets/system/error2html.xsl/
map:serialize status-code=500/
/map:handle-errors
But I
When you call a cocoon:/ from your pipeline, the sitemap calls itself.
But inside this new call, you lose the initial request parameters.
Is there a way to set new request-parameters for the cocoon:/ call?
Or keep the intial request parameters when the sitemap calls itself?
This e-mail is
Zein Dowe wrote:
I got this one in my Sitemap:
map:serializer logger=sitemap.serializer.wml mime-type=text/vnd.wap.wml
name=wml src=org.apache.cocoon.serialization.XMLSerializer
doctype-public-//WAPFORUM//DTD WML 1.1//EN/doctype-public
Hi,
I got a problem when calling a pipeline with the cocoon:/ protocol.
I always get a cached xml response instead of the updated content.
I turned the pipeline component configuration to noncaching but
it does not seems to work. Here is the snippet from my sitemap.
map:pipeline
map:match
Murari wrote:
In cocoon we have this tag to show the error message
map:handle-errors
map:transform
src=../stylesheets/system/error2html.xsl/
map:serialize status-code=500/
Hello,
I m not able to get that object in action...can u tell me how will I get
this object in XSP and how will I call get and set method on that.
-Original Message-
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 6:28 PM
To: [EMAIL PROTECTED]
Hello folks!
Can I use non-english characters in xls document (dynamically generated by
HSSFSerializer)?
I'm trying the following configuration:
map:serializer name=xls src=org.apache.cocoon.serialization.HSSFSerializer
mime-type=application/vnd.ms-excel
encodingKOI8-R/encoding
There is a minor problem I have not had time to correct yet.
encoding is an attribute, but if its set the serializer should check
that its non-us/uk/aus and in that case set encoding to 16-bit. However
currently it just assumes 8-bit. I'm under a mountain of to-dos but
thats at the top of my
Sure, I can work on that.
Christian Haul wrote:
On 15.Oct.2002 -- 07:26 PM, Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
Hi, I am trying to run the Modular Dabatase Example from the Cocoon site,
but with PostgreSQL 7.2.
I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12
On 16 Oct 2002 07:16:29 -0400
Andrew C. Oliver [EMAIL PROTECTED] wrote:
There is a minor problem I have not had time to correct yet.
encoding is an attribute, but if its set the serializer should check
that its non-us/uk/aus and in that case set encoding to 16-bit. However
currently it
Could anyone shed some light on what happens to the Cocoon connection pool when the
database it depends on is shutdown and then restarted. I expect an exception to be
thrown as the connections are invalid, and though I don't explicitly catch it using
esql:error-results in my XSP page, I
Try this tag:
esql:error-results
The error is: esql:get-message/
/esql:error-results
Antonio Gallardo
El Miércoles, 16 de Octubre de 2002 06:51, Michael Edge escribió:
Could anyone shed some light on what happens to the Cocoon connection pool
when the database it depends on is
Michael Edge wrote:
Could anyone shed some light on what happens to the Cocoon connection pool when the
database it depends on is shutdown and then restarted. I expect an exception to be
thrown as the connections are invalid, and though I don't explicitly catch it using
esql:error-results in
I forgot: See below
El Miércoles, 16 de Octubre de 2002 06:51, Michael Edge escribió:
Could anyone shed some light on what happens to the Cocoon connection pool
when the database it depends on is shutdown and then restarted. I expect an
exception to be thrown as the connections
Do you know if new Cocoon 2.0 supports the new FOP ?
Even though I think cocoon and APIs such as FOP are great
the general trend that I seem to finding is that the software
tends not to be backward compatable which sometimes make it
difficult in a corporate environment.
Thanks for your
Hi! I have tried to reference a servlet in sitemap without success. I
searched in the web and in the mails an haven't found an answer.
I have to program a servlet (e.g. a simple servlet that throws a html).
So I configured the servlet in the web.xml file.
Then, because I'm using cocoon, I have
I experience the following problem: I am including fragments of another xml file using
xinclude and
the xpointer() syntax. Works fine. If I then want to use the SQLTransformer within the
same
pipeline, I get a
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
--- simo kauranen [EMAIL PROTECTED] wrote:
As a matter of fact cocoon finds my transformer
(which
I have written myself and which is placed in
WEB-INF/classes/org/apache/cocoon/transformation) in
the components element, otherwise it would throw
ClassNotFoundException.
Are you certain
Hi,
I am trying to integrate the functionality of PHP with Cocoon, but I
seem to have run into some problems. When I try to run a small test
script, 1 of 2 things will happen.
1. I get nothing back (the browser just sits and acts busy), or
2. If I restart my servlet engine, I receive a
I am trying to start the example of mod-db using PostgreSQL.
Currently, I have the autoincr, working, but the problem now is inserting a
new row in the table groups - the easier one ;).
In the database.xml there is defined as:
table name=groups
keys
key name=gid
Why should I use carriage returns in my messages, Berin?
Michael
- Message from Berin Loritsch [EMAIL PROTECTED] on Wed, 16 Oct 2002 09:01:01
-0400 -
To: [EMAIL PROTECTED]
Michael Edge wrote:
Why should I use carriage returns in my messages, Berin?
So that we don't have to scroll on forever in one direction, and it makes it
alot easier to interpose comments throughout your message--adding context to
other people's response.
--
They that give up essential
On 16.Oct.2002 -- 07:53 AM, Antonio Gallardo Rivera wrote:
Thread-9/DatabaseAction: Could not select output mode attribute:null
So, you are using a CVS version, eh? The default outputmode used to be
(and still is) attribute which was recently renamed
request-attr. You need to add / change the
Why should I use carriage returns in my messages, Berin?
So that we don't have to scroll on forever in one direction, and it makes
it
alot easier to interpose comments throughout your message--adding context
to
other people's response.
Berin, what mail client are you using? Most have a
Hunsberger, Peter wrote:
Why should I use carriage returns in my messages, Berin?
So that we don't have to scroll on forever in one direction, and it makes
it
alot easier to interpose comments throughout your message--adding context
to
other people's response.
Berin, what mail
Antonio Gallardo Rivera wrote:
I am trying to start the example of mod-db using PostgreSQL.
Currently, I have the autoincr, working, but the problem now is inserting a
new row in the table groups - the easier one ;).
In the database.xml there is defined as:
table name=groups
keys
Berin Loritsch wrote:
I've had other people complain to me about the same thing.
When you *respond* using Mozilla, what was once a auto-wrapped line is now
one long line that goes on forever.
In the message composition menu: Options Rewrap.
I use it all the time - dunnow if my mails are
On Wed, Oct 16, 2002 at 01:57:38PM +0900, Tanmay Kumar wrote:
Hi all,
I am finding Cocoon very useful for our project. Thanks a lot to the
developers...
I have one requirement like this. Is there any Cocoon class to address this
issue?
Input will be a DOM node, but while parsing the DOM
In my experience the request parameters seem to be preserved. I am
using the interpreted sitemap (not sure if that makes a difference) and
have several places in my sitemap where I am certain they are working.
For example:
map:match pattern=*.xsp
map:generate type=serverpages
Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
I am trying to start the example of mod-db using PostgreSQL.
Currently, I have the autoincr, working, but the problem now is
inserting a new row in the table groups - the easier one ;).
In the database.xml there is defined as:
table
Hunsberger, Peter wrote:
Why should I use carriage returns in my messages, Berin?
So that we don't have to scroll on forever in one direction, and it makes
it
alot easier to interpose comments throughout your message--adding context
to
other people's response.
Thanks Bobby.
Antonio Gallardo
El Miércoles, 16 de Octubre de 2002 08:53, Bobby Mitchell escribió:
Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
I am trying to start the example of mod-db using PostgreSQL.
Currently, I have the autoincr, working, but the problem now is
Thanks, Chris.
Yes, I am using the lastest 2.1 CVS, like always ;)
I made this changes in the sitemap:
map:action name=mod-db-add
src=org.apache.cocoon.acting.modular.DatabaseAddAction
descriptordatabase.xml/descriptor
inputrequest-param/input
output-moderequest-attr/output-mode
map:match pattern=*.xsp
map:generate type=serverpages src=xsp/(1).xsp/
map:transform src=stylesheets/copySelf.xsl /
map:serialize type=xml/
/map:match
map:match pattern=bigPage
map:aggregate element=page
map:part src=cocoon:/data1.xsp/
map:part
Has anyone used *just* the core components of cocoon in a project?
I don't have a web server, I'm not running tomcat. Currently, I have a
bunch of java classes that make SQL calls against a DB, and build up a big
XML doc. I then have more java classes that apply various XSL
transformations
I had a similar problem. When I used the XInclude transformer, I got
a NullPointerException when I tried to refer to the results with the
cocoon:/ protocol. Here was my solution (bad hack, but it worked):
I made a stylesheet copy-of.xsl that simply copied what it was passed
without changing it.
Good question -- I have not tried that scenario. As a workaround,
instead of extracting request parameters from a stylesheet, you could
something like this in the xsp
fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo
barxsp:exprrequest.getParameter(bar)/xsp:expr/bar
and use XSLT to get the
Good question -- I have not tried that scenario. As a workaround,
instead of extracting request parameters from a stylesheet, you could
something like this in the xsp
fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo
barxsp:exprrequest.getParameter(bar)/xsp:expr/bar
and use XSLT to get
ROSSEL Olivier wrote:
Good question -- I have not tried that scenario. As a workaround,
instead of extracting request parameters from a stylesheet, you could
something like this in the xsp
fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo
barxsp:exprrequest.getParameter(bar)/xsp:expr/bar
and
I think that a cocoon:/ call resets all the requestParameters.
Maybe, but it should not!
Are you sure?
Its purpose is to create a new request with old AND new
parameters (AFAIU)
Well, if you have ideas about how I can pass NEW request parameters
for the cocoon:/ call, I am really
Sorry, I made and error, I needed to change:
output-mode to output in the below description.
Antonio Gallardo
El Miércoles, 16 de Octubre de 2002 09:09, Antonio Gallardo Rivera escribió:
Thanks, Chris.
Yes, I am using the lastest 2.1 CVS, like always ;)
I made this changes in the sitemap:
Bobby:
Are you using the lastes CVS too?
Antonio Gallardo
El Miércoles, 16 de Octubre de 2002 08:53, Bobby Mitchell escribió:
Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
I am trying to start the example of mod-db using PostgreSQL.
Currently, I have the autoincr, working, but
You can use the cocoon CLI command line interface,
by executing org.apache.cocoon.Main. It's not very
well documented, but you can glean enough to use it
from the archive, the source code and the build target
for the docs.
HTH,
Geoff Howard
--- Torched Salamander [EMAIL PROTECTED] wrote:
Has
On 16.Oct.2002 -- 10:53 AM, Bobby Mitchell wrote:
Here others-mode request is saying get the values from however I
defined type=request in the mode name.
Other values are: attrib - get values from attributes; session if
input/ is session, request if input/ is request. others -- I'm not
Hello!
I'm having problems trying to run servlets under cocoon.
Error message on browser:
Cocoon 2 - Internal server error
java.lang.RuntimeException: servlet/maeff could not be found. (possible
context problem)
at
Antonio Gallardo Rivera wrote:
Bobby:
Are you using the lastes CVS too?
Yes, from about 2 weeks ago.
Antonio Gallardo
El Miércoles, 16 de Octubre de 2002 08:53, Bobby Mitchell escribió:
Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
I am trying to start the example
Could you be a bit more specific, what values you are referring to?
I had the most trouble figuring out the descriptor file.
keys
key name=ID type=string autoincrement=false
mode name=request parameter=ID type=all/
!-- if mode is not defined it defaults to request
My home-rolled version (which you can easily improve) is:
#!/bin/tcsh
setenv CATALINA_HOME here
setenv CATALINA_BASE there
cd $CATALINA_BASE
foreach lib (`find $CATALINA_HOME/common/lib webapps/cocoon/WEB-INF/lib
-name *.jar`)
if (! $?CLASSPATH ) then
setenv
Modifying Ryan's example a little bit...
map:match pattern=*.xsp
map:generate type=serverpages src=xsp/(1).xsp/
map:transform src=stylesheets/copySelf.xsl
map:parameter name=use-request-parameters value=true /
/map:transform
map:serialize type=xml/
/map:match
map:match pattern=bigPage
George Pieri wrote:
Do you know if new Cocoon 2.0 supports the new FOP ?
Yes on both accounts.
Even though I think cocoon and APIs such as FOP are great
the general trend that I seem to finding is that the software
tends not to be backward compatable which sometimes make it
difficult in a
Hi! I am finished a challenge with Modular Database Actions. :)
Can someone tell me if there are some similar in the FormValidator?
I mean some kind of FormValidator action that can be combined with Modular
Databse Actions.
Thanks in advance,
Antonio Gallardo
I have configured the User Authentication sucessfully. I saw that there is a
role field. Is this value a must field?
I made my own path building tables in a database for users, object and
permission. The permissions are for example:
Admin users, admin lists, create new data, etc.
Then I saw
Has anyone used DB Prism with DB2, specifically DB2 on the I-Series
(AS/400). I have not been able to find any adapters -- just stubs in the DB
Prism source?
-
Please check that your question has not already been answered in
Hello Guys,
I am creating application portal where i'll be using Sunrise Authentication
and Authorization. I think I have implemented the basics of Authentication
and what left is the implementations of the Authorization.
Can anyone give me any examples on how to implement these in my
On 16.Oct.2002 -- 03:14 PM, Antonio Gallardo Rivera wrote:
Hi! I am finished a challenge with Modular Database Actions. :)
Can someone tell me if there are some similar in the FormValidator?
No. There's one reading request attributes and one reading session
attributes. And of course the
64 matches
Mail list logo