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 transformers)

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

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: 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

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 'ba

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: and if i do it tries to load the file from disk. any ideas if (and how

Re: Generate XSL with XSP?

2003-03-03 Thread Robert Sösemann
Thanks alot for your answer. Yes that was wrong BUT I didn't even came to the point where including the stylesheet was of interest. That is because the XSP did never generate the desired XSL. The output of my XSP was just an emtpty Tag. No other elements were created. I guess it a namespace prob

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 m

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 http://www.seagate.cc/b

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 n

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: What is xsltc ??? -Holger Jens Maukisch wrote: > > Hi, > > >

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 as follows to avoid coding entities: ...

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 t

Re: entity encoding error within an inline java script

2003-03-03 Thread Jens Maukisch
Hi, >

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

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 as follows to avoid coding entities: ...

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 p

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: or set it do default at your main site

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 > ho

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) o

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:01

Re: Generate XSL with XSP?

2003-03-03 Thread Upayavira
Robert, > Is it as simple as changing this line to: to allow the include to call an internal pipeline? Regards, Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

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: -- 2) Call and use this

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 fetching

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 fo

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 Mark H
I tried out a simpler form: (don't have the source code for your actions/stylesheets)

Re: Who use the Tomcat SYSDEO plugin for Eclipse?

2003-03-03 Thread Richard In Public
Hi Sylvain I've just started to work with that plugin. I'm happy to (try and) help. You can contact me here or at [EMAIL PROTECTED] Cheers, Richard - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 4:08 PM Subject: Who use the Tomcat SY

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: [E

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 actio

"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: Exceptio

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 mat

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 "permis

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

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.

Re: Axis as Cocoon component?

2003-03-03 Thread hgadm
Dear all, I use cocoon in a tomcat standalone environment. when tomcat is starting up, it scans the whole drive for serverproperties he finally couldn't find. then it uses its defaults. can I set pre-this behaviour in a conf file in order to avoid scanning the harddrive on every tomcat start ??

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 be

Subsitemaps in user's directory

2003-03-03 Thread Alexander Czernay
I'm trying to move a subsitemap to a user's directory, to let him edit his files himself. The problem is, that Cocoon always throws a "java.io.FileNotFoundException: xxx/sitemap.xmap (Permission denied)". I double checked the path and finally set the complete directory's and files' permissions

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: getCu

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 pl

Re: encoding

2003-03-03 Thread arturl
> > But it seems setting only charset attribute in html 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