RE : AGAIN : Using in conjunction with Log4j

2004-01-19 Thread Olivier RICHAUD
Thanks for your answer. How did you manage to disable all logging? Could you detail the steps? Regards. Olivier. -Message d'origine- De : Nicolas Toper [mailto:[EMAIL PROTECTED] Envoyé : lundi 19 janvier 2004 10:59 À : [EMAIL PROTECTED] Objet : Re: AGAIN : Using in conjunction with

Authentication framework problem

2004-01-19 Thread [EMAIL PROTECTED]
Hi all! I have a problem with the authentication framework. I have the user information (in this case username/password and other info) in a remote MySQL database, for which I have already set a connection pool in Cocoon (2.1.3). I have two ways for doing such user authentication: 1) writing a

[slightly OT] using strace on tomcat

2004-01-19 Thread Jorg Heymans
Hi, I am trying to use strace to debug a slow svg pipeline. Now i remember doing this a long time ago, and getting *loads* of output. When I now do (5401 being the tomcat process) $strace -p 5401 i just get accept(14, and then nothing anymore. What am I missing? PID 5401 is the only tomcat

Authentication framework problem

2004-01-19 Thread [EMAIL PROTECTED]
Hi all! I have a problem with the authentication framework. I have the user information (in this case username/password and other info) in a remote MySQL database, for which I have already set a connection pool in Cocoon (2.1.3). I have two ways for doing such user authentication: 1) writing a

Re: Link Livesites: Cocoon 2.1 - Offline Generated Site

2004-01-19 Thread Upayavira
Peter Horsfield wrote: Hi Upayavira, everyone: I did manage to put together a quick article about generating offline sites using Cocoon (hurrah!). I'd hoped to have had some more specifics about GrumpyKitty.biz, but I didn't quite get there in time. Maybe next weekend. So for more information

AW: Authentication framework problem

2004-01-19 Thread Jens Maukisch
Hi, 2) customize the authentication resource, to use the existing authentication framework. But Where can I add the custom code that queries my database? Do I Have to change only the AuthAction class? This should help you: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105289531706378w=2

Re: Actions, pipelines, javabeans...

2004-01-19 Thread beyaNet Consultancy
Ralph, thanks for returning my post at the cocoon users group. I would like to qualify this email by saying first that I have, until 2 weeks ago, never touched unix or open source, hence my somewhat infantile questions ;-) Now, in terms of what I am looking to achieve it goes as so: 1. Create an

slow pipeline (svg, aggregation)

2004-01-19 Thread Jorg Heymans
You can tell my problem from this line in the access log: INFO(2004-01-19) 14:00.15:336 [access] (/my.svg) http8080-Processor8/CocoonServlet: 'my.svg' Processed by Apache Cocoon 2.0.4 in 3.6660166 minutes. So one SVG takes about 3.5 minutes to render. Now if i was rendering the surface

How can i get my mount root

2004-01-19 Thread Meyer, Christian
Hi, I'am looking for a good and practicable way to determine the Path to the mount Root. e.g. /mount/projectname/ or /cocoon/mount/projectname/ Is there any way or have I do that everytime hard in the source? Regards cham Christian A. Meyer Software Development GODYO AG Prüssingstraße 35

Woody Class Binding?

2004-01-19 Thread Jan Hoskens
Hi, I want to use the woody class for a recursive kind of job: Question .. Question../ / Based on the sample included with woody, I've used a similar design to nest each question/ (that shouldn't be a problem in template/definition hopefully), but I wonder if the binding already works

Re: slow pipeline (svg, aggregation)

2004-01-19 Thread Jan Hoskens
I also used an aggregation to create my pages, until marc pointed me out that you can do the same with xinclude. When I changed to xinclude (passing the URI as a variable) I had the impression that it all went just a little faster (Or was I just thinking slower;-). Maybe it's worth a try, it's

RE: Link Livesites: Cocoon 2.1 - Offline Generated Site

2004-01-19 Thread Horsfield, Peter A.
Hmmm, thats a great idea! Thanks, I'll look into this. -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 6:47 AM To: [EMAIL PROTECTED] Subject: Re: Link Livesites: Cocoon 2.1 - Offline Generated Site Peter Horsfield wrote: Hi Upayavira,

Re: slow pipeline (svg, aggregation)

2004-01-19 Thread Jorg Heymans
Hi Jan, I haven't really used cinclude or xinclude before. Here is my usecase : I need to iterate over all request parameters (unknown in advance how many there are or if there are any at all) and use them in my stylesheet that transforms the SVG. Can I use xinclude for this? I'ld be happy to

Re: slow pipeline (svg, aggregation)

2004-01-19 Thread Katharina Weimer
I'm using content aggregation as well a lot and somehow I'm not that satisfied with the speed of results too. I just found the cinclude transformer and am thinking about replacing my current content aggregations with it.. (Just did some tests and was quite satisfied with it !) My question: what's

RE: [portal] Linking to portal pages

2004-01-19 Thread Alex Romayev
Thanks Laurent -- that works great! Another question, is there a way to pass a request parameter with it, so that the anchor is something like: a href=portal?portal-action=nportal-event=mnews-id=xMy News Page/a Thanks, -Alex --- Laurent Trillaud [EMAIL PROTECTED] wrote: Hi, Events in the new

From flow with JXForm to XSP Logicsheet

2004-01-19 Thread Hubert Trzewik \(Prosystel\)
I need some tips to get understand. I've got working flow made with JXForm. It collects data from forms into model variable. Now I want to use my working XSP Logicsheet with this model. I know I (probably) can use JPath Logicsheet to mix model into XSP. But I cannot get how to mix flow with XSP,

Re:AW: Authentication framework problem

2004-01-19 Thread [EMAIL PROTECTED]
Thank you Jens, but I have some doubts about this pipeline From : Jens Maukisch [EMAIL PROTECTED] 2) customize the authentication resource, to use the existing authentication framework. But Where can I add the custom code that queries my database? Do I Have to change only the AuthAction

RE: [portal] Linking to portal pages

2004-01-19 Thread Laurent Trillaud
Alex Yes, but it's a bad idea, because you haven't insurance about coplets synchronization, and you will not have the benefit of the history record of the portal. The good design is to use coplet attributes. 1. Declare an attributes in copletinstancedata/portal.xml coplet-instance-data

RE: [portal] Linking to portal pages

2004-01-19 Thread Alex Romayev
Hi Laurent, Thanks very much for your help. This makes sense. I'm going to play around with it. Thanks, -Alex --- Laurent Trillaud [EMAIL PROTECTED] wrote: Alex Yes, but it's a bad idea, because you haven't insurance about coplets synchronization, and you will not have the benefit of the

Re: How can i get my mount root

2004-01-19 Thread Marcin Okraszewski
Hi, Can't you use pseudo protocol context:// ? Regards, Marcin Okraszewski Hi, I'am looking for a good and practicable way to determine the Path to the mount Root. e.g. /mount/projectname/ or /cocoon/mount/projectname/ Is there any way or have I do that everytime hard in the source?

Re: xsp:attribute bug ???

2004-01-19 Thread Luca Morandini
Marcin Okraszewski wrote: Hi, I have a filling that there is some bug with xsp:attribute. It seems, that attributes are always created, no matter if there is some logic that should prohibit to create the attribute. For instance: layout:data-source xsp:logic if (false) {

Re: slow pipeline (svg, aggregation)

2004-01-19 Thread Jorg Heymans
Why is the svgserializer making an http call to web5.w3.org every time a template is rendered? Would the used doctype be the culprit here? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; Batik seems quite picky about which doctype to

RE: Actions, pipelines, javabeans...

2004-01-19 Thread Morley Howell
Andrew, I still believe that you are making this far more complex than it needs to be! Instead of writing your own Action, use the authentication framework that comes with Cocoon. It has an action called 'auth-protect' that does everything you need it to do. It verifies that the user is logged

Re: Actions, pipelines, javabeans...

2004-01-19 Thread beyaNet Consultancy
Morley, I hear what you are saying and have already implemented the following pipeline: map:match pattern=login> map:act type=validator> map:parameter name=descriptor value=context://beyarecords/content/def/form_validation-def.xml/> map:parameter name=validate-set value=login /> map:act

Re: Installation for Dummies

2004-01-19 Thread Geoff Howard
Derek Hohls wrote: Does this mean that if you start Cocoon from the command line (as described), it will then be running in a system window; from which you can use the Ctrl+C prompt? FYI this is only in the stripped down Jetty we bundle for convenience. The full version uses a shutdown listener

Re: slow pipeline (svg, aggregation)

2004-01-19 Thread Geoff Howard
Jorg Heymans wrote: Why is the svgserializer making an http call to web5.w3.org every time a template is rendered? Would the used doctype be the culprit here? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; Look at the catalog support in

RE: How can i get my mount root

2004-01-19 Thread Hugo Burm
If you need the physical pathname you can use the RealPath input module. Have a look at the input module samples: /cocoon/samples/modules/realpath.xsp Hugo Burm -Original Message- From: Marcin Okraszewski [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 5:37 PM To: [EMAIL

[Woody] How to get value in flowscript, modify it, and put it back before xml bind

2004-01-19 Thread Brian Burridge
I have modified the Woody xml binding example, stripping it down to simply modifying contacts. My form is prepopulated with 7 contacts, with each contact having an incremented value. Every time you submit it increases the value. The name of the field (which is hidden) containing the value is

RE: Actions, pipelines, javabeans...

2004-01-19 Thread Morley Howell
Andrew, It looks like you've written your own 'authenticator' action to do authentication. All I'm saying is that you should take a look at using the authentication framework instead. It has actions like 'auth-protect', 'auth-login', 'auth-logout' and 'auth-loggedIn'. It also looks like you've

A bug in XPath Directory Generator?

2004-01-19 Thread Markus Vaterlaus
Hello all, today I encountered a strange behaviour in the XPath Directory Generator. I was using it on a directory with about 600 files. If I was specifying the attribute value for the parameter xpath as root (/, see below), the generated output could only be processed by cocoon in a

Hannover-Hamburg-Bremen: Cocoon developers searched

2004-01-19 Thread Helmut Tammen
Hi, I´m playing around with Cocoon since 2 weeks after I had a former look last Spring. I think that Cocoon has become a really good product because of Flow and portal implementation. Now I´m looking for developers in my area which is between Hannover, Hamburg and Bremen (Germany, of course)

Re: [Woody] How to get value in flowscript, modify it, and put it back before xml bind

2004-01-19 Thread Jim Horner
I need to, in the flowscript, increment these values before they are written back into the xml. However, I am unable to retrieve the value by doing cocoon.request.get(contacts.0.votes), and even if I did I don't know how to change the parameter. I've found this docu to be priceless:

OJB Samples

2004-01-19 Thread leo leonid
Hi, is there anybody who has got the OJB samples up and running and maybe can give me a hint what might be wrong here? I use the latest CVS and have the required jars (jdo + jdori) in place. Yesterday I used the binary release, today I successfully build jdo from source, only the result

HTML Editor for Woody

2004-01-19 Thread Patrick Hess
Hi, I've spend the last 2 hours in integrating the HTMLArea (the free customizable online editor, http://dynarch.com/htmlarea/) into my project which worked pretty smooth compared with my tests yesterday with midas from the Mozilla project (or even worse: the typo3 RTE editor...) In my company

Re: HTML Editor for Woody

2004-01-19 Thread gounis
On Mon, 19 Jan 2004, Patrick Hess wrote: Hi, I've spend the last 2 hours in integrating the HTMLArea (the free customizable online editor, http://dynarch.com/htmlarea/) into my project which worked pretty smooth compared with my tests yesterday with midas from the Mozilla project (or

Re: HTML Editor for Woody

2004-01-19 Thread Upayavira
Patrick Hess wrote: Hi, I've spend the last 2 hours in integrating the HTMLArea (the free customizable online editor, http://dynarch.com/htmlarea/) into my project which worked pretty smooth compared with my tests yesterday with midas from the Mozilla project (or even worse: the typo3 RTE

Re: HTML Editor for Woody

2004-01-19 Thread gounis
On Mon, 19 Jan 2004, Upayavira wrote: Patrick Hess wrote: Hi, I've spend the last 2 hours in integrating the HTMLArea (the free customizable online editor, http://dynarch.com/htmlarea/) into my project which worked pretty smooth compared with my tests yesterday with midas from

Re: HTML Editor for Woody

2004-01-19 Thread Patrick Hess
[EMAIL PROTECTED] wrote: i'm not sure for that but if you try to convert html code to xhtml using html generator and Jtidy. in a work in progress example i post the html content from a text area to a pipeline and save it as .xml (xhtml) in filesystem without escaped characters. i'll publish

Re: HTML Editor for Woody

2004-01-19 Thread Patrick Hess
Upayavira wrote: Have you looked at Linotype? It is in the Cocoon Linotype block, and has a client side Javascript editor built in. Stefano wrote it, and it has been suggested that this should be made into a Woody widget. If you were able to create a Woody widget of the Linotype editor, I'm

Re: HTML Editor for Woody

2004-01-19 Thread Patrick Hess
[EMAIL PROTECTED] wrote: this javascript editor support IE or not yet ? btw linotype sample does not work for a long time I've tested it on a fresh 2.1.3 yesterday and it worked for me. It supports (only) Mozilla because of using the midas editor (http://www.mozilla.org/editor/). Patrick

Re: HTML Editor for Woody

2004-01-19 Thread Geoff Howard
Patrick Hess wrote: [EMAIL PROTECTED] wrote: this javascript editor support IE or not yet ? btw linotype sample does not work for a long time I've tested it on a fresh 2.1.3 yesterday and it worked for me. It supports (only) Mozilla because of using the midas editor

Re: xsp:attribute bug ???

2004-01-19 Thread Marcin Okraszewski
Try: xsp:logic if (false) { xsp:attribute name=should-not-betrue/xsp:attribute } /xsp:logic Regards, Wow - it works. Who would expect it is so simple :-) - To unsubscribe, e-mail: [EMAIL

[Woody] Date field - how to change format to 24 hours.

2004-01-19 Thread Marcin Okraszewski
Hi, I want to set date and time in a field but in 24 hours format. I set fallowing entry in model: wd:field id=dueTo wd:datatype base=date wd:convertor type=formatting wd:patterns wd:patterndd.MM. HH:mm/wd:pattern wd:pattern

RE: [portal] Linking to portal pages

2004-01-19 Thread Alex Romayev
Laurent, I think I'm almost there, however I'm getting an error and I believe it is because I don't quite understand your point #2 and making some mistake there. The error that I get is: org.apache.cocoon.ProcessingException: Failed to execute pipeline.:

Ask help for Cinclude implement

2004-01-19 Thread Jian Dai
Hi, all: I am tring to use cinclude to include some xml frags in main page and I want to pass some parameter to that frag. I was learned that I could use cinclude in following format cinclude:includexml xmlns:cinclude=http://apache.org/cocoon/include/1.0; srcXMLURI/src cinclude:parameters

Re: CInclude with cocoon:/ ?

2004-01-19 Thread Joerg Heinicke
On 18.01.2004 17:53, Katharina Weimer wrote: Hello Joerg, thanks so far for your tip. I already figured out as well what my problem wastoo simple. ;) Just had forgotten to remove the /** from my former tests. So what do you suggest - is it better to skip using the request params when working

Re: [Portal, Woody, PDF]: PDF Output in new window

2004-01-19 Thread Joerg Heinicke
On 17.01.2004 15:08, Helmut Tammen wrote: I´ve developed a woody app that has some input fields on a form and a Print button. Pressing the button leads to a pipeline that generates PDF Output of the form fields. This is o.k. as long as I run the woody application as standalone app. When I run

Re: xsp:attribute bug ???

2004-01-19 Thread Joerg Heinicke
Hello Marcin, we know that the xsp.xsl is somewhat buggy. In this special case a bug already exists: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15841. The reason for your problem is, that first xsp:attribute is collected and afterwards all the other elements. Joerg On 19.01.2004

Re: A bug in XPath Directory Generator?

2004-01-19 Thread Joerg Heinicke
On 19.01.2004 20:26, Markus Vaterlaus wrote: Hello all, today I encountered a strange behaviour in the XPath Directory Generator. I was using it on a directory with about 600 files. If I was specifying the attribute value for the parameter xpath as root (/, see below), the generated output

Re: [Woody] Date field - how to change format to 24 hours.

2004-01-19 Thread Joerg Heinicke
On 20.01.2004 00:12, Marcin Okraszewski wrote: But when I enter a sample date 24.01.2004 12:05, it is recognized as 00:05 (12:05am) (it is saved in DB in this way). But when I enter 24.01.2004 13:05, then it is all right (1:05pm). I might be wrong but isn't the change from AM to PM at 13:00 and

Re: Ask help for Cinclude implement

2004-01-19 Thread Joerg Heinicke
On 20.01.2004 12:25, Jian Dai wrote: Hi, all: I am tring to use cinclude to include some xml frags in main page and I want to pass some parameter to that frag. I was learned that I could use cinclude in following format cinclude:includexml xmlns:cinclude=http://apache.org/cocoon/include/1.0;

Re: HTML Editor for Woody

2004-01-19 Thread Michael Wechner
Patrick Hess wrote: ... Body lt;bgt;hello worldlt;/bgt; Body ... when I would like to have: ... Body bhello world/b Body ... For the HTML editor this seems to be perfectly alright because editing such a file (as 1st example) is ok! So might need to escape the tags again

Re: slow pipeline (svg, aggregation)

2004-01-19 Thread Joerg Heinicke
On 19.01.2004 15:42, Jan Hoskens wrote: Well, I'm currently using both (started with cinclude, then just curious to use xinclude, ending up with them both;-), but have not yet noticed a big difference between them (nor any problems). The only thing to keep in mind, as far as I know, is that

Re: Ask help for Cinclude implement

2004-01-19 Thread Joerg Heinicke
On 20.01.2004 13:25, Jian Dai wrote: Hi, Joery: I am sorry that I did not make my problem more clearer. No problem, that's communication :) As you mentioned, my problem is that my cinclude transformer COULD NOT understand the notation for the first alternative but I cannot figure out the reason

Re: OJB Samples

2004-01-19 Thread Antonio Gallardo
leo leonid dijo: Hi, is there anybody who has got the OJB samples up and running and maybe can give me a hint what might be wrong here? I use the latest CVS and have the required jars (jdo + jdori) in place. Yesterday I used the binary release, today I successfully build jdo from source, only

RE: Ask help for Cinclude implement

2004-01-19 Thread Jian Dai
Hi, Joery: 1. There is no error message. The system just treated them as normal xml tag. In my example, xmlns:cinclude=http://apache.org/cocoon/include/1.0; cinclude:srcXMLURI/cinclude:src cinclude:parameters cinclude:parameter cinclude:nameparaone/cinclude:name

Cocoon - Hibernate problems part 1

2004-01-19 Thread beyaNet Consultancy
Hi, I have, for the first time, installed hibernate and followed instructions I managed to get concerning hibernate and cocoon, and of course it doesn't work! When you run the pipeline: map:pipelines map:pipeline map:match pattern=test

Calling an XSP generated class from XSLT

2004-01-19 Thread Corin Moss
Title: Calling an XSP generated class from XSLT Hi All, I have an interesting request for everyone to consider: I need invoke an XSP class from within an XSLT document (via use of the Xalan java extension functionality.) I'd ideally like to invoke this as a generator, so I can make use of

RE: Calling an XSP generated class from XSLT

2004-01-19 Thread Conal Tuohy
Title: Calling an XSP generated class from XSLT Hi Corin I've never done this, but I think you may find it a bit tricky. Best of luck though! What does the XSP do? If you still have problems you might be better to use standard Cocoon-pipeline techniques to integrate rather than

RE: [portal] Linking to portal pages

2004-01-19 Thread Laurent Trillaud
Alex Can you give snippets of your copletinstancedata/portal.xml file and your sitemap.xmap? Laurent -Message d'origine- De : Alex Romayev [mailto:[EMAIL PROTECTED] Envoyé : mardi 20 janvier 2004 00:21 À : [EMAIL PROTECTED] Objet : RE: [portal] Linking to portal pages Laurent,