Re: CForm bind JXPathContext

2004-09-09 Thread Marc Portier
oceatoon wrote: Hi Marc my Cform is binded to an XML document, This is the part we are concirned with : ..etc *** if(widget

RE: Data access to/from JXTemplate

2004-09-09 Thread Jeroen Reijn
Derek, regarding the second issue. I have tested the situation with the sitemap matcher: Code in the jx template: The result is: So it should be correct. What version of cocoon are you using? Jeroen -Original Message- From: Derek Hohls [mailto:[EMAI

Can you take the output of a transformation and use it as a param eter within the context of the matcher???

2004-09-09 Thread Philip . Fennell
Wasn't sure how to word the subject but what follows is what I'd like to know... I have a pipeline that contains a matcher the uses the parameter (relativePath) from the request as the url of a redirect: http://localhost:8080/cocoon/RIU/{relativePath}"/>

Modifying documents via flowscript...

2004-09-09 Thread Derek Hohls
I am using flowscript to handle the process around modifying a form - so far so good! Now I would like to be able - from flowscript, I suppose - to modify the just-saved form in some way, probably by appending a comment line to the end (say with a time and date stamp, and an user id). Is there a

Advantage using Hibernate with Cocoon

2004-09-09 Thread patrick
I'm wondering what might be the advantage of using Hibernate - or another O/R mapper - together with Cocoon. There some articles on the web, about using Hibernate with Cocoon. And anyone using it? Pat - To unsubscribe, e-mail: [E

RE: Advantage using Hibernate with Cocoon

2004-09-09 Thread Jeroen Reijn
Pat, I have not used hibernate with cocoon yet, but i have used Cocoon Forms with OJB/JDO. There are some wikipages about hibernate with Cocoon and OJB with Cocoon. Some samples about OJB and Forms can be found in the cocoon distribution. Looking at the wiki: http://wiki.apache.org/cocoon/Cform

Host selector causing problem with PDF serialiser

2004-09-09 Thread David Merrilees
I have a transformation serialising an xml file as a PDF which works fine until I use a host selector within the pipeline and it fails to open. The host selector is working correctly except for this problem. See the problem for yourself here: http://www.neilrudd.co.uk/cocoon/abc/index.pdf Anyone

RE: Problem dealing with & ampersand - HELP

2004-09-09 Thread Philip . Fennell
Hello, > I cannot possibly put in some entity reference because the href is user input driven If the href is user input driven then you have two choices: 1) Upon submitting the form, that sends the user input, use the onSubmit event to trigger some client-side scripting that converts troublesome

Re: Advantage using Hibernate with Cocoon

2004-09-09 Thread Ugo Cei
Il giorno 09/set/04, alle 10:38, [EMAIL PROTECTED] ha scritto: I'm wondering what might be the advantage of using Hibernate - or another O/R mapper - together with Cocoon. I think there are advantages in using Hibernate to implement data persistence over a relational database whether you are using

Re: Host selector causing problem with PDF serialiser

2004-09-09 Thread [EMAIL PROTECTED]
David Merrilees wrote: I have a transformation serialising an xml file as a PDF which works fine until I use a host selector within the pipeline and it fails to open. The host selector is working correctly except for this problem. See the problem for yourself here: http://www.neilrudd.co.uk/cocoon/

Re: Host selector causing problem with PDF serialiser

2004-09-09 Thread Jean-Claude Moissinac
David Merrilees wrote: I have a transformation serialising an xml file as a PDF which works fine until I use a host selector within the pipeline and it fails to open. The host selector is working correctly except for this problem. See the problem for yourself here: http://www.neilrudd.co.uk/cocoon/

Re: Host selector causing problem with PDF serialiser

2004-09-09 Thread Upayavira
David Merrilees wrote: I have a transformation serialising an xml file as a PDF which works fine until I use a host selector within the pipeline and it fails to open. The host selector is working correctly except for this problem. See the problem for yourself here: http://www.neilrudd.co.uk/cocoon/

RE: Data access to/from JXTemplate

2004-09-09 Thread Derek Hohls
Jeroen Yes, I also thought it *should* work - I am using Cocoon 2.1.5. I will use your sample and see if I can figure it. Thanks for trying! Derek >>> [EMAIL PROTECTED] 2004/09/09 10:23:02 AM >>> Derek, regarding the second issue. I have tested the situation with the sitemap matcher:

handle errors -> send exception to action

2004-09-09 Thread Gunter D'Hondt
Hello, I want to send an email when an exception occurs and inside the mailbody the exception stacktrace must be written. So I thought to make an action "action-sendmail" and call it from the map:handle-errors part. That definitely triggers the action but how can I send the Exception object (or j

Re: cocoon 2.1.5.1 and tomcat 5.5, library conflict

2004-09-09 Thread Niko Popitsch
Hi, I still could not solve this problem, but I found out that it _is_ a conflict between the commons-logging-api.jar in the tomcat/bin directory and the commons-logging-1.0.3.jar of my application. But how to get around this conflict? the libraries in tomcat/bin are loaded by the tomcat system

Cocoon Error

2004-09-09 Thread Jyothi Giridhar
Hi , I installed Apache TOmcat 4.1.18 I copied the cocoon.war file from cocoon2.0.4 . When i try http://localhost:8080 - > Th tomcat page comes up bug when i try http://localhost:8080/cocoon -> I get this error Failed to generate program code (this may happen if you use Xalan in incremental p

Re: Cocoon Error

2004-09-09 Thread Norman Barker
Jyothi Giridhar wrote: Hi , I installed Apache TOmcat 4.1.18 I copied the cocoon.war file from cocoon2.0.4 . When i try http://localhost:8080 - > Th tomcat page comes up bug when i try http://localhost:8080/cocoon -> I get this error Failed to generate program code (this may happen if you use

Should static files be cached serverside?

2004-09-09 Thread Kees van Dieren
Hello, I'm researching caching and performance in Cocoon. Should static files (html, css, js, gif/jpeg/png) be excluded from a pipeline with the type set to 'caching'? I think that they should not be cached serverside, because the filename is used to generate they key; the caching-key is longe

Cocoon Proxy & Redirects

2004-09-09 Thread Thierry BARUSTA
Hi! I'm curently using the WebServiceProxyGenerator provided with Cocoon 2.1.5. I have an issue when receiving a 3xx response code. The redirect is processed by Jakarta Commons - HttpClient and it works fine. The problem is that the url in the client's browser doesn't change (which is normal becau

Re: Should static files be cached serverside?

2004-09-09 Thread Jorg Heymans
or you could just let apache serve your static html. Kees van Dieren wrote: Hello, I'm researching caching and performance in Cocoon. Should static files (html, css, js, gif/jpeg/png) be excluded from a pipeline with the type set to 'caching'? I think that they should not be cached serverside,

Re: Creating and halting flow continuations

2004-09-09 Thread Ulf Sahlin
Hello Emond! Thank your for your swift reply. > > I need to: > > > > 1. create a continuation > > 2. put the id of the continuation in a deliveryUrl > > 3. redirect to a redirectUrl > > 4. suspend flowscript execution, until the remote system hosting > > redirectUrl redirects the user to my deliv

Cocoon 2.0.4 still failing

2004-09-09 Thread Peter Flynn
My newly-installed http://localhost/cocoon (Tomcat 4.1.30 and Cocoon 2.0.4 under Java 1.4.2_05 on FC2) still fails with > Cocoon 2 - Internal server error > type fatal > message Failed to generate program code (this may happen if > you use Xalan in incremental processing mode). >

Re: Cocoon 2.0.4 still failing

2004-09-09 Thread Jorg Heymans
did you check the endorsed lib problem? Search the wiki for a howto. Any particular reason why you decided on an old cocoon version? Peter Flynn wrote: My newly-installed http://localhost/cocoon (Tomcat 4.1.30 and Cocoon 2.0.4 under Java 1.4.2_05 on FC2) still fails with Cocoon 2 - Internal serv

Re: Orbeon Presentation Server - OXF Rebuttal needed again?

2004-09-09 Thread Damon Rand
Why the bitterness? Competition is a good thing. Personally I am happy that OXF has been opensourced. It is a good solid product and its main weakness was not being opensource. Having used both OXF and Cocoon on several projects they are both good and both different. I believe OXF started out from

Re: Cocoon 2.0.4 still failing

2004-09-09 Thread Peter Flynn
On Thu, 2004-09-09 at 11:48, Jorg Heymans wrote: > did you check the endorsed lib problem? Search the wiki for a howto. Hah! That definitely looks like it. Unfortunately, the Wiki page doesn't say *what* files need to be copied to the endorsed directory: it just says "the libraries"; and it refer

RE: Host selector causing problem with PDF serialiser - Email has different SMTP TO: and MIME TO: fields in the email addresses

2004-09-09 Thread Neil Rudd
The host selector mounts a folder located on a different logical disk, as shown in the code snippet below. It does seem to more of an IE problem as I can ac

Re: Cocoon 2.0.4 still failing

2004-09-09 Thread Peter Flynn
On Thu, 2004-09-09 at 11:48, Jorg Heymans wrote: > did you check the endorsed lib problem? Search the wiki for a howto. That seems to work, after a bit of experimenting. Thanks very much. For the record, with Tomcat 4.1.30 and Cocoon 2.0.4 with Java 1.4.2_05 under FC2 you need to copy xalan-2.3.

RE: Advantage using Hibernate with Cocoon

2004-09-09 Thread Paul Joseph
Also, try out Devaki NextOjbects an opensource tool that has Torque built it. http://www.devaki.org/nextobjects/ It automagically generates all the supporting OJB related files needed including the SQL calls to create the database. thx Paul --- Jeroen Reijn <[EMAIL PROTECTED]> wrote: > Pat, >

Re: Cocoon 2.0.4 still failing

2004-09-09 Thread Jorg Heymans
Any particular reason why you decided on an old cocoon version? Yes, Cocoon 2.1.5.1 won't compile because ant is apparently being picked up wrongly from FC2, despite what the docs say; and Tomcat 5.5 has issues running under Java 1.5.0 unless you start adding patches. If you're looking to use coc

loading user profiles from mysql

2004-09-09 Thread Anton Andreev
Hello, I am running Cocoon 2.1.5 with Tomcat 5.0.19. I'm trying to load profiles for users from mysql (ver: 4.1.4-gamma-Max) rather then from filesystem (original setup on cocoon). So i've changed "load-user-profile" pipeline in portal/. to:

Custom transformer - ho to get in / out Document from previous ransfromations

2004-09-09 Thread Javier Ramos
Hi all,       I am writing a custom transformer that needs to extract some fragments from previous transformation steps in the running pipeline. Does anyone know how to access, from a sitemap component, the input / output to the transform method of the transformers that were applied before?

Re: Should static files be cached serverside?

2004-09-09 Thread Gerald Aichholzer
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <[EMAIL PROTECTED]> wrote: or you could just let apache serve your static html. are there any samples doing this? the wiki docs still say "todo". I'm using cocoon under windows (it's for a prototype only) and have tried to serve static files (mostly

Re: Cocoon 2.0.4 still failing

2004-09-09 Thread Peter Flynn
On Thu, 2004-09-09 at 13:25, Jorg Heymans wrote: > > > > > >>Any particular reason why you decided on an old cocoon version? > > > > > > Yes, Cocoon 2.1.5.1 won't compile because ant is apparently > > being picked up wrongly from FC2, despite what the docs say; > > and Tomcat 5.5 has issues run

RE: Custom transformer - ho to get in / out Document from previous ransfromations

2004-09-09 Thread Huber, Daniel
> I am writing a custom transformer that needs to extract > some fragments from previous transformation steps in the > running pipeline. Does anyone know how to access, from a > sitemap component, the input / output to the transform > method of the transformers that were applied before? Hi Javier,

Re: Advantage using Hibernate with Cocoon

2004-09-09 Thread Johannes Textor
Hi Pat, I have am now finishing my first project I used Hibernate and Cocoon together in, so maybe you are interested in some thoughts from a beginner's point of view. The issue Hibernate addresses is how to get objects to and from the database. When I started to use cocoon, I was impressed by

Re: Creating and halting flow continuations

2004-09-09 Thread Emond Papegaaij
On Thursday 09 September 2004 12:37, Ulf Sahlin wrote: > > What you need is a 'redirectAndWait'. > > Looking at fom_system.js, the sendPageAndWait method is really a sendPage > call with some extra stuff, just like you said: > > FOM_Cocoon.suicide = new Continuation(); > > FOM_Cocoon.prototype.sen

Response code: how can I get it?

2004-09-09 Thread Thierry BARUSTA
Hi! I'm a newbie regarding the use of Cocoon and I would like to know how I could test or make a selection on the response code. I use the WebServiceProxyGenerator and I modified the code for not leting it to process redirections (status 3XX) itself (method.setFollowRedirects(false)) and depending

Re: Should static files be cached serverside?

2004-09-09 Thread Ralph Goers
Gerald Aichholzer said: > On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <[EMAIL PROTECTED]> wrote: > >> or you could just let apache serve your static html. >> > > are there any samples doing this? the wiki docs still say "todo". > > I'm using cocoon under windows (it's for a prototype only)

Re: Cocoon 2.0.4 still failing

2004-09-09 Thread Jorg Heymans
try "build webapp" as target. But how on earth you're getting the instantiationexception i don't know... Peter Flynn wrote: On Thu, 2004-09-09 at 13:25, Jorg Heymans wrote: Any particular reason why you decided on an old cocoon version? Yes, Cocoon 2.1.5.1 won't compile because ant is apparentl

Re: Advantage using Hibernate with Cocoon

2004-09-09 Thread Derek Hohls
Johannes I think you hit the nail on the head when you raised the whole "elephant" thing. I used the same terminology in a previous thread. ;-) http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=108799013931354&w=2 A number of folks are pushing OJB... obviously each person has there own choices,

Re: Creating and halting flow continuations

2004-09-09 Thread Ulf Sahlin
Hi! > > It seems it's FOM_Cocoon.suicide(); that halts execution (duh). I tried > > using this: > > > > function testingSome() { > > > > var c = cocoon.createWebContinuation(); > > print("Continuation = " + c.id); > > FOM_Cocoon.suicide(); > > print("Continued executing."); > > } >

Re: Advantage using Hibernate with Cocoon

2004-09-09 Thread Derek Hohls
Ugo I hope your talk will be online, for those of us not lucky enough to make the events? Thanks Derek >>> [EMAIL PROTECTED] 2004/09/09 10:54:49 AM >>> Il giorno 09/set/04, alle 10:38, [EMAIL PROTECTED] ha scritto: > I'm wondering what might be the advantage of > using Hibernate - or another O/

Re: Should static files be cached serverside?

2004-09-09 Thread Gerald Aichholzer
On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers <[EMAIL PROTECTED]> wrote: Gerald Aichholzer said: On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <[EMAIL PROTECTED]> wrote: or you could just let apache serve your static html. are there any samples doing this? the wiki docs still say "todo

Re: handle errors -> send exception to action

2004-09-09 Thread Ralph Goers
Your action will have access to the Throwable. It is in the object model. Take a look at ObjectModelHelper. Gunter D'Hondt said: > Hello, > > I want to send an email when an exception occurs and inside the mailbody > the exception stacktrace must be written. So I thought to make an action > "acti

Re: Cocoon 2.0.4 still failing

2004-09-09 Thread Peter Flynn
On Thu, 2004-09-09 at 15:43, Jorg Heymans wrote: > try "build webapp" as target. Same result. > But how on earth you're getting the > instantiationexception i don't know... Now you know why I'm using 2.0.4 :-) ///Peter - T

Re: Should static files be cached serverside?

2004-09-09 Thread Ralph Goers
Gerald Aichholzer said: > On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers > > > Well, by clicking on a href="/miracle/app/cook/info.gif" in my > xhtml-source-code my browser connects to the following address: > >http://server:/miracle/app/cook/info.gif > > But if I want to serve static

Re: Treating strings passed to templates as markup?

2004-09-09 Thread Emmanuel Charpentier
... may disable that kind of transformation. On Wed, Sep 08, 2004 at 03:52:05PM +0200, Thomas Kjeldahl Nilsson wrote: > Hello! > > Problem: I'm trying to pass a string to a jx template. The passed string > contains html markup which I want the generator\serializer to parse and > serialize

Re: Advantage using Hibernate with Cocoon

2004-09-09 Thread Ugo Cei
Il giorno 09/set/04, alle 16:47, Derek Hohls ha scritto: I hope your talk will be online, for those of us not lucky enough to make the events? Last year's GT talks were recorded and made available online as video files. I hope someone will do the same with this year's talks. Ugo -- Ugo Ce

Re: Should static files be cached serverside?

2004-09-09 Thread Gerald Aichholzer
On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers <[EMAIL PROTECTED]> wrote: Gerald Aichholzer said: On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers Well, by clicking on a href="/miracle/app/cook/info.gif" in my xhtml-source-code my browser connects to the following address: http://se

Re: Should static files be cached serverside?

2004-09-09 Thread Robin Wyles
Hi... You can find some useful information on Apache/Cocoon and serving static content here: http://wiki.apache.org/cocoon/ApacheModProxy Robin. On 9 Sep 2004, at 17:37, Gerald Aichholzer wrote: On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers <[EMAIL PROTECTED]> wrote: Gerald Aichholzer sa

[Repost] "no control flows defined", but there are!?

2004-09-09 Thread Lars Huttar
Dear Cocoon list, Please excuse this repost, but I'm fairly stuck on this problem, and can't make progress on starting to use CForms until I solve it. I'm running Cocoon 2.1.5.1 under Jetty (even though it says Tomcat below... it says that because my application folder, "gem", is shared between tw

Re: Should static files be cached serverside?

2004-09-09 Thread Ralph Goers
Gerald Aichholzer said: > > Hi Ralph, > > thanx for your answer - in my test some days ago using TinyWeb > I was explicitly putting "http://server:80/"; as prefix to the > href- resp. src-attribute values. > > Anyway - I'm not quite sure if serving static content using > Apache would be an advan

encodeUrl Transformer and unicode

2004-09-09 Thread Doug Chestnut
Hi All, I am working on a project in cocoon where I need to encode url strings (that contain diacritics) in an xml document like described on this page: http://www.w3.org/International/O-URL-code.html Is there any reason why the encodeURL Transformer doesn't do this? ( http://marc.theaimsgroup.com

Re: Should static files be cached serverside?

2004-09-09 Thread Kees van Dieren
Thank you for that link! it will be of much use for me in future. Kees Robin Wyles wrote: Hi... You can find some useful information on Apache/Cocoon and serving static content here: http://wiki.apache.org/cocoon/ApacheModProxy Robin. On 9 Sep 2004, at 17:37, Gerald Aichholzer wrote: On Thu, 9 Se

java problem in XSP

2004-09-09 Thread sreenivas reddy
Hi Process p=Runtime.getRuntime().exec(arg); //in linux BufferedReader br =new BufferedReader(new InputStreamReader(p.getInputStream())); while ((line = br.readLine()) != null){ System.out.println("line:"+sLine); } I observe that for 1) arg="cp --help" it is returning some