Do you have a "copy-over" template in your logicsheet like:
Giacomo
On Mon, 30 Sep 2002, Jerry Fowler wrote:
> 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
>
Hi all -
I'm playing with the WebServiceProxy, and the server I'm contacting does
not generate an 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:
org.apache.cocoon.ProcessingException: In
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 files
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'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
Alle 15:35, lunedì 30 settembre 2002, Vadim Gritsenko ha scritto:
> Gabriele,
>
> Some comments.
>
> 1. Saxon does *not* support incremental processing, thus:
>
> effectively does nothing.
Thank you, I didn't know
> 2. Saxon works with XSP. I do have an app with Saxon only (no Xalan) and
> XSPs.
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 I'v
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:
---
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
Hey Matt,
I see that you have:
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 have
Cocoon 2.
Regarding your problem... This bit seems Ok to me:
prevurl
nexturl
I can rec
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
- Or
Hello,
After an ESQL query, I obtain the resulats in a file XML, with amongst other things syntax below:
< member > < profilHairColor>4 < profilEyesColor>2 < profilOccupation>8
I wish to make correspond in the final result (HTML) the values of the various fields with their interpretation (for pr
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:
sqlserver
{? = call Rp_OperDocs(
37521
)}
What wron
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 transf
Webdesign, Softwaredevelopment and
Webhosting
URL:
http://www.StarLine-Net.de
mfg Matthias Koch ( StarLine
)
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! works fine!
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 ca
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 :(.
>
> http://localhost:808
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 org.apache.avalon
Zein wrote:
>Thank you! works fine!
>
>Just one more question:
>
>Is it possible to use -tag in 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
>regards,
>Zein
>
>
>- Original Mess
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, /cocoon/he
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
##
http://www.w3.org/1999/XSL/Transform";
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
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,
-
Thank you! works fine!
Just one more question:
Is it possible to use -tag in to prepare the
thrown exception
for html or wml whichever device the query came from?
regards,
Zein
- Original Message -
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, S
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: Serializ
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 sin
Do you use XInclude or CInclude?
Did you ever try with
? 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 xi:include element by XSLT and then use the xin
Try this:
String formula = ((String));
I dont know why but the only way I can make this was using another set of ()
for all the expresion
Antonio Gallardo
El Lunes, 30 de Septiembre de 2002 09:12, Gabor Bartha escribió:
> Hi,
>
> I want to use the esql:get-string method to initialize a
Matt MacDougall wrote:
>Vadim,
>
>Thanks for the help. You're right, there is no , I meant
>.
>
Where / how you are using XSL? All I see is XSP page. What's your sitemap?
>Right now I have report.xml which is called through the url like
>domain.com/report.xml?id=100. This file includes repor
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 ini
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 ha
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 java.util
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 d
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" instea
You can do this with a standard xsl stylesheet and xsl:call-template. Something like
this
Hair Color
You could also put the values in an external xml file and use the document() function.
Hair Color
where lookup.xml is something like this
Brown
etc...
I'm sure there are plent
>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:
>
>
>
>
>
>
Thank you, that you have been so patient ... this is my xml out:
http://apache.org/cocoon/XSPDoc/v
Hello,
After an ESQL query, I obtain the resulats in a file XML, with amongst other things syntax below:
< member > < profilHairColor>4 < profilEyesColor>2 < profilOccupation>8
I wish to make correspond in the final result (HTML) the values of the various fields with their interpretation (for pr
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 Web
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. Bu
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:
Best regards,
P.S.
You could use "views" to the same effect, but this is an *advanced* topic :)
---
Vadim,
Thanks for the help. You're right, there is no , I meant
.
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 now I'm just
working with x
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:
>
>
> String formula = ;
>
>
> But I got incompatible types exception. If I tried to use casting:
>
>
> String formula = (String);
>
>
> I
Hi,
I want to use the esql:get-string method to initialize a java String
object like this:
String formula = ;
But I got incompatible types exception. If I tried to use casting:
String formula = (String);
I got inconvertible types Exception.
How can I use that variable as a java Stri
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, b
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 w
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 hyphenati
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)
>
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 an
> -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 wro
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 && this.par
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'
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
>>
>>
>>>
Gabriele,
Some comments.
1. Saxon does *not* support incremental processing, thus:
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 need
Xalan.jar if you are using XPath component.
3
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
Matt MacDougall wrote:
>Hello,
>
>I'm having a problem getting the results of a Java function wrapped in
> 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 template.
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 th
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
> 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:
> >
> >
> > 100
> >
> >
> > My XSL f
> 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:
>
>
> 100
>
>
> My XSL file is as follows:
>
>
>
>
>
> Menu
Menu
This should help.
Konstantin
>
>
>
Hi,
I have an xml file as follows:
100
My XSL file is as follows:
Menu
Now my xsl file has a static URL.But I need a dynamic
URL.Each and everytime when my userid changes in the
xml file my stylesheet should get the userid from the
xml file.How should my stylesheet look like in tha
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:
with add-navigation.xsl:
http://www.w3.org/1999/XSL/Transform";
xmlns:xi="http://www.w3.org/2001/XInclude";>
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 situati
> 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, St
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 g
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:
Cocoon User <[EMAIL PROTECT
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 C
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 c
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
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 :
http://stealthis.athensgroup.com/presentations/Model
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 out
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 st
> 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
> p
Jerome,
Here a suggestion without knowing Leigh Dodds' tutorial ...
I would write an action that puts the path as a variable into the sitemap.
...
Your action has to
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
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 webap
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";>
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
objec
> 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
GI
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
Sectio
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:
81 matches
Mail list logo