Re: Is there a sitemap DTD?

2004-02-25 Thread Martin Holz
Hello Jim, Jim Bloggs [EMAIL PROTECTED] writes: Where can I find the sitemap DTD for cocoon 2.1.3, please. I have been looking everywhere for it, including google. I could have sworn I saw it somewhere in passing, but now I can't find it again. Is there such a thing? There is a Relax NG

Re: build.webapp.loglevel does not affect block categories

2004-02-25 Thread Andreas Hartmann
Joerg Heinicke wrote: [...] Have you tried replacing INFO with @loglevel@ as in main logkit.xconf. Does this work or is the value not replaced? I just tried it, it is not replaced. The filter seems to be applied before logkit.xconf is patched. I think this an enhancement bug, isn't it? --

Re: Is there a sitemap DTD?

2004-02-25 Thread gounis
On 25 Feb 2004, Martin Holz wrote: Hello Jim, Jim Bloggs [EMAIL PROTECTED] writes: Where can I find the sitemap DTD for cocoon 2.1.3, please. I have been looking everywhere for it, including google. I could have sworn I saw it somewhere in passing, but now I can't find it again. Is

RE: Redirect based on cache, followed by continuation

2004-02-25 Thread Corin Moss
Hiya, I've looked through the API docs, and have found the class in question (RefresherImpl) Are there any examples of this? I saw reference somewhere to the cron samples using it, but that doesn't seem to be the case. I've searched through the entire samples directory looking for reference

RE: record pipeline result

2004-02-25 Thread H . vanderLinden
As requested by Geoff, I'll update the information: Well, I mentioned processPipelineTo and the non-existent PipelineHelper. I think though I was referring to org.apache.cocoon.components.flow.util.PipelineUtil. You may want to dig through the archives on the dev list for references to

RE: record pipeline result

2004-02-25 Thread Corin Moss
Hiya, I'm not sure if it's considered best practice, but I've just successfully used the XSPUtil.includeSource method. The following is similar, but returns a string representation of the pipeline output (I think): XSPUtil.getSourceAsString(cocoon://PIPELINEGOESHERE, resolver); And the name

Re: Redirect based on cache, followed by continuation

2004-02-25 Thread Bertrand Delacretaz
Le Mercredi, 25 fév 2004, à 10:27 Europe/Zurich, Corin Moss a écrit : ...I've looked through the API docs, and have found the class in question (RefresherImpl) Are there any examples of this? Have you looked at src/blocks/scratchpad/java/org/apache/cocoon/components/readme.txt? There's some

unable to make it work: jdk 1.4.2_03 + jrun4 + cocoon 2.1.4

2004-02-25 Thread Wu, Kenny YK
Title: unable to make it work: jdk 1.4.2_03 + jrun4 + cocoon 2.1.4 Hi, I cannot setup the following system: liunx machine: 2.4.18-3 jdk: j2sdk-1_4_2_03-linux-i586.bin jrun4: build 61650 cocoon: cocoon-2.1.4-src.tar.gz - I create $JAVA_HOME/jre/lib/endorsed directory - I put

Link Livesites: Cocoon 2.1- please remove eDoc 2.1.4 information

2004-02-25 Thread Karol Kozak
Dear Mr and Mss. Sorry. I gave you our project to your Link Livesites www.edoc.mpg.de eDoc. We are not still done with implementation of cocoon. Can we remove this project from page.I let you know if we done implementation. I was thinging that all update processthis pagel ist will take

howto access the user session form serializer

2004-02-25 Thread Thorsten Mauch
Hi I try to write a jasper serializer. Unfortunatly the exporter writes some images into a byte array. The sample jsp pages store this in a session for following requests. I want to make the same in cocoon but i don't know howto access the session from a serializer. Is this possible ? Thx

xslt from cocoon://-protocol and subsite-map stackoverflow in 2.1.4

2004-02-25 Thread Askild Aaberg Olsen
Hi! When upgrading from 2.1.3 to 2.1.4 I got an infinite loop in my application that resulted in out-of-memory. I have narrowed it down to the following simple test-case. This simple test eventually results in a stackoverflow at my system, running WinXP with suns j2sdk1.4.2_02. The testcase

Newbie's question: skills required?

2004-02-25 Thread Matthias Fischer
Hi, is it possible to run a Cocoon server without having any knowledge in Java propgramming, or is it necessesary to be an expert to do this? Matthias Fischer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Newbie's question: skills required?

2004-02-25 Thread gounis
sure . --stavros On Wed, 25 Feb 2004, Matthias Fischer wrote: Hi, is it possible to run a Cocoon server without having any knowledge in Java propgramming, or is it necessesary to be an expert to do this? Matthias Fischer

RE: Newbie's question: skills required?

2004-02-25 Thread Matthias Fischer
Q sure . I interpret this very short answer as: sure, it is possible without programming skills. Correct? -- Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie's question: skills required?

2004-02-25 Thread Bertrand Delacretaz
Le Mercredi, 25 fév 2004, à 12:20 Europe/Zurich, Matthias Fischer a écrit : is it possible to run a Cocoon server without having any knowledge in Java propgramming, or is it necessesary to be an expert to do this? It is possible but depends on what you need to do. For multi-channel publishing

RE: Newbie's question: skills required?

2004-02-25 Thread Antonio Gallardo
Matthias Fischer dijo: Q sure . I interpret this very short answer as: sure, it is possible without programming skills. Correct? Yes! You don't need Java skills at all. Best Regards, Antonio Gallardo. - To unsubscribe,

RE: Newbie's question: skills required?

2004-02-25 Thread Matthias Fischer
Thank you, Bertrand. I have browsed through the mail archive (Users), but of course, there wasn't necessarily a link to a systematic documentation of the sitemap. Can you please send me a link where to get a documentation of the Cocoon sitemap that wouldn't require too extensive a perilimany

RE: Newbie's question: skills required?

2004-02-25 Thread Matthias Fischer
Quick shot by myself -- I found documentation at the Cocoon site itself, so I'm going to read this before coming up with possible further questions... Thank you, Bertrand. I have browsed through the mail archive (Users), but of course,

Re: Howto Display a Progress Page / Bar

2004-02-25 Thread David Tekeshe
Thanks Upayavira, I had taken a break. Let me immerse myself in it will let you know how it goes. Thanks for the automatic refresh trick - I haven't thought of it - I'm going to do some research / implementation in the next two days or so. I would have been nice to grab a quick example. David

Re: build.webapp.loglevel does not affect block categories

2004-02-25 Thread Joerg Heinicke
On 25.02.2004 09:53, Andreas Hartmann wrote: Joerg Heinicke wrote: Have you tried replacing INFO with @loglevel@ as in main logkit.xconf. Does this work or is the value not replaced? I just tried it, it is not replaced. The filter seems to be applied before logkit.xconf is patched. I think this

New Zealand TV Changes from Vignette to Apache Cocoon

2004-02-25 Thread Gustavo Nalle Fernandes
http://www.nzherald.co.nz/business/businessstorydisplay.cfm?storyID=3550878

Re: Link Livesites: Cocoon 2.1- please remove eDoc 2.1.4 information

2004-02-25 Thread Joerg Heinicke
On 25.02.2004 10:44, Karol Kozak wrote: Dear Mr and Mss. Sorry. I gave you our project to your Link Livesites www.edoc.mpg.de eDoc. We are not still done with implementation of cocoon. Can we remove this project from page. I let you know if we done implementation. I was thinging that all update

Use of Session Contexts

2004-02-25 Thread Carlos Dias
Hi all, I need to implement a feature inmy application that, I think, can make use of Session Contexts. I have a XML file with the following information (menu.xml): MENU SUBMENU NAME="SUBMENU1" REPORT NAME="REPORT1" REPORT NAME="REPORT2" /SUBMENU SUBMENU NAME="SUBMENU2" REPORT

Re: Newbie's question: skills required?

2004-02-25 Thread Bertrand Delacretaz
Le Mercredi, 25 fév 2004, à 12:46 Europe/Zurich, Matthias Fischer a écrit : Quick shot by myself -- I found documentation at the Cocoon site itself, so I'm going to read this before coming up with possible further questions... A good start point is to explore the hello world samples. You might

Re: Starting problem with Cocoon

2004-02-25 Thread Geoff Howard
Liesen, Dr. Arndt wrote: Hello, here is an absolute novice to Cocoon trying to get running 2.0.4 under Tomcat 3.2. Instead of the Welcome page http://localhost:8080/cocoon gets me a (judging from the format: cocoon - ) page Internal servlet error indicating Cocoon was not initialized. Cannot

Re: Error running 2.1.3 app in 2.1.4

2004-02-25 Thread Johnson
Hi! when I use the jxform examples in 2.1.4,a error no languages defined! appear. I Found the sitemap.xmap in map:components had a map:flow-interpreters declaration without laguage clause in it. So I delele it(because there're another one in pipelines) and work! I think that's the different

Meaning of Map parameter in resolverURI method (SourceResolver)

2004-02-25 Thread Wouter . DERUYCK
Hello, In my own Action I have to implement the act method as below public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) { On the resolver object that is passed I can call the method : Source resolveURI(String

AW: Meaning of Map parameter in resolverURI method (SourceResolver)

2004-02-25 Thread Marco Rolappe
hi wouter, see below... -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von [EMAIL PROTECTED] Gesendet: Mittwoch, 25. Februar 2004 15:10 An: [EMAIL PROTECTED] Betreff: Meaning of Map parameter in resolverURI method (SourceResolver) Hello, In

Auth fw without HTTP redirect?

2004-02-25 Thread Morley Howell
Hi all, I'm using the auth fw and have it working quite well, except for one issue. My system uses a non-standard client that is not capable of handling HTTP redirects. So when a protected resource is accessed, I want to return some XML to the client, without doing an HTTP redirect. I thought

Unicode, woody, flow script

2004-02-25 Thread htrzewik-usenet
I'm trying to solve problem with Unicode chars. User enters unicode characters into woody forms. Strings with unicode chars go into flow as Form class (Woody). Flow does: cocoon.request.setAttribute(my-form, form.getWidget()); and cocoon.sendPage(my-page); my-page is XSP ServerPage (UTF-16), it

iframes and cocoon

2004-02-25 Thread beate.woerl
Title: iframes and cocoon Hi all, we are using cocoon 2.1.1 and are thinking of changing our application in a way to use iframes in cocoon. Does anybody have experience in using iframes with cocoon, something specific to take into account, some useful link or tips? Thanks a lot Beate

Re: iframes and cocoon

2004-02-25 Thread beyaNet Consultancy
Beate, I am using an iframe in my application with no problems. what would you like to know? Andrew On 25 Feb 2004, at 15:43, [EMAIL PROTECTED]> wrote: Hi all, we are using cocoon 2.1.1 and are thinking of changing our application in a way to use iframes in cocoon. Does anybody have

Deli errors upon Cocoon 2.1.2 startup

2004-02-25 Thread Riddim Dread
I'm using Cocoon 2.1.2 and I keep getting these errors upon startup : java.io.FileNotFoundException java.io.FileNotFoundException at org.apache.naming.resources.DirContextURLConnection.getInputStream(Di rContextURLConnection.java:344) at java.net.URL.openStream(URL.java:913)

Cocoon 2.1.3 davmap sample error

2004-02-25 Thread joe_d_williams
I get the following: cause: java.sql.SQLException: Table not found: SOURCEPROPS in statement [SELECT namespace, name, value FROM sourceprops WHERE source='file:/C:/tomcat/webapps/cocoon-2.1/samples/webdav/davmap/./repo/';] I am running a kitchen sink build of Cocoon 2.1.3 on Tomcat 4.1.27 and

Session Transformer definition

2004-02-25 Thread Carlos Dias
Hi, I'm trying to define in my sitemap the session transformer, like this: map:transformer name="session" pool-grow="4" pool-max="32" pool-min="8" src=""/ But I got the flowing error: Could not load class org.apache.cocoon.webapps.session.transformation.SessionTransformer for component

getting username from session after authentication

2004-02-25 Thread Zamek
Hello All, I need authenticated user's name in my xsl stylesheet to make different menus. There is a session transformer in my sitemap.xmap: map:match pattern=*.html map:aggregate element=office:document map:part src=zip://[EMAIL PROTECTED]/ map:part src=zip://[EMAIL

XML To Excel

2004-02-25 Thread Alka Kapadia
Hi, I have a requirement in my java project. I have the data generated into XML and then we use FO to convert into pdf or cvs depending on the request. Now we also want to convert it to an xls(Excel) format. Can I do it using Coccon. How do I do it? Any help would be appreciated. Thanks

Re: XML To Excel

2004-02-25 Thread Bertrand Delacretaz
How do I do it? Look at the POI block samples, there are some examples. -Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Accessing flowscript's 'bizData' from the sitemap?

2004-02-25 Thread Mark H
Hi there, Does anyone know if it's possible to access flowscript's 'bizData' or local variables from the sitemap i.e. flowscript: cocoon.sendPageAndWait(uri,bean); sitemap: map:transform src={flow:/view/stylesheet}/ Mark H

Re: XML To Excel

2004-02-25 Thread Bert Van Kets
If you don't need formula, you can create an html page with a table and send that to the browser with the application/excel mime type. This data will be opened by Excel and all data shown. It's very easy to do and doesn't require any fancy programming. Just a hint. Bert - Original Message

Antwort: iframes and cocoon

2004-02-25 Thread manfred . weigel
Hi Beate, Your IFrame acts like any other Browser window with its own http requests. So the desired content of your iframe must match a cocoon pipeline (or any other url like an external ads server for example). regards Manfred [EMAIL PROTECTED] am 25.02.2004 16:43:40 Bitte antworten an

Cocoon 2.0.4 on AIX

2004-02-25 Thread Kommirshetty, Sunil
Hi: I am running Cocoon 2.0.4; Tomcat 3.3a; JRE 140 (IBM); OS=3DAIX 5.1; After installing cocoon and tomcat when I try to check cocoon I get = resource not found error. could some help me. Are there any issues with cocoon 2.0.4 on AIX? Thank you,

Re: Unicode, woody, flow script

2004-02-25 Thread Johnson
I do some test and found! 1.the data from database is ok for UTF-8 encoding 2.The html page woody gens also UTF-8. 3.after submit,the typed or pasted to field word changed to strange symbols. So I think it's the problem about java bean about byte and string conversion. you can write a function to

[HELP]Failed to execute pipeline.

2004-02-25 Thread Milkwayboat
The error stack I got: Failed to execute pipeline. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException Original Exception: java.lang.NullPointerException at org.apache.xml.serializer.ToStream.ensurePrefixIsDeclared(ToStream.java:2675) at

Re: Session Transformer definition

2004-02-25 Thread Carlos Dias
Please can anybody help me?!!! Can't find teh correct jar! CD - Original Message - From: Carlos Dias To: [EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 4:40 PM Subject: Session Transformer definition Hi, I'm trying to define in my sitemap the

ESQL update and select statements in the same map:match problem

2004-02-25 Thread gounis
hi people i have the folow code : map:aggregate map:part src=cocoon:/xml/exec.update_point strip-root=yes/ map:part src=cocoon:/xml/exec.get_point strip-root=yes/ /map:aggregate where i call 2 .xsp 1. update_point.xsp where i update a record in my database 2. get_point.xsp

Re: Session Transformer definition

2004-02-25 Thread Stephan Coboos
Carlos Dias wrote: Please can anybody help me?!!! Can't find teh correct jar! CD - Original Message - From: Carlos Dias To: [EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 4:40 PM Subject: Session Transformer definition Hi, I'm trying to define in my sitemap the

Re: ESQL update and select statements in the same map:match problem

2004-02-25 Thread Christopher Painter-Wakefield
I don't know anything about the internal workings of the map:aggregate, but I would guess it is not waiting for the first part to complete before opening a connection for the second part. This would make sense, for performance reasons, and there is no particular reason for cocoon to expect

Authentication fw question

2004-02-25 Thread mirko
Hi, I don't want to restrict access to my pages when the user is not logged, but only make some changes in the layout, etc and in the flow or action I'd check the role of the user and then let him make privileged operations. For me ideally would be that auth fw will provide to me info: if the

Re: ESQL update and select statements in the same map:match problem

2004-02-25 Thread Geoff Howard
It's not a bug -- and I wouldn't recommend using a workaround like the one below (which would probably work). Don't try to modify the data model while it's being turned into sax (the job of the generator). Other non-MVC friendly frameworks force this but Cocoon almost forces you not to

Re: ESQL update and select statements in the same map:match problem

2004-02-25 Thread gounis
this is what i try to do: map:match pattern=xml/get.Design map:select type=request-parameter map:parameter name=parameter-name value=update_point/ map:when test=true map:aggregate element=data type=noncaching map:part src=cocoon:/xml/exec.update_point

RE: Cocoon 2.1.3 davmap sample error

2004-02-25 Thread Unico Hommes
Hmm weird. The webdav block relies on the databases and hsqldb blocks to persist properties on webdav resources. The table it uses is defined in the cocoondb.script that should reside in WEB-INF/db directory of a Cocoon webapp that was built with the databases block included. Could you check

ERROR:No Suitable driver

2004-02-25 Thread Anna Bikkina
Hi, I am trying to create datasources in cocoon. When I use it in esql it works but it does not work when I used excalibur classes(I wrote my own action classes). It gives the following error java.sql.SQLException: No suitable driver In the core.log I found this error

Re: Is there a sitemap DTD?

2004-02-25 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: is it possible to use RelaxNG schema in xml spy? I don't think so (yet). Possible alternatives: - Jing http://www.thaiopensource.com/relaxng/jing.html - Emacs/NTEmacs http://www.gnu.org/software/emacs/windows/ntemacs.html (note FAQ is out of date, and finding binaries is

RE: New Zealand TV Changes from Vignette to Apache Cocoon

2004-02-25 Thread Corin Moss
Title: Message Hi Guys, I'm running this particular development effort, we've not actually yet gone live with the system. Rest assured I'll give you a full update as soon as we have ;) Watch this space, Corin -Original Message-From: Gustavo Nalle Fernandes

Flow problems

2004-02-25 Thread Rafael Alvarado
Title: Message I am trying to set up a flow application, but I am unable to get the sample "game" application running -- the one found in the tutorial (http://cocoon.apache.org/2.1/userdocs/flow/tutor.html). Iam running Tomcat5.0.16 onRedhat9. I havetried to deploy thesubsite in two

Request parameters when method is post

2004-02-25 Thread Anna Bikkina
Hi, I have a xsp form which passed parameters in the post. I cannot access these parameters when the method is post . When the method is get I can access the parameters. Did anyone find the same problem. Is there a way I can come out of it. Thanks, Anna.

Re: Request parameters when method is post

2004-02-25 Thread Christopher Painter-Wakefield
What method are you using to get your request parameters? It works just fine for me, using request.getParameter(param-name) in XSP. -Christopher |-+ | | Anna Bikkina | | | [EMAIL PROTECTED]| | |

Re: Request parameters when method is post

2004-02-25 Thread Anna Bikkina
I am using the same method. Dont know why its not working Thanks, Anna. On Wednesday 25 February 2004 05:07 pm, Christopher Painter-Wakefield wrote: What method are you using to get your request parameters? It works just fine for me, using request.getParameter(param-name) in XSP.

Re: AW: Actions and parameters in sitemap

2004-02-25 Thread Anna Bikkina
Thank you for the replies. I am using request now to send error messages. That works. Thanks once again Anna. On Wednesday 25 February 2004 02:38 am, Marco Rolappe wrote: hi anna, the map:act containers form kind of scopes. as illustrated by neil, you have to reference variables from outer

Re: Request parameters when method is post

2004-02-25 Thread Christopher Painter-Wakefield
Anna, reply with the non-working code, including the sitemap entry, and someone will surely spot the problem. -Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with transform of aggregation

2004-02-25 Thread Tony Edwards
Hi Cocooners, Sorry about the lengthy post but I'm flummoxed! I have a somewhat perplexing issue in that I'm aggregating the output of 3 XSPs that collectively return information about an asset's booking and date details. If I save the XML generated from the aggregation and run it through the

Has anyone used woody binding and aselection-list?

2004-02-25 Thread Richard Huegill
Hi, We have some flowscript reports = BusinessObjectLoadData(); // reports contains a collection called // public Collection getReportList() { stuff } // the objects in this collection have a getReportId() and getReportName() method.

RE: Has anyone used woody binding and aselection-list?

2004-02-25 Thread Joe Latty
This is the way we do it I dont think it is possible within the binding. var reports = reports.getReportsList() var max = reports.size(); var data = "" Object(); data.displayList = new Array(max); for (var i = 0; i max; i++) { data.displayList[i] = {

.

2004-02-25 Thread Richard Huegill
Hi, We're using cocoon at the moment, and we're feeling a little isolated. Is there anyone in Australia who's also using it ? it might be nice to be able to bounce ideas and discuss issues with omeone who is local. Thanks. Richard

RE: .

2004-02-25 Thread Joe Latty
Yep, Sydney -Original Message- From: Richard Huegill [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 February 2004 4:24 PM To: [EMAIL PROTECTED] Subject: . Hi, We're using cocoon at the moment, and we're feeling a little isolated. Is there anyone in

Re: .

2004-02-25 Thread Tony Edwards
Lads, I stuck a CocoonUserGroupAustralia entry on the Wiki just the other night. I'm using Cocoon in various projects up here in Newcastle. There's a few people I've noticed on the user list making submissions so its starting to blossom. Read the suggestions I made on the wiki and get in touch!

Sydney Cocooners [Was Re: .]

2004-02-25 Thread Michael Melhem
Sydney Cocooners great!!!, Im orginally from sydney, actually I will be holidaying in sydney all next week. (am currently in melbourne but working in germany -- hmm sounds complicated doesnt it) Regards, Michael On Thu, Feb 26, 2004 at 04:26:24PM +1100, Joe Latty wrote: Yep, Sydney

static web site creation by ant - error

2004-02-25 Thread yangontha Maung
Cocoon 2.1.4 Trying to create static web pages by ant Mounted the /usr/local/spider at the main sitemap.xmap. I can run cocoon servlet and server the page http://myserver:/spider/hello.html Now I want that hello.html to save somwhere on the server. So I created build.xml at

Cocoon failed to preload on startup in Web application

2004-02-25 Thread reza x
hi all. I am deploying my web application in weblogic 8.x as a WAR file.but i face the following exception: BEA-101216 Servlet: "Cocoon" failed to preload on startup in Web application: "web". javax.servlet.ServletException at

Re: Flow problems

2004-02-25 Thread Christopher Oliver
I'm not sure how this got broken in 2.1.4 but one way to fix it is to simply remove the flow-interpreters line from components: map:components map:generators default=file !-- in this example we use JXTemplateGenerator to insert Flow variables in page content -- map:generator