Re: encoding

2003-03-03 Thread arturl
But it seems setting only charset attribute in html META tag and not infuencing http header. Artur Use action org.apache.cocoon.acting.SetCharacterEncodingAction Not helping either. The Content-Type header contains no information about encoding. Artur

Re: Axis as Cocoon component?

2003-03-03 Thread Marcus Crafter
Hi Alexander, On Thu, Feb 27, 2003 at 05:57:24PM +0100, Alexander Enns wrote: Hi Markus, Thank You for quickly answer! No problems. Your Soap Server for Cocoon is the piece I looked for. Great. Glad it's of use. How intensive it is already tested? And when it is planed

Re: [modules] url path of pipeline

2003-03-03 Thread Jakob Praher
Well, all the methods of o.a.c.environment.Request are available through JXPath here. getContextPath() and getSitemapURI() carry some of the information you are looking for. ok, thanks. But I thought I could get the url of the pipeline where the call is made. like for instance:

Re: Subsitemaps in user's directory

2003-03-03 Thread Irving Salisbury
You have probably already done this, but it bit me once so I thought I'd share what happened to me. Make sure the entire directory path from / all the way down is readable and executable. I once had the same problem, and it turned out that a directory way up in the hierarchy was not set to

XML Inclusions (XInclude)

2003-03-03 Thread Jeroen Cranendonk
This is a question from a fellow worker :) -- Forwarded Message -- Subject: XML Inclusions (XInclude) Date: Monday 03 March 2003 15:18 From: Robert Kromkamp [EMAIL PROTECTED] To: Jeroen Cranendonk [EMAIL PROTECTED] Hi, I've a question about validation using XMLForms. A

Post form to external web server

2003-03-03 Thread Alexander Docter
Hi, I have the following problem : I am using a sort of web service, which I need to access via a POST request. I need to send the form data to this request. From the documentation I have seen that the CIncludeTransformer can send POST requests, but you need to explicitly name all the request

Re: Please Help: Problems with Cocoon2 V2.03 with Bea WebLogic5.1

2003-03-03 Thread Uwe Gerger
Hello to all interested people, I could run Cocoon2.0.3 on Bea WebLogic5.1: The following steps are necessary: 1) In your start-script of Bea-server add to the JAVA_CLASSPATH all the libraries you found in your cocoon-distribution; 2) In the web.policy-file set in the last grant section add

Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
Hello, There is a very strange behaviour that my site exibits ever since I've upgraded my 2.1 dev code from what it was in Nov-Dec last year to the most current version (less than a week old). Here is what's going on. There is a portlet which is generated by calling another pipeline fragment

Get and Set XSP-Session Attributes errors

2003-03-03 Thread Maxime.Gheysen
Hello, I have to set and get a user name in my web-application. I use a xsp-session and followed the sample from Cocoon Developer's handbook : using content logic XSP about authentification. But if I write exaclty the same pages, I get this error: org.apache.cocoon.ProcessingException: Exception

Newbie Use of Request Params with DB Action

2003-03-03 Thread Samuel Bruce
Hello, I'm using a version of cocoon that I built from CVS back in October of 2002, running with tomcat 4.1.12 on WIN XP. I have a pipeline that generates an HTML form and passes parameters to a mod-db action which inserts DB records successfully. Can any of those parameters passed to the

Who use the Tomcat SYSDEO plugin for Eclipse?

2003-03-03 Thread Sylvain.Thevoz
Hello, Is there someone that use the Tomcat plugin for Eclipse from Sysdeo and work with Cocoon and this plugin?? If yes, I need help to load and configure my cocoon Tomcat Project. Thanks Sylvain - To unsubscribe, e-mail:

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Mark H
I tried out a simpler form: (don't have the source code for your actions/stylesheets) map:components map:actions map:action name=request src=org.apache.cocoon.acting.RequestParamAction/ /map:actions /map:components map:pipelines map:pipeline map:match

c2.1: Excalibur version ?

2003-03-03 Thread Mark H
Can any cocoon developers tell me what version of Excalibur is used in the latest CVS? I've downloaded v4.1's source but the class structure doesn't seem to match whats used in Cocoon. (can't find org.apache.excalibur.source.impl.URLSource) Thx, Mark

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? Cheers, -Alex --- Mark H [EMAIL PROTECTED] wrote: I tried out a simpler form: (don't have the source code for

Authentication Framework using LDAP (thru xsp)

2003-03-03 Thread Rajasekhar Atchutuni
Hi, I am trying to use the sunrise actions for my authentication but unable to pass parameters to my xsp. My problems: 1. My authentication fails even though I supply the correct username and password. The fail.xsp is being generated. 2. The reason is the parameters.getParameter is not

Generate XSL with XSP?

2003-03-03 Thread Robert Sösemann
For a context-sensitve basepath setting I want to do this. 1) Add dynamically generated xsl into each (sub-)sitemap: -- map:match pattern=include-basepath.xsl map:generate src=logicsheets/dynamic-basepath.xsp

Re: Generate XSL with XSP?

2003-03-03 Thread Upayavira
Robert, xsl:include href=include-basepath.xsl/ Is it as simple as changing this line to: xsl:include href=cocoon:/include-basepath.xsl/ to allow the include to call an internal pipeline? Regards, Upayavira - To

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Mark H
Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Cocoon%202 Never done it myself though. -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 06:01PM

Re: Very strange behaviour -- caching bug?

2003-03-03 Thread Leszek Gawron
On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev wrote: Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? I have encountered the same bug (I think) or

Re: Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
Do you know the syntax for making a pipeline noncaching? --- Leszek Gawron [EMAIL PROTECTED] wrote: On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev wrote: Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to

Re: Very strange behaviour -- caching bug?

2003-03-03 Thread Leszek Gawron
On pon, mar 03, 2003 at 11:27:10 -0800, Alex Romayev wrote: Do you know the syntax for making a pipeline noncaching? first see if your main sitemap.xmap contains different pipeline implementation (grep for caching, noncaching) use it like this: map:pipeline type=noncaching !-- map:match

Re: Newbie Use of Request Params with DB Action

2003-03-03 Thread Christian Haul
Samuel Bruce wrote: Hello, I'm using a version of cocoon that I built from CVS back in October of 2002, running with tomcat 4.1.12 on WIN XP. I have a pipeline that generates an HTML form and passes parameters to a mod-db action which inserts DB records successfully. Can any of those parameters

entity encoding error within an inline java script

2003-03-03 Thread hgadm
entity encoding error within an inline java script Dear all, I have a stylesheet with inline javascript. I use CDATA and xsl:text as follows to avoid coding entities: ... script language=JavaScript type=text/javascript xsl:text disable-output-escaping=yes // ![CDATA[ function addgroup(){ ...

Question

2003-03-03 Thread Alejandro Raiczyk
Is there any way to detect when a user closes the browser and that session is destroyed ? There was a way under C1 using SessionListener, but I can't find an implementation or something like that under C2. Thanks in advance. Alejandro

Re: entity encoding error within an inline java script

2003-03-03 Thread Jens Maukisch
Hi, script language=JavaScript type=text/javascript xsl:text disable-output-escaping=yes // ![CDATA[ function addgroup(){ while (r.childNodes.lengthgt;0){ Do you use xsltc to process your stylesheet ? iirc it does not support 'disable-output-escaping' ... use xalan or so instead ... --

Re: Question

2003-03-03 Thread Leszek Gawron
On pon, mar 03, 2003 at 05:31:17 -0300, Alejandro Raiczyk wrote: Is there any way to detect when a user closes the browser and that session is destroyed ? There was a way under C1 using SessionListener, but I can't find an implementation or something like that under C2. It is not possible to

Re: entity encoding error within an inline java script

2003-03-03 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: entity encoding error within an inline java script Dear all, I have a stylesheet with inline javascript. I use CDATA and xsl:text as follows to avoid coding entities: ... script language=JavaScript type=text/javascript xsl:text disable-output-escaping=yes // ![CDATA[

Re: entity encoding error within an inline java script

2003-03-03 Thread hgadm
Hi Jens, thanks for your ultra-fast reply. I am using the standard Cocoon config (Xalan, Xerces ..) Here is a fragment of the (trivial) sitemap: map:match pattern=histochart2 map:generate src=data.xml/ map:transform src=data.xsl/ map:serialize type=html/ /map:match What

RE: Question on generators...

2003-03-03 Thread SriKumar Kareti
Geoff, Thanks. Got it working with minimal effort. Kumar. -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED] Sent: Friday, January 31, 2003 9:48 PM To: [EMAIL PROTECTED] Subject: RE: Question on generators... Then yes, you can reuse it - but you should be aware that it's

Which XML parser for docbook?

2003-03-03 Thread Saqib . N . Ali
Hi All, I am using the latest build of Tomcat 4 and Cocoon 2, I was wondering which is XML parser is best for parsing docbook content? Thanks In Peace, Saqib Ali I fear, if I rebel against my Lord, the retribution of an Awful Day (The Day of Resurrection) Al-Quran 6:15

Re: DirectoryGenerator depth attrib (newbie)

2003-03-03 Thread Joerg Heinicke
hi Mark, Mark Anquoe wrote: ok I've started pulling my hair out. I am really having problems getting the DirectoryGenerator to display anything more than the contents of the current directory. I can't seem to get the depth attribute to do anything. we never had any problem with it. I modified

Re: Generate XSL with XSP?

2003-03-03 Thread Thomas Haditsch
no, that's not the problem. i managed to dynamically create the xsl using a custom generator instead of a xsp, but now the xsl that includes it complains that the variable 'basepath' has not been defined if i do it this way: xsl:include href=cocoon://include-basepath.xsl/ and if i do xsl:include

Re: Generate XSL with XSP?

2003-03-03 Thread Thomas Haditsch
sorry, should have used 'cocoon:/' instead of 'cocoon://'. that solved the problem! At 03:19 04.03.2003 +0100, you wrote: no, that's not the problem. i managed to dynamically create the xsl using a custom generator instead of a xsp, but now the xsl that includes it complains that the variable

Re: Newbie Use of Request Params with DB Action

2003-03-03 Thread Samuel Bruce
Thanks for responding and sorry for the ambiguity of my post. Your reply was helpful. The parameters that I am referring to are request parameters sent from a post in an HTML form to a pipeline in my sitemap. That pipeline has a mod-db action. I'd like to capture one of the input parameters from

how to call a view?

2003-03-03 Thread Conal Tuohy
I'm planning to implement a Lucene-based search, so I've been reading up on Views. It seems to me that a view can be selected just by adding ?cocoon-view=some-view to the URI. I've tried this and it's all OK. But the documentation hints that there's another way, which I don't quite understand

Re: Generate XSL with XSP?

2003-03-03 Thread Robert Sösemann
Du hast es hingekriegt ?!!! Yipee! Ich habs genahnt das das geht. Super, danke Thommi, must mir heute abend mal zeigen was bei mir falsch war. Dann kannste ja mindestens 4 XSL wegschmeissen Und dann gibts auch nur noch basepath und net mehr cms. Col Rob - Original Message

Antwort: Re: entity encoding error within an inline java script

2003-03-03 Thread jmaukisch
Hi, I am using the standard Cocoon config (Xalan, Xerces ..) The default Transformer is XSLTC. It is configured in the sitemap.xmap in your cocoon folder. Just search for map:transformers. You will find there a transformer named 'xalan' and one named 'xsltc' (and course many other