On 29.Sep.2002 -- 01:33 PM, Leszek Gawron wrote:
What should I do to include sendmailaction.java in source compilation ?
ouzo
Have activation.jar and mail.jar from sun in libs/optional or
libs/local
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint:
At 20.40 27/09/2002 +0200, you wrote:
Jessica,
three things:
1) could you please post the output of myfile.xml (in other words, the
input of myfile.xsl) ?
I hope you wanted the output of the xml file in the browser
output:
title document 1
dummy content doc 1
10
Author1
Section A
I hope you wanted the output of the xml file in the browser
Well, I'd like the tagged version of it (View / Page source would do)
Because I work in Italy ?!
Makes sense.
Best regards,
-
Luca Morandini
GIS
hi folks
i have make an html form than post an XML file (object with javascript)
using XMLHTTP
is there any way in cocoon to receive this post an simple echo this XML
object in browser?
(if not cocoon a tomcat webapp)
i want to find a very simple example to test if i can transport an XML
At 11.00 30/09/2002 +0200, you wrote:
Thank you a lot for your answer :
I hope you wanted the output of the xml file in the browser
Well, I'd like the tagged version of it (View / Page source would do)
My tagged version:
html xmlns:xs=http://www.w3.org/2001/XMLSchema;
head
META
Tuomo Lesonen wrote:
On Sat, 28 Sep 2002, funing wrote:
Hi!
I can run my webapp by http://host:8080/cocoon/xxx correctly.
How to access it without cocoon by http://host:8080/xxx ?
I change the map:pattern but it doesn't work :(
Or rename webapps/ROOT to webapps/tomcat, and rename
Hi all,
I went trough Leigh Dodds Database driven website tutorial (very interesting)
and I have now a question on a slightly different architecture:
My content is NOT stored within a database Only the PATHs to the
content is stored therein
I cannot figure out (and this for a
Jerome,
Here a suggestion without knowing Leigh Dodds' tutorial ...
I would write an action that puts the path as a variable into the sitemap.
map:pipeline
map:match pattern=blabla
map:act type=your-action
map:generate src={your-path}/
I have succeded in transforming Docbook to pdf and to html on cocoon
2.0.3
using the stylesheet by Norman Walsh on the official docbook repository
(http://docbook.sourceforge.net/projects/xsl/index.html).
Cocoon has some weakness in doing this and I spent 15 days to make it
work
On 30.Sep.2002 -- 12:24 PM, Jerome Iffrig wrote:
Hi all,
I went trough Leigh Dodds Database driven website tutorial (very
interesting) and I have now a question on a slightly different architecture:
My content is NOT stored within a database Only the PATHs to the content
is stored
There are a lot of questions raised around Cocoon and Struts, but few
(if any) answers of how to combine the two - FAQ-food?. I am now in the
process of attempting the combination and not being very knowledgeable
in either Cocoon, Struts, JSP, I feel at times pretty lost. Could
someone help me
Hi Dag ! Does your Struts work standalone without Cocoon's part ? if not,
you have to check correctness of your sample webapp.
I studied Struts before Cocoon, and you can dig for info there :
[EMAIL PROTECTED]
You also can read this document :
Jessica,
ahem... I wrote: could you please post the output of myfile.xml (in other words, the
input of myfile.xsl), while you sent me the
final output (the one outputted by myfile.xsl).
Best regards,
-
Luca Morandini
I haven't worked with 2.1, but in 2.03, you can use the stream generator to capture
form data and use it in a cocoon pipeline. The form-name parameter specifies the form
input tag that contains your xml data.
b
Cocoon User [EMAIL PROTECTED] wrote:
think about how POST work. with POST we can
Barbara Post wrote:
Hi Dag ! Does your Struts work standalone without Cocoon's part ? if not,
you have to check correctness of your sample webapp.
Yes.
As I wrote, I believe the problem is in Cocoon releasing it's control to
Struts, but I can't figure out how.
I studied Struts before
I'm not that familiar with XMLHTTP, but you can echo back the input of any cocoon
stream by placing an xml serializer after the generator. If, for instance, you were
using the 2.0.3 StreamGenerator to post the data, your pipeline would look like this:
map:match pattern=test
map:generate
Hello
I'm having problems with a sub-sitemap
I'm on 2.0.3 release. It works on tomcat 4.0.1 and 4.0.4 but doesn't with
4.1.10 or 4.1.12
The example subsitemap http://10.1.1.2:8080/cocoon203/sub/ shows the same
problem.
It's a problem of sitemap 'inheritance' as far as I can tell.
The error I
From: Dag Nygaard [mailto:[EMAIL PROTECTED]]
There are a lot of questions raised around Cocoon and Struts,
but few (if any) answers of how to combine the two -
FAQ-food?. I am now in the process of attempting the
combination and not being very knowledgeable in either
Cocoon, Struts,
Dag,
I would have prefered a Cocoon-only environment, but for political
reasons, we have to try a combination first. Previous poster has also
described such a pipeline without describing the setup, and we want to
see if there is a gain in the combination.
I am facing a similar situation
Hi,
I want to add an xi:include element by XSLT and then use the xinclude
transformer to include the referenced XML. So I tried this:
map:match pattern=article
map:generate src=xml/article.xml/
map:transform src=xsl/include/add-navigation.xsl/
map:transform type=xinclude/
Hi,
I have an xml file as follows:
user
userid100/userid
/user
My XSL file is as follows:
xsl:template match=user
html
/body
a href=/cocoon/hello?userid=100Menu/a
/body
/html
/xsl:template
Now my xsl file has a static URL.But I need a dynamic
URL.Each and everytime when my userid changes
From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]]
Please do not ask pure XSLT questions here. Take a look at XSLT specific
mail lists.
Hi,
I have an xml file as follows:
user
userid100/userid
/user
My XSL file is as follows:
xsl:template match=user
html
/body
a
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]]
Please do not ask pure XSLT questions here. Take a look at
XSLT specific mail lists.
Hi,
I have an xml file as follows:
user
userid100/userid
/user
My XSL file
At 13.24 30/09/2002 +0200, you wrote:
Jessica,
ahem... I wrote: could you please post the output of myfile.xml (in other
words, the input of myfile.xsl), while you sent me the
final output (the one outputted by myfile.xsl).
Best regards,
I am sorry, but I haven't understand where is the
Jessica,
ok, let's get this straight:
1) the myfile.xml XML (actually, an XSP file) produces an XML document (as a SAX
stream)
2) the myfile.xsl reads this SAX stream, transforms it, and produces yet another SAX
stream (which happens to be XHTML)
3) your browser displays it
I'd like to see
Matt MacDougall wrote:
Hello,
I'm having a problem getting the results of a Java function wrapped in
xsp:logic tags to display on my page. All I would like to do is display
the value of the variables prevurl and nexturl on the page. This code below
is in an xsl file outside of the main
Dario Liberman wrote:
Hello,
I am having problems Installing cocoon-2.0.3 on top of a fresh jwsdp1_0_01
and j2sdk1.4_0_01 installation running on a winNT4.0 SP6a
Is it cocoon binary dist or source dist? Are you trying to deploy
cocoon.war or unpacked webapp? If it is war file, see recent
Gabriele,
Some comments.
1. Saxon does *not* support incremental processing, thus:
parameter name=incremental-processing value=false/
effectively does nothing.
2. Saxon works with XSP. I do have an app with Saxon only (no Xalan) and
XSPs. Never had any problem. The only problem is you still
Alex Romayev wrote:
--- Vadim Gritsenko [EMAIL PROTECTED]
wrote:
Alex Romayev wrote:
I'm still struggling with this problem. Let me try
to state it more clearly:
I would like to write XML to a file. My XML
contain
namespaces. I declare the namespaces in the
Christopher Watson wrote:
Hello
I'm having problems with a sub-sitemap
I'm on 2.0.3 release. It works on tomcat 4.0.1 and 4.0.4 but doesn't with
4.1.10 or 4.1.12
The example subsitemap http://10.1.1.2:8080/cocoon203/sub/ shows the same
problem.
It's a problem of sitemap 'inheritance' as far
Which is a matter of editing
src/java/org/apache/cocoon/components/ExtendedComponentSelector.java,
adding the following method at the end of the file and rebuilding Cocoon.
public boolean hasComponent(Object hint) {
boolean exists = super.hasComponent( hint );
if ( !exists
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: 30 September 2002 14:51
To: [EMAIL PROTECTED]
Subject: Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed
sitemap 'inheritance' - anyone seen this and have any ideas?
Christopher Watson wrote:
Lajos, Many thanks. I'll give it a go.
-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: 30 September 2002 15:04
To: [EMAIL PROTECTED]
Subject: Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed
sitemap 'inheritance' - anyone seen this and have any
At 15.24 30/09/2002 +0200, you wrote:
Jessica,
ok, let's get this straight:
1) the myfile.xml XML (actually, an XSP file) produces an XML document (as
a SAX stream)
2) the myfile.xsl reads this SAX stream, transforms it, and produces yet
another SAX stream (which happens to be XHTML)
3) your
Hi Joerg Pietschmann,
I checked out und built fop out of branch fop-0_20_2-maintain as you told
me.
Whe I test this version referring to my described problems with
hyphenation I always get the following error message:
[ERROR] Couldn't find hyphenation pattern de
[ERROR] Error building
I
keep getting this error from cocoon, whenever I use the svg2png serializer. I checked the archives for this, and found a
few people with similar errors, but it seems none of them had a reply. The
error only appears in the logs, and does not seem to cause any problems, but it
is a little
Hi Frank!
It seems I've got it going at last ...
What I've done:
1)I compiled and built Cocoon2.1-dev from the cvs directory.
2)Then I replaced xalan-2.3.1, xercesImpl-2.0.0 with those supplied with
Cocoon-2.0.1: xalan-2.0.0 and xerces1.4.4. And it works! My PDF are
good!
3) I replaced FOP too,
Hi,
I want to use the esql:get-string method to initialize a java String
object like this:
xsp:logic
String formula = esql:get-string column=formula/;
/xsp:logic
But I got incompatible types exception. If I tried to use casting:
xsp:logic
String formula = (String)esql:get-string
On 30.Sep.2002 -- 05:12 PM, Gabor Bartha wrote:
Hi,
I want to use the esql:get-string method to initialize a java String
object like this:
xsp:logic
String formula = esql:get-string column=formula/;
/xsp:logic
But I got incompatible types exception. If I tried to use casting:
Vadim,
Thanks for the help. You're right, there is no xsp:value-of, I meant
xsl:value-of.
Right now I have report.xml which is called through the url like
domain.com/report.xml?id=100. This file includes report.xsl which chooses a
stylesheet based in the value of /page/report/@output. For
Jessica,
you have a pipeline, do you ? You just have to comment the transformation stage and
change the serializer from HTML to XML of that
pipeline, something like:
map:match name=wildcard pattern=foo.xml
map:generate type=serverpages src=xsp/foo.xsp/
!-- Commented out for debug
Hi Viktor!
Ok then there would another alternative for me. But the
disadvantage is that you use Xalan 2.0.0. which is told
to be little bit buggy.
When I'm not able to solve the problem with fop-0_20_2-maintain I
will test your solution.
P.S: I eliminate the error with serialVersionUID.
diArt - http://www.diart-berlin.de/ is an online art gallery that
supports the commercial side of the Künstlerförderung Berlin, which
promotes young artists with work contracts. The artist manufactures one
or several works of art, which are transferred to the Künstlerförderung
Berlin. The
Hello,
After an ESQL query, I obtain the resulats in a file XML, with amongst other things syntax below:
member profilHairColor4/profilHairColor profilEyesColor2/profilEyesColor profilOccupation8/profilOccupation /member
I wish to make correspond in the final result (HTML) the values of
you have a pipeline, do you ? You just have to comment the transformation
stage and change the serializer from HTML to XML of that
pipeline, something like:
map:match name=wildcard pattern=foo.xml
map:generate type=serverpages src=xsp/foo.xsp/
!-- Commented out for debug
You can do this with a standard xsl stylesheet and xsl:call-template. Something like
this
xsl:template match=member
TABLE
xsl:apply-templates/
/TABLE
/xsl:template
xsl:template match=profilHairColor
TRTDHair Color/TDTD!-- xsl:call-template goes here with . as arg --/TD/TR
/xsl:template
You
Jessica,
good, now I can sort it out:
1) The XML produced by the XSP is not particolarly suited to the purpose; a better
output is attached as myfile.xml (please, note
the embedding of chapter and paragraph elements)
2) The XSLT you wrote is procedural, but should be declarative instead. A
Christopher Watson wrote:
...
These were fixed later on, in 2.0.4-dev.
I'd rather use the interpreted sitemap. It seems to improve reload
dramatically!
Could you tell me what files I would have to update, and how to get them?
I looked at http://cvs.apache.org/viewcvs.cgi but don't see a
Przybilla, Frank wrote:
P.S: I eliminate the error with serialVersionUID. But now there is the
follwing error message when I run fop built from fop-0_20_2-maintain:
[ERROR] Error building hyphenation tree for language de
java.lang.ClassCastException: cannot assign instance of
Alle 12:38, lunedì 30 settembre 2002, Diana Shannon ha scritto:
I have succeded in transforming Docbook to pdf and to html on cocoon
2.0.3
using the stylesheet by Norman Walsh on the official docbook repository
(http://docbook.sourceforge.net/projects/xsl/index.html).
Cocoon has some
Hi J.Pietschmann,
Thank you very much, I will try it out. In the meantime I fixed
it manually so that this fop version works now stand-alone.
But I have the problem that cocoon is not working with
this fop version ( and also not with fop-0.20.4). I always get the following
error during cocoon
Do you use XInclude or CInclude?
Did you ever try with
xi:include xml:base=cocoon: href=included.xml/
? Although you then need another pipeline to generate included.xml.
Although your original version should work principally.
HTH
Michael
Johannes Koch wrote:
Hi,
I want to add an
Przybilla, Frank wrote:
But I have the problem that cocoon is not working with
this fop version ( and also not with fop-0.20.4). I always get the following
error during cocoon initialization:
...
When I check the logs I recognize that maybe the LogKit is the problem. I
have read that since
Yes My full name is Jakob.
Is it so that Cocoon use the cache in the Work Directory when working with the command
line tool.
//Jakob
- Original Message -
From: Luca Morandini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 12:27 AM
Subject: RE: Serializig
Thank you! map:handle-errors works fine!
Just one more question:
Is it possible to use map:select-tag in map:handle-errors to prepare the
thrown exception
for html or wml whichever device the query came from?
regards,
Zein
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
Jakob,
caching is a science in itself... Cocoon relies heavily on caching, which, at
development time, may be a nuisance.
AFAIK, the use of caching is the same whether you're calling an URI from a browser or
from command-line.
Best regards,
-
Vadim Gritsenko wrote:
3. I might be mistaken, but I do not see why Saxon needs to be modified.
Cocoon by default will use Xerces parser, not Aelfred, and from Saxon
only XSLT engine will be used.
It depends. Saxon has the service for XML parsers set to AElfred, and if
the saxon.jar is in
Here's the full xsl page (minus a little html to save space). I've attached
the full report.xml file as well in case it is needed ... thanks again for
the help, this stuff was dumped in my lap and I'm obviously a newbie ;-)
-Matt
html.xsl
##
?xml version=1.0?
xsl:stylesheet
Hello all,
This might be a WebLogic specific problem (and I apologize if this turns out
to be the wrong forum) but I just want to see if anyone's seen this before.
I (finally) got the cocoon 2 welcome page to show up under WLS6.1sp2 - but
that's it. Anything else like /cocoon/status,
Zein wrote:
Thank you! map:handle-errors works fine!
Just one more question:
Is it possible to use map:select-tag in map:handle-errors to prepare the
thrown exception
for html or wml whichever device the query came from?
Yes. map:select, map:match, map:action - all are allowed.
Vadim
I just updated C2.1-dev from CVS, installed with build
installscratchpadwar and I cannot find the authenitication framework
anymore :(.
http://localhost:8080/cocoon/samples/authentication/login
The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
notifies that
I posted this 14 hours ago, but nobody answer me. :(
Antonio Gallardo
El Lunes, 30 de Septiembre de 2002 14:40, Ugo Cei escribió:
I just updated C2.1-dev from CVS, installed with build
installscratchpadwar and I cannot find the authenitication framework
anymore :(.
Sorry, but couldn't you both remove some old quotations? Your mails are
about 16, 17 KB for 5 lines.
Regards,
Joerg
Luca Morandini wrote:
Jakob,
caching is a science in itself... Cocoon relies heavily on caching, which, at
development time, may be a nuisance.
AFAIK, the use of caching
Thank you for your help!
Now everything does what it has to do.
Zein
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 30, 2002 10:23 PM
Subject: Re: [newbie] ESQL Error Handling
Zein wrote:
Thank you! map:handle-errors
Webdesign, Softwaredevelopment and
Webhosting
URL:
http://www.StarLine-Net.de
mfg Matthias Koch ( StarLine
)
Here are a few snippets i use to exchange xml data from a client side js and cocoon2.
My scenario is: the client browser save an xml file on the server using the source
write transformer.
If you need to echo the file back to the browser, just serialize it again, eventually
after another
I'm trying to get a result set from stored proc but it ends with error:
org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate():
java.lang.RuntimeException: Error
getting clob data: null
the code snippet:
esql:connection
esql:poolsqlserver/esql:pool
Hello,
After an ESQL query, I obtain the resulats in a file XML, with amongst other things syntax below:
member profilHairColor4/profilHairColor profilEyesColor2/profilEyesColor profilOccupation8/profilOccupation /member
I wish to make correspond in the final result (HTML) the values of
Folks,
when I call an Oracle Stored Procedure with SQLTransformer the DBMS refuses to execute
it (lamenting a parsing error) if I don't put
the call on one line.
Needless to say, it worked fine up to 2.0.2.
My configuration:
- Windows 2000 Pro SP3
- JDK 1.3.1
- Tomcat 4.0.1
- Cocoon 2.0.3
-
Hey Matt,
I see that you have:
?xml version=1.0?
?cocoon-process type=xsp?
?cocoon-process type=xslt?
?xml-stylesheet href=xsl/report.xsl type=text/xsl?
in your xml file. This makes me think that you use Cocoon 1. You should
be stating this from the very beginning - I was assuming that you
thanx for the answer
but can u give me an axample how to call this cocoon patern
what's the baseurl?
On Mon, 30 Sep 2002, Giuseppe Bonelli wrote:
Here are a few snippets i use to exchange xml data from a client side js and cocoon2.
My scenario is: the client browser save an xml file on
Gentlefolk:
I'm using the off-the-shelf Cocoon 2.0.3. I'm trying to roll my own xsp
logicsheet, with an error result that I hope someone will recognize
instantly:
The constructed file, results_test_xsp.java, contains empty package
line, and an empty class declaration, as follows:
Vadim,
Thanks for the ideas and sorry for not mentioning I was using Cocoon 1.8.2.
I tried removing the xslt transformation from the equation and this does
indeed produce the desired output. So at least I know that's working
properly. I'll keep digging and I'll be sure to let you know when
Alle 15:35, lunedì 30 settembre 2002, Vadim Gritsenko ha scritto:
Gabriele,
Some comments.
1. Saxon does *not* support incremental processing, thus:
parameter name=incremental-processing value=false/
effectively does nothing.
Thank you, I didn't know
2. Saxon works with XSP. I do have an
I'm trying to use the Cocoon CLI along with the HTMLGenerator to convert
existing HTML content into well-formed XML en mass. (I have a fairly recent
checkout from CVS.)
I've begun with the docs target in build.xml as a starting point, creating
a new target with incremental modifications.
When I
Alle 12:38, lunedì 30 settembre 2002, Diana Shannon ha scritto:
..
I know you already spent a lot of time on this issue, but (please,
please) how about contributing a patch (snippet) of this doc for the
cocoon cvs/web site or perhaps adding it to CocoonWiki?
Added snippett in cocoonWiki. I
Hi all,
I am trying to pull data from various XML files, using
cinclude, and I just seem to be missing something obvious.
I went through the list archives, but my problem seems
to be much simpler than what I found there.
I have been using the XSL document() function to get
a value from the
Hi all -
I'm playing with the WebServiceProxy, and the server I'm contacting does
not generate an ?xml version=1.0? tag at the start of their response.
Thusly, I get the following error:
Cocoon 2 - Internal server error
type fatal
message Error invoking remote service:
Do you have a copy-over template in your logicsheet like:
xsl:template match=@*|*|text()|processing-instruction()
xsl:copy
xsl:apply-templates select=@*|*|text()|processing-instruction()/
/xsl:copy
/xsl:template
Giacomo
On Mon, 30 Sep 2002, Jerry Fowler wrote:
Gentlefolk:
79 matches
Mail list logo