RE: Portal Authentication Problem

2004-03-09 Thread Laurent Trillaud
Len The portal-fw block is depreciated. The new portal for cocoon is the portal block also called portal engine. You should download the latest cocoon version and use it. Laurent Trillaud De: Lenandlar Singh [mailto:[EMAIL PROTECTED] Envoy: lundi 8 mars 2004 14:52 :

Re: actions parameter levels

2004-03-09 Thread Jorg Heymans
Therefore you can now use flow instead :) We know the counter-intuitiveness, but any change on this (they were discussed) would break backwards compatibility). I sometimes regret having made the decision to go with the 2.0.x branch for my project last year in May . Flow is only one of the

Re: Tomcat Versions and Garbage Collection

2004-03-09 Thread Jorg Heymans
Very useful info thanks! Are you in a position to run this bench on Jetty as well? Jorg Gordon Anderson wrote: hi I've been looking into variations of performance with different versions of Tomcat to serve a website of approximately 6000 URLs using Cocoon 2.1.4. Performance was noticeably

Sybase connection

2004-03-09 Thread Seyfritz Nicole (MPI/ADB)
Good Morning, I want to connect Cocoon with the database Sybase, but it doesn't work. Can you please give me configuration examples and maybe an example for the xml-, xsl-, dtd-, xmap- and xconf-file? Thanks for your hellp. Greetings Nicole Seyfritz

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-09 Thread Alexander Schatten
Yves Vindevogel wrote: btw.: what do you mean with mydatabase?charSet=iso-8859-1 dburl. In your configuration of the datasources: I use this to force Postgresql to send my everything in ISO-8859-1. This works under Tomcat / Cocoon 2.0.x on Mac OSX 10.2 (no panther yet on that machine) jdbc

Re: Tomcat Versions and Garbage Collection

2004-03-09 Thread gordon
hi Jorg I hadn't thought of Jetty, good point. I'll give it a go when I get the chance. I'd also be interested if anyone else can repeat these results. Cheers Gordon Gordon Anderson 3months.com Original Message From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Tomcat

auth with database

2004-03-09 Thread Zamek
Hello All, I tried to authenticate from database based on JD. Daniels's: http://www.mail-archive.com/[EMAIL PROTECTED]/msg09607.html I have some problems: 1. ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp;; xmlns:esql=http://apache.org/cocoon/SQL/v2;;

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-09 Thread Bertrand Delacretaz
Le Mardi, 9 mars 2004, à 10:31 Europe/Zurich, Alexander Schatten a écrit : ...I think I have really set everything that is mentioned in the documentation, the wiki or the mailinglist: -- LANG system variable -- JAVA_OPTIONS on startup -- this encoding in the driver still the öäüÄÖÜ are not

Run cocoon-servlet problem : java.lang.IllegalAccessError

2004-03-09 Thread test
Hi all I'm trying to run cocoon-2.1.4 under tomcat 4.1.27 I get such an exseption : -- 2004-03-09 10:36:29 StandardContext[]: Servlet threw load() exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw exception

[HELP]No pipeline matched request: baseballlibrary/excerpts/breaking_the_slump4.stm

2004-03-09 Thread Gargiulo
Description:org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: baseballlibrary/excerpts/breaking_the_slump4.stm

RE: Question about xslt bench

2004-03-09 Thread vincent.mahe
What I understand from all these messages is that for a production server, the best tuning is : - use-store = true in cocoon.xconf - use-persistent-store = false in cocoon.xconf - check-includes = false for the map:transformer parameters in the sitemap.xmap The only risk

Re: Sybase connection

2004-03-09 Thread Torsten Curdt
Seyfritz Nicole (MPI/ADB) wrote: Good Morning, I want to connect Cocoon with the database Sybase, but it doesn't work. Which Sybase? (ASA/ASE?) And what does doesn't work mean exactly? Can you please give me configuration examples and maybe an example for the xml-, xsl-, dtd-, xmap- and

Re: Installing Cocoon On debian

2004-03-09 Thread Laurent BERTHELOT
Thank you very much. All is ok...(^^)... and sorry for my beginner question (^^) I use 2.0.4 'cause it's stable... 2.0.4 2.1.4 on dev server. and 2.0.4 on my prod server. More information about my problem : http://cocoon.apache.org/2.0/installing/index.html Chapter Java 1.4 configuration

RE: Portal Authentication Problem

2004-03-09 Thread Lenandlar Singh
Thanks Laurent, Ill certainly download the newer block and use it. By that i guess u mean i dont have to build or anything like that. Last year when i was first introduced to cocoon i hadnt this problem.Maybe i was unconsciously using a newer version. Thanks. Len. Do you Yahoo!? Yahoo! Search

RE: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-09 Thread Yves Vindevogel
I really believe now, this is a VM bug, but I am curious, that there seem to be no other OS X user, that have upgraded the Java VM and did not recognize this problem. (again: the application works fine and without problems on Linux). YV: I have the opposite. Running an old VM on my Mac (Jaguar

AW: caching of generated xsp

2004-03-09 Thread Marco Rolappe
hi jakob, the reason for this is the current 'suboptimal' ;-) implementation of SitemapSource (which represents resources accessed via the cocoon: protocol); for getLastModified() it always returns 0, i.e. 'dunno'. furthermore the SitemapSource is reset() after access via e.g.

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-09 Thread Alexander Schatten
Yves Vindevogel wrote: Yes, could be I use 1.4.2_03 What I also noticed ... I use swaret to keep my system up-to-date. Swaret wanted me to install XFree86 4.xx to run J2Sdk. I think this is no longer needed (since 1.4), so I did not install it. Could there be a problem there ? really, I

RE: unescaping xml in XSP-page

2004-03-09 Thread Baun, Kevin
I seem to be having a very simular issue. I have a method which returns generated dhtml, and all of the '' and '' are also replaced with 'lt;' and 'gt;'. Any ideas? -Mel -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 8:58 PM To: [EMAIL

Re: auth with database

2004-03-09 Thread JD Daniels
Not sure how those semi colons got there... odd... Try taking the session set-attribute right out.. it is not needed as the user info is stored in the session with the authentication. JD Zamek wrote: Hello All, I tried to authenticate from database based on JD. Daniels's:

[repost] authentication-fw accessing resource for redirect

2004-03-09 Thread Steve Schwarz
Hi Sorry to post again; but I'm stumped on this one... Thanks Steve Hi I've been pouring through the mail archives and can't seem to find what I'm doing wrong... If I am not yet authenticated and I try to access a protected page, I am (correctly) redirected to the login page with the uri

Re: Tomcat Versions and Garbage Collection

2004-03-09 Thread JD Daniels
Very nice... thanks for the info. I just upgraded tomcat to 5.0.19 just for this problem. Glad to know it was worth it :) JD Gordon Anderson wrote: hi I've been looking into variations of performance with different versions of Tomcat to serve a website of approximately 6000 URLs using

AW: Run cocoon-servlet problem : java.lang.IllegalAccessError

2004-03-09 Thread Slava
Answer myself :) It appeared that this happens because TOMCAT do not see for some reason logkit-1.2.jar with org.apache.log.Hierarchy but exception reports absolutly another reason. I removed this JAR - problem still stay I added in catalana.sh parameter

Re: auth with database

2004-03-09 Thread Zamek
Hello, thanks for reply On Tuesday 09 March 2004 15.13, JD Daniels wrote: Not sure how those semi colons got there... odd... I get it from this link: http://www.mail-archive.com/[EMAIL PROTECTED]/msg09607.html Try taking the session set-attribute right out.. it is not needed as the user

Re: OpenOfficeGeneration

2004-03-09 Thread Philippe Guillard
Hi Zamek, Sorry to bother you, can you tell me or send what is nomenu.xml mentioned in your response below ? Your xsl looks good and i become lazy! Thanks. Phil On Fri, 2004-02-27 at 21:44, Zamek wrote: Hello All, I am new in Cocoon, but I have a working OO solving. my sitemap.xmap

Fwd: Re: Need help on generating excel

2004-03-09 Thread Anna Bikkina
---BeginMessage--- I am using serverpages generator to genarate xml from the xsp's. I use the same xsp in both the cases. I am wondering what difference could be there in the generated SAX events. The only change in my sitemap in both the match statements is the transformer and the

Re: Need help on generating excel

2004-03-09 Thread Anna Bikkina
I am using serverpages generator to genarate xml from the xsp's. I use the same xsp in both the cases. I am wondering what difference could be there in the generated SAX events. The only change in my sitemap in both the match statements is the transformer and the serializer after the

Sample slide block download/view problem with cocoon 2.1.4

2004-03-09 Thread jplejacq
I've been unsuccessful in getting the slide block sample to work. I'm able to authenticate, upload files, and browse the repository. When I try to view a file, it always fails with the error message Could not display content. Part of the problem is the stylesheet content content2html.xsl does not

Javascript in Woody in Coplets

2004-03-09 Thread Philippe Guillard
Hi all, Since i put my Woody forms in portal coplets, i discovered the Javascripts included in my forms are not processed. Example: this is the case of the showPopup for the Woody wi:help or javascript on wd:on-value-changed used in selection-lists (carselector sample). Is anybody has an idea to

CDATA problem?

2004-03-09 Thread Baun, Kevin
okay so I have this... xsp:expr![CDATA[htmlStr]]/xsp:expr which as I under stand it should allow the characters to just print as in with no transform. I have been searching elist and newsgroup archives for days and I have found a great deal of this question was already answered, look it up but

My XSP is entifying my UTF

2004-03-09 Thread Rafael Alvarado
I have an XSP file that read some UTF8 content in a MySQL database and spits out an XML document. The problem is that the all the 16-bit UTF8 stuff gets split into 8-byte characters and then entified. I can find no place to control this. It also occurs in the generation phase, since I used a

Re: My XSP is entifying my UTF

2004-03-09 Thread Joerg Heinicke
On 09.03.2004 22:47, Rafael Alvarado wrote: I have an XSP file that read some UTF8 content in a MySQL database and spits out an XML document. The problem is that the all the 16-bit UTF8 stuff gets split into 8-byte characters and then entified. I can find no place to control this. It also

RE: My XSP is entifying my UTF

2004-03-09 Thread Rafael Alvarado
Do you mean that the problem is not in the XSP generator? I have written a simple PHP application to grab and present the data with no problems, so I am totally baffled that an XML publication framework would not handle such a basic task. Rafael C. Alvarado Manager of Humanities Computing

How to output white space from xslt?

2004-03-09 Thread Thomas Zehetbauer
I thought that xsl:text as well as CDATA elements should preserve white space contained within, however I had to find that only white space from xsl:value-of makes it to the output. pxsl:value-of select='A'/![CDATA[ ]]xsl:value-of select='B'/ xsl:value-of select='C'/xsl:text /xsl:textxsl:value-of

Re: My XSP is entifying my UTF

2004-03-09 Thread Joerg Heinicke
On 09.03.2004 23:14, Rafael Alvarado wrote: Do you mean that the problem is not in the XSP generator? I have written a simple PHP application to grab and present the data with no problems, so I am totally baffled that an XML publication framework would not handle such a basic task. Hmm, what

RE: My XSP is entifying my UTF

2004-03-09 Thread Rafael Alvarado
OK, thanks for the clarification. So, then, if Xalan is the culprit, can it be replaced in Cocoon? My memory says no, but I'll have to take a look. If it cannot be replaced, then I'll probably have to drop Cocoon! Rafael C. Alvarado Manager of Humanities Computing Research Applications 316 87

Re: How to output white space from xslt?

2004-03-09 Thread Joerg Heinicke
On 09.03.2004 23:26, Thomas Zehetbauer wrote: I thought that xsl:text as well as CDATA elements should preserve white space contained within, however I had to find that only white space from xsl:value-of makes it to the output. pxsl:value-of select='A'/![CDATA[ ]]xsl:value-of select='B'/

Re: My XSP is entifying my UTF

2004-03-09 Thread Joerg Heinicke
On 09.03.2004 23:31, Rafael Alvarado wrote: OK, thanks for the clarification. So, then, if Xalan is the culprit, can it be replaced in Cocoon? My memory says no, but I'll have to take a look. If it cannot be replaced, then I'll probably have to drop Cocoon! Much to my regret! Why are the

RE: My XSP is entifying my UTF

2004-03-09 Thread Rafael Alvarado
Here is my situation. I run an etext server with documents written in several languages. In creating a search interface for a collection of Hebrew documents, for example, I want to pull a distinct list of words from a db and create a set of lists for users to search with. The values have to be

Re: Cocoon and Saxon

2004-03-09 Thread Joerg Heinicke
On 04.03.2004 17:33, Nesto wrote: But the problem is not in such pipeline (where the saxon processos is called): I get one error even in the first page of my webapp (where the default cocoon processor is used). Is seems like there's a conflict, but I have no idea on where and why. ... The

Help! cocoon.request, 2.1.3 = 2.1.4

2004-03-09 Thread Mark Lundquist
Hi, I'm trying to upgrade to 2.1.4, and I'm having this problem... I have a small non-Woody form, containing a control like this: input type=hidden name=submitAction value=whatever / In my 2.1.3 flowscript, after sendPageAndWait() I interrogate cocoon.request.submitAction. In 2.1.4,

Re: My XSP is entifying my UTF

2004-03-09 Thread Joerg Heinicke
On 09.03.2004 23:54, Rafael Alvarado wrote: Here is my situation. I run an etext server with documents written in several languages. In creating a search interface for a collection of Hebrew documents, for example, I want to pull a distinct list of words from a db and create a set of lists for

FOM Request object

2004-03-09 Thread Mark Lundquist
OK, the Wiki talks about request parameters and request attributes. I don't think I know what a request attribute is... can somebody enlighten me? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

cocoon.createObject()

2004-03-09 Thread Mark Lundquist
OK, I've picked up on a few email threads about the new createObject() and disposeObject() methods. There's something in the release notes about them too, but not enough to make it clear to me how or why to use them. I just started really learning Cocoon a couple of months ago, and all the

Re: .

2004-03-09 Thread Scott Warren
Yes we are in Melbourne (actually Geelong) but most of our clients are in Melbourne. I would love to talk to anyone in melbourne Regards Scott Warren Joe Latty wrote: Yep, Sydney -Original Message- From: Richard Huegill [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 February 2004

Re: caching of generated xsp

2004-03-09 Thread Jakob Schwendner [Public Image]
Hi Marco, thank you very much for your swift reply. Found the patch at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26725 It is however against cocoon 2.1.3. Have you or has anyone else got a patch against the 2.1.4 release? thanks, Jakob - Original Message - From:

RE: My XSP is entifying my UTF

2004-03-09 Thread Conal Tuohy
Rafael: It's important to realise that character entities exist only in the in the serialization of XML, and that inside a Cocoon pipeline the XML is not serialized, so the entities do not exist. Inside Cocoon these special characters are no different to any other characters: as far as Cocoon is

Re: coplet / flowscript cache invalidation question

2004-03-09 Thread Alex Romayev
Jon, Maybe I'm missing something, but why can't you just set the state of your coplet in the flowscript, so that it shows the first page after it's done? e.g.: if (state == 'done') cocooon.sendPage(welome-page); -Alex --- Jon Evans [EMAIL PROTECTED] wrote: Hi, I'm using the Portal

Re: Need help w/ wd:action (and flowscript)

2004-03-09 Thread Christopher Oliver
There is a v2 version of the Woody flowscript API that allows you to do this: function blah() { var form = new Form(...); var button = form.getWidget(doSomething-button); button.onClick = function() { doSomething(); } form.showForm(...); } Using this API you can achieve

RE: unescaping xml in XSP-page

2004-03-09 Thread Baun, Kevin
I had to fiddle with it for a while but it does work! thank you very much, this has been very useful. I ending up doing something a little different so here it is incase it can help somdbody else. // content area of xsp TABLE id=whatever height=100 cellSpacing=0 cellPadding=0 width=300 border=0

Re: using URL in map:match

2004-03-09 Thread Jean-Christophe Kermagoret
You can use sitemap global variables like this : map:pipelines map:component-configurations global-variables serverhttp://localhost:7001/repository /global-variables /map:component-configurations map:match pattern=*.pdf

Re: Cocoon presentation

2004-03-09 Thread Jean-Christophe Kermagoret
You can go and read these docs. It's not a comparison but it will permit you to best know what cocoon is. http://mir2.ovh.net/ftp.apache.org/dist/cocoon/events/gt2003/presentations/ Arnaud De Brem wrote: Hi, do you know where I can find a good presentation of Cocoon (with advantages and

Re: Need help w/ wd:action (and flowscript)

2004-03-09 Thread Mark Lundquist
On Mar 9, 2004, at 6:04 PM, Christopher Oliver wrote: There is a v2 version of the Woody flowscript API that allows you to do this: function blah() { var form = new Form(...); var button = form.getWidget(doSomething-button); button.onClick = function() { doSomething(); }

Trouble w/ woody v2 (was Re: Need help w/ wd:action (and flowscript)

2004-03-09 Thread Mark Lundquist
On Mar 9, 2004, at 6:04 PM, Christopher Oliver wrote: There is a v2 version of the Woody flowscript API that allows you to do this: ..snip.. Man, I could sure use some expert help getting this v2 form API going, because I'm just having a miserable time. I'm loading

RE: [repost] authentication-fw accessing resource for redirect

2004-03-09 Thread Ralph Goers
I have the exact same requirement. Unfortunately, it doesn't appear the authentication framework doesn't make this easy. The ideal solution would be to have DefaultAuthenticationManager's checkAuthentication store the current request in the session and then redirect to it after login completes

Re: Cocoon presentation

2004-03-09 Thread Derek Hohls
Thanks - unfortunately these docs are very LARGE and the site is very slowww. [EMAIL PROTECTED] 2004/03/10 07:06:17 AM You can go and read these docs. It's not a comparison but it will permit you to best know what cocoon is.

Re: Cocoon presentation

2004-03-09 Thread Antonio Gallardo
Derek Hohls dijo: Thanks - unfortunately these docs are very LARGE and the site is very slowww. Choose a mirror using this link: http://cocoon.apache.org/mirror.cgi Best Regards, Antonio Gallardo. [EMAIL PROTECTED] 2004/03/10 07:06:17 AM You can go and read these docs. It's not a

WS-Proxy

2004-03-09 Thread Johnson
Hi! Can Ws-Proxy be a general WS server,ie the client is not cocoon. Best Regards Johnson

Re: Cocoon presentation

2004-03-09 Thread Derek Hohls
Antonio Yes, you're right, of course! I had assumed the mirrors were only for the main cocoon files and documents. Thanks Derek [EMAIL PROTECTED] 2004/03/10 09:01:01 AM Derek Hohls dijo: Thanks - unfortunately these docs are very LARGE and the site is very slowww. Choose a mirror

Aack!

2004-03-09 Thread Mark Lundquist
OK Cocooners, here is the deal. I'm porting a woo... er, CForms form from 2.1.3 to 2.1.4. Before, without wd:action I had to emulate that myself. I hacked my own showForm() that checked the request to figure out which button was pressed, and it only invoked validation if a particular one of

Re: Javascript in Woody in Coplets

2004-03-09 Thread Jan Hoskens
I'm not sure you mean this, but I'll give it anyway: If you're using woody and thus the woody stylesheet, there are several javascripts that are added (eg the popup window). These javascripts are to be added in your html header and thus the woody stylesheet looks for that tag htmlheader/.. to put

AW: caching of generated xsp

2004-03-09 Thread Marco Rolappe
hi jakob, SitemapSource didn't really change that much between 2.1.3 and 2.1.4 (just had a look at the diff). I suggest you simply 'update' your local 2.1.4 SitemapSource with the 2.1.3 one and apply the patch. -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL

AW: cocoon.createObject()

2004-03-09 Thread Marco Rolappe
hi mark, you can find introductory info at http://avalon.apache.org/ (About Avalon - Documentation) some key concepts are COP (Component Oriented Programming), components/services, containers, IoC (Inversion of Control), etc. the rough idea is to decompose your system into

AW: FOM Request object

2004-03-09 Thread Marco Rolappe
sure ;-) a request parameter is a parameter sent from a client with a request, e.g.: http://foo.com/tell-me?about=request-params here 'about' is the request parameter which you can use for further processing. a request attribute is server-side and used for processing that request. if you have