I'm trying to use a resource and have the following. I use c203 binary for
jvm 1.3 (jdk 1.3.1).
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: mlForm could not be found. (possible classloader
problem)
at
The documentation seems to be scarse or I did not look in the right place...
thanks :-)
Babs
-
Please check that your question has not already been answered in the
FAQ before posting.
hi cocooners,
i've been using cocoon right now not for a long time and i'm bit satisfied
with it..
now i've a big problem and i wonder if this chain is possible ,if yes what
do i need to implement and code to do it with cocoon? :
1) after a FileGenrator and an XalanTransformer, i want a
Hi!
I want to create cocoon component to access a datasource. I have found
in cocoon documentation (cocoon-2.0.3/docs/developing/datasources.html)
a string:
... your class needs to implement the Avalon Composer interface.
and an example that shows implementation of compose method.
BUT the
- Original Message -
From: Ivan Luzyanin [EMAIL PROTECTED]
To: cocoon-users [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 11:30 AM
Subject: [Q] Avalon Composer interface - WHERE IS IT?
Hi!
I want to create cocoon component to access a datasource. I have found
in cocoon
if I checkout xml-cocoon2 with checkout option : by revision/tag branch :
cocoon_2_0_3 do I get something different from cocoon 2.0.3 src file I have
on http://xml.apache.org/dist ?
I know that HEAD will output the latest dev., i.e. cocoon 2.1, right ?
thanks, I just need to know wheter the
Hello,
I get the following error when using the XmlFormTransformer in my
pipeline.
I have to add, that I get this error only with one xml file, which is
quite large.
So is there a known problem with large file?
java.util.EmptyStackException
at
Hello,
We are impressed by the cocoon-portal. And we want to use it for our needs.
We want to display different coplets in our portal. Is it possible to change
the content of one coplet without removing it.
Consider following scenario:
- a coplet contains a linklist to other local
Hi Dirk,
Great that you like the portal!!
- a coplet contains a linklist to other local resources
- clicking on one link loads the desired target within the same coplet
there are several ways of doing this:
If the coplet is supposed to remember the selected resource then:
Make the
Ooops:
copying and touching hello-page.xml: works, works not, works, ...
Can this be? OK. I will test it.
A new test case attached. Un-targz it and drop the directory into
cocoon/mount/.
The only difference between the hello-pages i can see are the file
dates. In the sitemap i have only
Dear Cocoon readers !
I need to transform a xslt stylesheet before using it over an xml file.
In fact, what I want to do is to modify the stylesheet so that a parameter,
taken out of the http request, could be used as an xpath string inside an
xsl:apply-templates' select attribute.
The problem
the trick you're looking for is:
map:transform src=stylesheets/element.xsl
map:parameter name=use-request-parameters value=true/
map:parameter name=path value={1}/{2}/
/map:transform
The parameter use-request-paramaters will (almost) automatically make the request
parameters
Sorry, fired that one off too fast, did'nt read the problem thoroughly
the trick you're looking for is:
map:transform src=stylesheets/element.xsl
map:parameter name=use-request-parameters value=true/
map:parameter name=path value={1}/{2}/
/map:transform
The parameter
I think Xalan has an evaluate() function that allows dynamic
constraction of an Xpath expression.
Hth,
Manos
-Original Message-
From: GB [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 3:26 PM
To: [EMAIL PROTECTED]
Subject: Modifying an xslt stylesheet before
From: GB [mailto:[EMAIL PROTECTED]]
Dear Cocoon readers !
I need to transform a xslt stylesheet before using it over an
xml file.
In fact, what I want to do is to modify the stylesheet so
that a parameter,
taken out of the http request, could be used as an xpath
string inside an
Hi, I am attempting to use an XSP file as the descrfiptor for the
FormValidator.
When I access the xsp file directly I see the correct output, but via
the sitemap I get this error:
ERROR (2002-07-18) 08:22.27:019
[sitemap.action.form-validator](/accounttariff/validate)
Hi,
I have an xml file which is as follows:
simple.xml
--
menu
person
gender sex=Male
nameRamesh/name
/gender
/person
person
gender sex=Female
nameKavitha/name
/gender
/person
person
/menu
and my xsl file is as follows:
simple.xsl
--
i18n:texttext1/i18n:text
Thanks a lot for your help.
I finally managed it with the use of an xalan:evaluate($q) inside the
select !
And it works, if you declare the xalan namespace !
I will keep in mind the trick of the cocoon:/myStylesheet.xsl to call a
pipeline from inside an other !
Guy Bobenrieth
From: Paul Mchugh [mailto:[EMAIL PROTECTED]]
Hi All,
I'm a new-comer to Cocoon and would like to find out if it is possible
to use
its services from within an existing tomcat webapp, rather than
deploying the
cocoon servlet in its own webapp.
My own webapp has some servlets and java
Read on:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersw=2r=1s=global+parame
tersq=b
about input modules and other options.
Vadim
From: icewind [mailto:[EMAIL PROTECTED]]
I searched the mailing list archives for sitemap
variables and sitemap parameters but didn't find
anything
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:i18n=http://apache.org/cocoon/i18n/2.0;
xsl:template match=gender
i18n:textxsl:value-of select=@sex//i18n:text
xsl:text/ xsl:value-of select=name/
/xsl:template
/xsl:stylesheet
in
Othman,
2) i want to stor my xml file and not displaying it anywhere.
See SourceWritingTransformer and slash-edit/ demo.
3)i don't want to use cocoon as a servlet, can i call it from
a java program for instance?
Other guy recently asked same question. You can take a look at Main.java
thank you,i'll take a look at it :)
---Message original---
De : [EMAIL PROTECTED]
Date : jeudi 18 juillet
2002 15:48:23
A : [EMAIL PROTECTED];
'Othman Haddad'
Sujet : RE: a serious
xml-java chaining...
ok,
but how about the 1st question?:
1)after a FileGenrator and an XalanTransformer, i want a
transformercomponent SourceCode Genrator of castor-like or jaxme-like
"to generatejava beans" and another component which can reverse the
process:
From: Jesse Reynolds [mailto:[EMAIL PROTECTED]]
Hi
I'm trying to get Xerces 2 (that comes with Cocoon 2.0.2) to parse
MacRoman encoded xml files.
According to the Xerces FAQ
(http://xml.apache.org/xerces2-j/features.html) you can run the
following java code to tell it to recognise
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
what headers are sent by flash when you call that function?
Geoff Howard
-Original Message-
From: Daniel Meier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: xml and
From: Amir Rosen [mailto:[EMAIL PROTECTED]]
Hi,
Is there a (simple) way to override the default cocoon behavior when
uploading
a file ?
Is there a role I should implement and configure ?
See //components/request/RequestFactory, and request-factory servlet
init parameter in web.xml
Hi Jeorg,
Thanks for your reply.
Nothing is happening when I tried your code.In the xsl file should
I add the message keys Male and Female?
Kavitha
On Thu, 18 Jul 2002 Joerg Heinicke wrote :
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
From: Barbara Post [mailto:[EMAIL PROTECTED]]
I'm trying to use a resource and have the following. I use
c203 binary
for
jvm 1.3 (jdk 1.3.1).
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Sven Kuenzler
Ivan Luzyanin schrieb:
I want to create cocoon component to access a datasource. I have
found
in cocoon documentation
(cocoon-2.0.3/docs/developing/datasources.html)
a string:
... your class needs to implement the
From: Barbara Post [mailto:[EMAIL PROTECTED]]
if I checkout xml-cocoon2 with checkout option : by revision/tag
branch :
cocoon_2_0_3 do I get something different from cocoon 2.0.3 src file I
have
on http://xml.apache.org/dist ?
No.
I know that HEAD will output the latest dev., i.e.
From: Barbara Post [mailto:[EMAIL PROTECTED]]
if I checkout xml-cocoon2 with checkout option : by revision/tag
branch :
cocoon_2_0_3 do I get something different from cocoon 2.0.3
src file I
have
on http://xml.apache.org/dist ?
No.
Isn't this dependant on whether any changes
Hi.
I just downloaded cocoon-2.0.3 to take advantage of the new modular
actions, but I couldn't find any examples of their use on the sitemap.
I want to use the new DatabaseSelectAction to get some data passed to my
XSLT transformer.
It would be great if you can point me to an actual example.
What's your output? You should at least see 'Male' and 'Female' in the
output. If you don't specify a key (i18n:key attribute), the text in the
i18n:text/i18n:text element is used as key, therefore I wrote
xsl:value-of select=@sex/.
How does your sitemap according i18n look like? What's
From: Eric di Domenico [mailto:[EMAIL PROTECTED]]
Hi, I am attempting to use an XSP file as the descrfiptor for the
FormValidator.
How do you do this?
Vadim
When I access the xsp file directly I see the correct output, but via
the sitemap I get this error:
ERROR (2002-07-18)
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
From: Barbara Post [mailto:[EMAIL PROTECTED]]
if I checkout xml-cocoon2 with checkout option : by revision/tag
branch :
cocoon_2_0_3 do I get something different from cocoon 2.0.3
src file I have
on http://xml.apache.org/dist ?
From: kavitha ramesh [mailto:[EMAIL PROTECTED]]
Hi Jeorg,
The output is just a blank page.My sitemap is as follows(My file
is a jsp file):
map:match pattern=jsp/*
map:generate type=jsp src=/concatenate/jsp/{1}.jsp/
map:transform type=i18n/
map:transform src=conc.xsl/
Hi Konstantin,
1.I checked the cocoon log file and it says that:
DEBUG (2002-07-18) 17:15.25:840 [cocoon ]
(/cocoon/concatenate/jsp/conc) HttpProcessor[8080][4]/DefaultPool:
Retrieving a
org.apache.cocoon.components.pipeline.CachingEventPipeline from
the pool
2.I use JSP since I dont
map:match pattern=jsp/*
map:generate type=jsp src=/concatenate/jsp/{1}.jsp/
map:transform type=i18n/
map:transform src=conc.xsl/
map:transform type=i18n/
map:serialize type=html/
/map:match
Hello Kavitha,
can you shorten the pipeline and see what the output is?
I would start with
From: kavitha ramesh [mailto:[EMAIL PROTECTED]]
Hi Konstantin,
1.I checked the cocoon log file and it says that:
DEBUG (2002-07-18) 17:15.25:840 [cocoon ]
(/cocoon/concatenate/jsp/conc) HttpProcessor[8080][4]/DefaultPool:
Retrieving a
Vadim Gritsenko schrieb:
From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Sven Kuenzler
... your class needs to implement the Avalon Composer interface.
This is a typo methinks.
It's no typo, it's a fossil :)
Hm, software archeology? Sounds cool ;-)
Sven
hi there
i'm having som etroubles to get this running.
tomcat 4.0.3 is running perfect with jdk 1.3 and jdk 1.4.
but tomcat doesn't even extract the cocoon.war.
i'm running without xwin, but I have no intention to use batik.
so there are no xlibraries installed.
kind regards
daniel
map:parameter name=descriptor
value=context://xml/accounttariff-form.xsp/
But it only works if I don't mix tags...(like putting an xsp:logic tag
within an esql tag)
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
he.org] On Behalf Of Vadim Gritsenko
Sent:
Hi,
I had a similar problem and solved it with the help of this list. Link
to the message archive:
http://www.mail-archive.com/cocoon-users%40xml.apache.org/msg14778.html
Short and sweet: Headless AWT means you don't need an X server running.
You still need to install your X libraries.
Ivelin Ivanov wrote:
Sounds similar to the recently contributed WebServiceProxyGenerator.
Check it. Maybe you can add improvements instead of writing a new component
with overlapping functionality:
That's right. I will check it out.
Thanks a lot
Michael
On 18.Jul.2002 -- 08:48 AM, Eric di Domenico wrote:
Hi, I am attempting to use an XSP file as the descrfiptor for the
FormValidator.
When I access the xsp file directly I see the correct output, but via
the sitemap I get this error:
ERROR (2002-07-18) 08:22.27:019
Is it possible to return a parameter containing a NodeSet from a Cocoon
action? If I was running an Xalan based servlet I could call a transform
with a parameter that was in fact an org.apache.xpath.NodeSet. I'd like to
do the equivalent in Cocoon. If I just do this directly Cocoon appears to
I have two separate questions relating to
map:aggregate
1. I have a bunch of map:part tags within a
map:aggregate tag. Each xml file that is referenced
in the map:part tags contains lists of the full path
names to other xml files. (The whole purpose of this
thing is to make a list of links the
I've been digging through the
http://xml.apache.org/cocoon/performancetips.html page, and I think I
finally understand most of it. However, there are two points I haven't
figured out yet. 1. What does it mean by saying to disable resource
reloading? 2. How do you check if the documents are
From: Eric di Domenico [mailto:[EMAIL PROTECTED]]
map:parameter name=descriptor
value=context://xml/accounttariff-form.xsp/
Why you are feeding XSP source to the action? Don't you want to give
action result of XSP execution?
I.e.:
map:parameter name=descriptor
jdk1.3.0_02, tomcat 3.2.1
Am upgrading 2.0.2 - 2.0.3, though, as I've removed all cocoon files
from webapps and cleared out tomcat's workfiles, effectively it's a
new install.
build runs through ok, and installs war in webapps (tried both 'build
install' and 'build installwar'). When I start
From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]]
Is it possible to return a parameter containing a NodeSet from a
Cocoon
action?
Not via sitemap. Request or session attributes will do.
If I was running an Xalan based servlet I could call a transform
with a parameter that was in fact
From: icewind [mailto:[EMAIL PROTECTED]]
I have two separate questions relating to
map:aggregate
1. I have a bunch of map:part tags within a
map:aggregate tag. Each xml file that is referenced
in the map:part tags contains lists of the full path
names to other xml files. (The whole
I looked at the threads, and in my sitemap, and
figured that defining something like:
map:global-parameters
map:global-parameter name=doc-base
value=/home/icewind0/cocoon-files/
/map:global-parameters
I can't figure out how to use it in a pipeline. How do
I reference doc-base in one of my
Is it possible to return a parameter containing a NodeSet from a
Cocoon
action?
Not via sitemap. Request or session attributes will do.
I was afraid of that.
[snip]
I suspect the problem is passing the parameter back via the sitemap.
See
Rogier Peters wrote:
the trick you're looking for is:
map:transform src=stylesheets/element.xsl
map:parameter name=use-request-parameters value=true/
map:parameter name=path value={1}/{2}/
/map:transform
The parameter use-request-paramaters will (almost) automatically make the
Hello -
I am a new cocoon user trying to use an action-set
for the first time. Specifically, I'm trying to use
the same action-set as in the cocoon 2.0.2 sample pgm
'employee.xsp' (found under 'Web
Applications'--'Manage
Employee'). The actions in this set update, add or
delete
from a
hallo folks
i managed to run the xalan-example using javascript.
but how could this work with vbscript,
do i need the xslmn3 from microsoft
does anyone have the same problem
thanks for your attention
gerald
-
Please check
A couple of questions about XScript 'language':
- I can't find much (ok, any) documentation about the history of this
component. What was/is it's purpose? I like it but it would be nice to
understand its creators' purposes.
- the XScriptObjectInlineXML object doesn't use a Resolver so it only
Here are some thing I thought might make XScript a little more powerful:
- xscript:get name=a-variable xpath=/top//client[1] /
Uses XPath to search the variable. [Does this require a DOM
representation?]
- xscript:if test=xpath-expression
/xscript:if
Only builds the content between if
Here are some thing I thought might make XScript a little more powerful:
- xscript:get name=a-variable xpath=/top//client[1] /
Uses XPath to search the variable. [Does this require a DOM
representation?]
- xscript:if test=xpath-expression
/xscript:if
Only builds the content
Hi
I think you will have to keep the I18n :Text for Mr and Ms in XML file
only then it will work
I don't think that u can keep the same in XSL files
Regards
Sidharth Ghai
Vmoksha Technologies
VI th Floor, Corporate Towers 'C'
Diamond District
Kodihally
Banglore
Hello All
I am trying to put System.out.println() in XSP:LOgic
This is throwing some error to me, that class not found
But other java logic is workin
Help required for that
Regards
Sidharth Ghai
Vmoksha Technologies
VI th Floor, Corporate Towers 'C'
Diamond District
Kodihally
Banglore
Aur meri jaan khush hai
Kahan ho tum?
Regards
Sidharth Ghai
Vmoksha Technologies
VI th Floor, Corporate Towers 'C'
Diamond District
Kodihally
Banglore
Abe 2.0 mein chlta tha
but 2.0.2 and 2.0.3 mein nahin chal rha jabke baki lan classess le le rha
hai samjh nahin aa rha kya karein
Regards
Sidharth Ghai
Vmoksha Technologies
VI th Floor, Corporate Towers 'C'
Diamond District
Kodihally
Banglore
That' not correct. The output of the XSL transformer is XML and you can
add i18n:text elements to this output XML without any problems. As
long as you use the i18n transformer after the XSL transformer, the text
should be translated.
Regards,
Joerg
[EMAIL PROTECTED] wrote:
Hi
I think you
66 matches
Mail list logo