Xindice - Pipeline to db

2002-08-20 Thread praktikant
Hi, now I can use Xindice in Cocoon. I've had a wrong idea from using Xindice. Thanks Roman! :o) But I haven't found something about a pipeline to Xindice. How can I build a pipeline to Xindice? How can I write back to Xindice? How to use XUpda

RE: authentication framework and bea weblogic

2002-08-20 Thread Carsten Ziegeler
This error is caused by an older parser in your classpath - you have to make BEA use the Xerces version shipped with Cocoon. Carsten Carsten Ziegeler Chief Architect Open Source Group, S&N AG -- Cocoon Consultin

RE: Portal question [ the request parameters are available from inside the coplets?]

2002-08-20 Thread Carsten Ziegeler
Ramy Mamdouh wrote: > > Thanks for replying, but handlesParameters just handles the parameters > of the portal engine (like size, customize, etc). True. > And handlesParameters is true by default. Yes. > > What I'm asking about is handling any other parameters passed with the > main portal

Re: Link Livesites: no longer

2002-08-20 Thread Giacomo Pati
On 20 Aug 2002, Andreas Kuckartz wrote: > This site listed as the second entry under "Live Sites powered by Apache > Cocoon" seems to be a Zope site (and has some technical problems): > > Sirvisetti UDDI Registrar WAP site > http://www.sirvisetti.com/uddihtml/uddi Thanks for the pointer. Giacom

Re: empty generation from xIndice or eXist

2002-08-20 Thread Vadim Gritsenko
Daniel Fournier wrote: >Hi happy Cocoon users, > How 'bout unhappy developers? :-? >I have installed xIndice and eXist to test these DB in the Cocoon environment. > >After configuring cocoon.xconf and following advices from cocooncenter or >others users from this list, I'm testing xIndice (or

Re: Pipelineand matchers

2002-08-20 Thread Vadim Gritsenko
David LAGARDERE wrote: >Hello. > >Is it better to have as many pipelines as matchers or >is it recommended having one pipeline including all >matchers ? > Split as you want. Usually, you have at least two pipelines: one internal and one is not. In the future (2.1), you will be able to choose p

RE: ?something redirection

2002-08-20 Thread Conal Tuohy
I think you want a RequestParameterMatcher or WildCardRequestParameterMatcher. > -Original Message- > From: Jesper Rasmussen [mailto:[EMAIL PROTECTED]] > I'm porting some old systems to cocoon. > Before our url's wast foo.com/?something > > In our new cocoon layout the url might be foo

Re: Using views

2002-08-20 Thread Justin Fagnani-Bell
Igor, I think you can do what you want with a map:aggregrate, but not in every pipeline. Try somehting like this: This will match every url and then aggregate it with your other matchers. Then just have all your other matchers start with "part/". Of course, I

RE: Anyone seen this cache problem?: - java.lang.ClassCastException: org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Christopher Watson
Carsten. I think it's not the same problem, since I'm just doing a map:read to get the .gif :-( (The bug you mentioned below seemed to be resolved by a patch to batik, so I guess it was a generated svgjpeg image in their case) I'm just going to look at something Vadim has suggested ... Christop

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
Per, I actually made sure the file (filename.jpg) was at each location. If it was allowed access, and the file was not there, I would have seen the html page that is generated from part of my pipeline. I've tried requesting the file when it wasn't there, and I was allowed access, and I saw my cu

Re: Tomcat won't unpack cocoon.war

2002-08-20 Thread Martin Polley
Title: Re: Tomcat won't unpack cocoon.war Simon Price wrote: >Possible cause: You need to make sure that the tomcat user/group has >permission to write to the webapps directory. Hah! That did it! I had to change the permissions for /var/cache/tomcat4 as well. Then it worked great. Thanks a

RE: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Simon Price wrote: >Possible cause: You need to make sure that the tomcat user/group has >permission to write to the webapps directory. Hah! That did it! I had to change the permissions for /var/cache/tomcat4 as well. Then it worked great. Thanks again! Martin Polley Technical Communicator Sur

RE: Download Server - directory access denied

2002-08-20 Thread Per Kreipke
> It seems that absolute URLs are not a problem. The following examples > give > me an error page: > > URI: > > /../filename.jpg > /download/../../filename.jpg > /images/../../filename.jpg > > error page: > > HTTP Status 404 - /filename.jpg > > -

Link Livesites: no longer

2002-08-20 Thread Andreas Kuckartz
This site listed as the second entry under "Live Sites powered by Apache Cocoon" seems to be a Zope site (and has some technical problems): Sirvisetti UDDI Registrar WAP site http://www.sirvisetti.com/uddihtml/uddi Andreas -

empty generation from xIndice or eXist

2002-08-20 Thread Daniel Fournier
Hi happy Cocoon users, I have installed xIndice and eXist to test these DB in the Cocoon environment. After configuring cocoon.xconf and following advices from cocooncenter or others users from this list, I'm testing xIndice (or eXist) acces thru the xmldb protocol, i.e. (from my sitemap)

Dynamic data in XMLForm

2002-08-20 Thread Björn Voigt
Hello, i have a little problem to create dynamic with XMLForm. I use a Bean which contains an java.util.Collection attribute "myCollection". With the following sample i can show all names of the Objects of myCollection. My Collection COntent But I need

Pipelineand matchers

2002-08-20 Thread David LAGARDERE
Hello. Is it better to have as many pipelines as matchers or is it recommended having one pipeline including all matchers ? What are the technical differences ? What are the consequences in terms of performances ? Thanks in advance. David LAGARDERE _

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
> It might be a concern to others, but doing it in the resolver > would probably break just about everything in C2: the > resolver is used by the sitemap to get relative URLs for > every pipeline, matcher etc. And viewing the source using the > samples might use relative paths. > > I suggest

RE: Download Server - directory access denied

2002-08-20 Thread Per Kreipke
> Wow! Great comment. I changed the URI to: > > /download?file=../../../conf/web.xml > > and actually accessed the file. Is this a concern to anyone else? > > Thanks Per. Sure. It might be a concern to others, but doing it in the resolver would probably break just about everything in C2: the r

Re: Download Server - directory access denied

2002-08-20 Thread Vadim Gritsenko
Matthew Hailstone wrote: >I see. So the element, notwithstanding it is inside the > element, is actually still inside the > element's scope. > Yes, this is correct. > From your comment, I suppose I >should have known this because it follows the XSLT specification. > No, this has no relation

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
Wow! Great comment. I changed the URI to: /download?file=../../../conf/web.xml and actually accessed the file. Is this a concern to anyone else? Thanks Per. Matthew > Note: not sure if this will happen, but passing the file name > as a request, you may want to make sure that it doesn't >

RE: Download Server - directory access denied

2002-08-20 Thread Per Kreipke
Note: not sure if this will happen, but passing the file name as a request, you may want to make sure that it doesn't contain a sequence of '../' such that the user is walking up your tree to get at some other resource outside 'download'. I'm not sure if the resolver prevents this automatically or

authentication framework and bea weblogic

2002-08-20 Thread michael_hampel
Hello, after trying out the Authentication Framework on Tomcat and everything worked fine, we now deployed on BEA Weblogic 6.1 SP1 on Solaris. There, we unfortunately get the following error message, where we couldn´t find out where the error is coming from. We think that we get th

RE: Internal server error

2002-08-20 Thread Naquin, Beth
Title: RE: Internal server error This could be way off the mark, but since no one else answered:  Do you try to redirect after you've already written part of the content (like or )?  I used to get a similar error when programming with Active Server Pages, and it had to do with putting a redir

RE: turning off logging

2002-08-20 Thread Fernando Padilla
On Tue, 20 Aug 2002, Lai, Harry wrote: > Hi Fernando, > > I ran into this same problem a little bit ago, and I solved it by setting > the log-level in the web.xml settings for the Cocoon servlet. The default > in there is DEBUG, and I just moved it up to INFO just to avoid the logger > created/

RE: turning off logging

2002-08-20 Thread Lai, Harry
Hi Fernando, I ran into this same problem a little bit ago, and I solved it by setting the log-level in the web.xml settings for the Cocoon servlet. The default in there is DEBUG, and I just moved it up to INFO just to avoid the logger created/returned messages. As for why that works, I _think_

Re: Portal question [ the request parameters are available from insidethe coplets?]

2002-08-20 Thread Ramy Mamdouh
Hi Matthew, Thanks for replying, but handlesParameters just handles the parameters of the portal engine (like size, customize, etc). And handlesParameters is true by default. What I'm asking about is handling any other parameters passed with the main portal uri. handlesParameters has no effect

RE: turning off logging

2002-08-20 Thread Luca Morandini
Fernando, Change the log level from "DEBUG" to "ERROR" in logkit.xconf (and take a look at the mail archives, this has been answered many times over). Best regards, - Luca Morandini GIS Consultant [EMAIL PR

turning off logging

2002-08-20 Thread Fernando Padilla
Hello. LogKit seems to be continuously outputting log messages - like the ones below -, even though I have tried to turn off all logging ( to avoid using up the diskspace at our hosting provider ). Has anyone run into this? Any ideas of how to ask LogKit to please not tell me everytime that

problem trying to use JNI inside an action

2002-08-20 Thread Ramsés Morales
Hi. I can't use the java native interface inside an action. With the line System.loadLibrary("whatever") inside my action I get a strange behavior. The action doesn't starts, and I get no errors, nor any message on any log. If I comment that line, the action runs properly. I have to call a dll,

RE: dull problem : redirecting after transforming

2002-08-20 Thread Luca Morandini
Barbara, I solved a problem like yours in a rather awkward way... but you may find it useful. 1) I wanted to choose a pipeline based on a parameter outputted by my database operations (I use Stored Procedures, hence an output parameter, called intStatus, was used as a status variable: 0 Ok, 1 G

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Michael Edge
Thanks again for the help. It now works. My sitemap entry is as follows, and I get a proper header and footer surrounding my report. Thanks to you Stefan for your Apache suggestion. I'll keep that in mind. Regards Michael

Re: XML data via POST request

2002-08-20 Thread Leszek Gawron
On Tue, Aug 20, 2002 at 01:33:49PM +0200, Boscoe wrote: > Hi all, > > I am writing this because the archive isn't accessible at the moment, so > I can' t reply to my original mail. > > A while ago, I had the problem that I wanted to send XML data via POST > to a XSP. I received some interesti

RE: Portal question [ the request parameters are available from inside the coplets?]

2002-08-20 Thread Matthew Langham
Ramy, the coplet needs to be configured to handle parameters. Check the handlesParameters entry in the portal documentation. This is optional - so you will need to turn it on using the portal tool or by editing the coplet profile. Matthew -- Open Source Group Cocoon { Consulting, Trainin

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
I see. So the element, notwithstanding it is inside the element, is actually still inside the element's scope. From your comment, I suppose I should have known this because it follows the XSLT specification. Thanks again! That is very helpful to know. Matthew > > > > > > > > > > >

Re: dull problem : redirecting after transforming

2002-08-20 Thread Christian Haul
On 20.Aug.2002 -- 04:11 PM, Barbara Post wrote: Barbara, in short: you cannot. If you had a redirect after the response is already produced, it would be ignored. In addition, you may not have a pipeline with a generator but without a serializer (correction: call-ressource may be the last, but ev

Re: Download Server - directory access denied

2002-08-20 Thread Vadim Gritsenko
Matthew Hailstone wrote: >Vadim, > Thanks for relating my problem to the FAQ. Now I understand. :) That >was the problem. > >Interesting to note, though, here is the change that fixed the problem: > > > > > 1> Entered match scope > > > 2> Entered act "request

Portal question [ the request parameters are available from insidethe coplets?]

2002-08-20 Thread Ramy Mamdouh
Hello, I have a small portal [cocoon 2.1-dev] question here. The requests parameters passed to the main portal pipeline (that one containing the portal generator) are available to the coplets? I mean if we invoked the portal generator pipeline with some parameters (e.g /index?abc=10), where "/

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
Vadim, Thanks for relating my problem to the FAQ. Now I understand. :) That was the problem. Interesting to note, though, here is the change that fixed the problem: --- section of change ---

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Luca Morandini
Michael, you can just aggregate without trasnforming (though you MUST serialize after aggregating). Moreover, you can aggregate the results of other pipelines, like in: Best regards, - Luca Morandini

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Stefan Seifert
There is another possibility, though a bit out of the scope of cocoon: Use Cocoon to genrate HTML content that includes a Server Side Include-Statement (), put a Apache Webserver 2.x in front of cocoon (i.e. using mod_jk). With proper configuration in httpd.conf of the Apache you can let the We

Re: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Michael Edge
Thanks for the help Vadim and Luca. My understanding is that aggregation creates a single XML fragment from many sources, concatenating them all together. Then it applies the transformation and serialization. However, my documents are not XML but HTML. Using aggregation and include it seems

dull problem : redirecting after transforming

2002-08-20 Thread Barbara Post
I have a series of transformers (last one inserts in a database) then want to go to another pipeline (anyway I have to do a generation from new xml, not the DB successful insertion message) without having interaction with the user, how can I do that ? map:redirect-to uri="..." right after a map:t

RE: Using views

2002-08-20 Thread Per Kreipke
> Hi! > > I'm about to start using views. I'm trying to do something that I'm not > sure can be done. > > Can I use in views? As far as I know, you can't tell cocoon to aggregate views. You can define a view to reference a part of an aggregate. > What for? Well, this way I would be able to add

RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Robert Koberg
Hi, Perhaps it is an easy thing to do, but what happens if you stage your sites (dev, qa, certification, live) or have a distribution of software you want to document (you want the HTML to work wherever the user downloads it). Or perhaps you want to hand it off to your boss to look over on her fl

RE: Strange error using JPEG/SVGSerializier under heavy load - ClassCastException

2002-08-20 Thread Stefan Seifert
After a lot of resarching and debugging i found the source of this problem - a (minor) bug in Batik, that only appeared because some now unneeded code lines in the Cocoon SVG Builder. I submitted a patch to Bugzilla: #11856. I will submit a patch to Batik too, to resolve the real source of this

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Vadim Gritsenko
Martin Polley wrote: >Vadim Gritsenko wrote: > >unzip > > >DOH! > > Yup. For gourmands and purists: jar -x Vadim - Please check that your question has not already been answered in the FAQ before posting.

Using views

2002-08-20 Thread Igor Abade V. Leite
Hi! I'm about to start using views. I'm trying to do something that I'm not sure can be done. Can I use in views? What for? Well, this way I would be able to add my side-menu XML elements after the content generation, but before the final transformation. I'm looking for a way to add content t

Re: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Vadim Gritsenko
Michael Edge wrote: >Hi All > >Is it possible within Cocoon to produce a single page that is made up of both static >and dynamic content. For example, I would like to produce reports that all contain a >standard header with images and toolbars, etc., but where the dynamic part of the >page is

Re: AW: XSP caching and jsessionid

2002-08-20 Thread Vadim Gritsenko
Michael Zehrer wrote: >But then I would have a cached copy only for each user/session? But I >want a global cache... > Which is obviously not possible. Either you cache response for each session, or you do not cache (encode URL transformer, as you can see, works exactly same way). PS We are t

Re: Anyone seen this cache problem?: - java.lang.ClassCastException:org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Vadim Gritsenko
Christopher Watson wrote: >Could anyone help with this cache problem ... > >I seem to get these errors creep into existence for certain static document >(e. g. images). >Everything is fine for a couple of days, then I start getting cache errors >on access to some static files. >Once a certain URI

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Luca Morandini
Micheal, I think this is a case for aggregation: read the "aggregating" paragraph at http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html Best regards, - Luca Morandini GIS Consultant [EMAIL PROTE

Re: xsl variable and sunshine getxml

2002-08-20 Thread Joerg Heinicke
Hello Barbara, that's a simple XSL problem. With > > > you create a Result Tree Fragment (RTF), not a node set. A RTF contains the nodes, but you can't operate on them like on a node set. It behaves more like a string. But in your variable you have no text node, so there is no text to

Re: xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
thanks for the explaination Carsten. I finally palinly copied the needed templates into my stylesheet, rather than writing more stylesheets ;-) as I thought of too. - Original Message - From: "Carsten Ziegeler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 3:1

RE: xsl variable and sunshine getxml

2002-08-20 Thread Carsten Ziegeler
> -Original Message- > From: Barbara Post [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 2:52 PM > To: [EMAIL PROTECTED] > Subject: xsl variable and sunshine getxml > > > c2.0.3.. > > I am surprised that : > > works > while : > > > > > > > does not... > sunshine:getxml

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Simon Price
Possible cause: You need to make sure that the tomcat user/group has permission to write to the webapps directory. Martin Polley wrote: > Unfortunately, I am at my (work) Windows machine right now, so I cannot > check it. > > But I know that unpackWARs is set to true. (This is the default sett

Re: xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
yeah it was a typo in my mail but indeed I have xsl:variable in my xsl. sorry.. - Original Message - From: "KOZLOV Roman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 3:03 PM Subject: Re: xsl variable and sunshine getxml > Why not xsl:variable? > > Roman > >

Re: xsl variable and sunshine getxml

2002-08-20 Thread KOZLOV Roman
Why not xsl:variable? Roman Barbara Post wrote: > c2.0.3.. > > I am surprised that : > > works > while : > > > > > > > does not... > > I need to pass the value to a template (of an imported reused > stylesheet...). > > Thanks... > > Babs > >

RE: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Vadim Gritsenko wrote: unzip DOH! Martin Polley Technical Communicator http://www.surf-com.com/ [EMAIL PROTECTED] Tel: (+972) (4) 9095-732 Mobile: (053) 864-280 ICQ 15617901 - Please check that your question has not already

AW: XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer
I think the EncodeURL Transformer makes sense. As far as I see from the logs it works like: No cookies: process the pipeline (or part of it?) Cookies: Get the cached page Since most people have cookies enabled, this is a good solution. Michael -Ursprüngliche Nachricht- Von: Joerg Hein

Re: Download Dialog box

2002-08-20 Thread Vadim Gritsenko
Atul Gulve wrote: > > > Hi, > > I want to add export functionality in my application. > > It means, when a user clicks on some link he should get a download > dialog box. > > But I am not able to access HttpServletResponse in xsp. What would you do if it were available? > If anyone knows how

Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Michael Edge
Hi All Is it possible within Cocoon to produce a single page that is made up of both static and dynamic content. For example, I would like to produce reports that all contain a standard header with images and toolbars, etc., but where the dynamic part of the page is generated by an XSP using

RE: Anyone seen this cache problem?: - java.lang.ClassCastException: org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Carsten Ziegeler
Perhaps this is the same bug as described here: http://marc.theaimsgroup.com/?t=10293301812&r=1&w=2 Carsten > -Original Message- > From: Christopher Watson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 2:48 PM > To: Cocoon-Users > Subject: Anyone seen this cache proble

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Vadim Gritsenko
Martin Polley wrote: >Am I doing something wrong? > >Setup: > RedHat Linux 7.3 > J2SDK 1.4.1_01 > Tomcat 4.0.4 > Cocoon 2.0.3 (vm 1.4 version) > >Java SDK and Tomcat (tomcat-full & tomcat-webapps) were downloaded as >RPMs, Cocoon as a binary tarball. > >When I go to http:/

xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
c2.0.3.. I am surprised that : works while : does not... I need to pass the value to a template (of an imported reused stylesheet...). Thanks... Babs - Please check that your question has not already been answered i

AW: XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer
But then I would have a cached copy only for each user/session? But I want a global cache... -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 20. August 2002 14:47 An: [EMAIL PROTECTED] Betreff: Re: XSP caching and jsessionid Michael Zehrer w

Anyone seen this cache problem?: - java.lang.ClassCastException: org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Christopher Watson
Could anyone help with this cache problem ... I seem to get these errors creep into existence for certain static document (e. g. images). Everything is fine for a couple of days, then I start getting cache errors on access to some static files. Once a certain URI starts failing, it keeps failing,

Re: XSP caching and jsessionid

2002-08-20 Thread Vadim Gritsenko
Michael Zehrer wrote: >Hi List, > >after getting xsp caching to work (which is really fun), there is a >problem with pages that include urlrewritten links containing that >jsessionid=, is there any solution fot making these pages >chacheable? > Have jsessionid as part of key (or validity - d

Re: XSP caching and jsessionid

2002-08-20 Thread Joerg Heinicke
I don't think so. The best way is to add the URL rewriter as a single transformation step on the end of the pipe. Regards, Joerg Michael Zehrer wrote: > Hi List, > > after getting xsp caching to work (which is really fun), there is a > problem with pages that include urlrewritten links contai

Re: Problem starting cocoon: "SAX2 driver class not found"

2002-08-20 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: >Hello Cocoon users! > >On accessing my cocoon installation with "http://localhost:8080/cocoon/"; I >still get the error message >"SAX2 driver class org.apache.xerces.parsers.SAXParser not found". > Classloading issue. >The Cocoon version is 2.0.3 and I tried it with T

Re: Missing API Doc?

2002-08-20 Thread Vadim Gritsenko
Joshua McCulloch wrote: >http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/transformation/AbstractSAXTransformer.html >gives a 404 error. > > Thanks for the report. Fixed. Vadim - Please check that your question ha

Re: connecting form field to action

2002-08-20 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: >I don't understand how actions can read fields from an html form through the sitemap. >I have a >text field in a form, i'd like to pass that field's value to an action which will >eventually modify it and >return it to the sitemap. My action, sitemap, form can see ea

Re: weird ? (sunshine, c203) [oops]

2002-08-20 Thread Barbara Post
ok the namespace was wrong ! it should have been : http://cocoon.apache.org/sunshine/1.0 :-/ dunno where I took it from !! gotta solve it soon then... - Original Message - From: "Carsten Ziegeler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 12:07 PM Subjec

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
My namespace is : "http://sunshine.sunde.sunshine/1.0"; and I use Xalan 2.3.1, Xerces 2.0.2. I am sure that I can use context without sunrise authentication, am I wrong ? (anyway in the full app I use authentication). Transformer works well for getxml context="sunRise", but not my custom context.

Re: Dynamic XSP resource

2002-08-20 Thread Tuomo Lesonen
On Tue, 20 Aug 2002, Roger I Martin PhD wrote: > Just from a quick look, the map:generate src for menu.html has "cocoon:" as > a part of it relative path; do you have such a path and can such an animal > be part of a url? I use "cocoon:/" protocol to tell cocoon, that "menu.xsp" in not directl

RE: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Unfortunately, I am at my (work) Windows machine right now, so I cannot check it. But I know that unpackWARs is set to true. (This is the default setting, I think.) I'll have a look at the logs as soon as I get back to my Linux machine. Thanks for your help. Martin Polley Technical Communicato

XML data via POST request

2002-08-20 Thread Boscoe
Hi all, I am writing this because the archive isn't accessible at the moment, so I can' t reply to my original mail. A while ago, I had the problem that I wanted to send XML data via POST to a XSP. I received some interesting hints from Vadim Gritschenko (thanks again, Vadim), but in the en

Re: Dynamic XSP resource

2002-08-20 Thread Roger I Martin PhD
Just from a quick look, the map:generate src for menu.html has "cocoon:" as a part of it relative path; do you have such a path and can such an animal be part of a url? --Roger - Original Message - From: "Tuomo Lesonen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20,

RE: Weird characters ESQL + XSP -> URL

2002-08-20 Thread Jan Willem Penterman
Thank you. I already suspected it to be something like this, but I was looking in the wrong place all the time, or had the problem at more files in my pipeline. Anyway it's solved now, by clearing out the linebreaks and tabs for nice markup in my editor. Isn't there a way to simply say "Ignore any

Download Dialog box

2002-08-20 Thread Atul Gulve
Hi, I want to add export functionality in my application. It means, when a user clicks on some link he should get a download dialog box. But I am not able to access HttpServletResponse in xsp. If anyone knows how to implement the above functionality then please do let me know. Thanks Atul

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Stephan Michels
On Tue, 20 Aug 2002, Martin Polley wrote: > Am I doing something wrong? > > Setup: > RedHat Linux 7.3 > J2SDK 1.4.1_01 > Tomcat 4.0.4 > Cocoon 2.0.3 (vm 1.4 version) > > Java SDK and Tomcat (tomcat-full & tomcat-webapps) were downloaded as > RPMs, Cocoon as a binary tarba

Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Am I doing something wrong? Setup: RedHat Linux 7.3 J2SDK 1.4.1_01 Tomcat 4.0.4 Cocoon 2.0.3 (vm 1.4 version) Java SDK and Tomcat (tomcat-full & tomcat-webapps) were downloaded as RPMs, Cocoon as a binary tarball. When I go to http://localhost:8080/cocoon/, it te

RE: weird ? (sunshine, c203)

2002-08-20 Thread Carsten Ziegeler
Try putting the "log" transformer between your xslt transformer and the sunShine transformer - you will then get the exact output of the xslt transformation. I guess that either the namespace for sunshine is not set or wrong (some versions of Xalan forgot to output the namespace very rarely, so

Re: AW: embedding image-stream in pdf

2002-08-20 Thread KOZLOV Roman
So, if your servlet will produce proper HTML response then it should work. Roman "Przybilla, Frank" wrote: > Hi Roman, > > I don't know if I got it right what you mean. > > What I want to in fop, maybe in conjunction with cocoon, is the following: > > http://localhost:8080/image-servlet"/>, whe

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
Yes I do. double-checked. - Original Message - From: "Carsten Ziegeler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 11:59 AM Subject: RE: weird ? (sunshine, c203) > Do you declare the sunshine namespace in your xslt? > > Carsten >

RE: weird ? (sunshine, c203)

2002-08-20 Thread Carsten Ziegeler
Do you declare the sunshine namespace in your xslt? Carsten > -Original Message- > From: Barbara Post [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 11:52 AM > To: [EMAIL PROTECTED] > Subject: Re: weird ? (sunshine, c203) > > > I added in my template > but nope. > > Ber

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
I added in my template but nope. Bert V.K., do you have more documentation / code snippets on this ? Thanks, Babs - Original Message - From: "Barbara Post" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 11:25 AM Subject: weird ? (sunshine, c203) > Hello, I

weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
Hello, I cannot get sunshine:setxml to work... sitemap : in my xsl : and in this template I have : something the result is : something !!! I really don't get it, since right above this transformation I use a map:aggragate which looks

XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer
Hi List, after getting xsp caching to work (which is really fun), there is a problem with pages that include urlrewritten links containing that jsessionid=, is there any solution fot making these pages chacheable? Cheers Michael --

AW: embedding image-stream in pdf

2002-08-20 Thread Przybilla, Frank
Hi Roman, I don't know if I got it right what you mean. What I want to in fop, maybe in conjunction with cocoon, is the following: http://localhost:8080/image-servlet"/>, where the servlet is producing an image stream. I don't want to store the image as a file and then acess it. Frank -Ur

Dynamic XSP resource

2002-08-20 Thread Tuomo Lesonen
Hi all! I have an XSP page which is extended with the Session Transformer before it is used as an resource for the serverpages generator. Here's my sitemap: If I open "menu.xsp" in browser, everything looks ok. Session Transformers does the job and everything. But when op

RE: Link Livesites: Cue and Review Recording Services [Cocoon 2]

2002-08-20 Thread Carsten Ziegeler
Added. Thanks Carsten > -Original Message- > From: Stuart Roebuck [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 1:42 PM > To: [EMAIL PROTECTED] > Subject: Link Livesites: Cue and Review Recording Services [Cocoon 2] > > > http://www.cueandreview.org.uk/ > > >

RE: sunrise context question

2002-08-20 Thread Carsten Ziegeler
Barbara Post wrote: > > Hello, back to work :-) > > 1. what is the persistence of a sunshine context I define ? i.e. > I have one > pipeline and two xsl : > map:transform src="xsl1.xsl" > map:transform type="sunShine" > map:transform src="other.xsl" > map:transform src="xsl2.xsl" > map:transfor

sunrise context question

2002-08-20 Thread Barbara Post
Hello, back to work :-) 1. what is the persistence of a sunshine context I define ? i.e. I have one pipeline and two xsl : map:transform src="xsl1.xsl" map:transform type="sunShine" map:transform src="other.xsl" map:transform src="xsl2.xsl" map:transform type="sunShine". I want xsl2 to use somet

RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Piroumian Konstantin
> From: Whalley, Anthony [mailto:[EMAIL PROTECTED]] > > Make all your links relative to the root directory > > Eg > "/index.html" > "/products/productA.html" In this case browser interprets your links relative to the host and not the application context. You should perform a transformation to

RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Whalley, Anthony
Make all your links relative to the root directory Eg "/index.html" "/products/productA.html" -Original Message- From: Koen Pellegrims [mailto:[EMAIL PROTECTED]] Sent: 19 August 2002 21:43 To: Cocoon-Users@Xml. Apache. Org Subject: Common practice: how to keep links to html-trees consis

RE: I hate typo-s

2002-08-20 Thread Whalley, Anthony
Title: Message Whatch this space ! -Original Message-From: Greg Jones [mailto:[EMAIL PROTECTED]] Sent: 19 August 2002 20:44To: [EMAIL PROTECTED]Subject: I hate typo-s It seems that most of my frustration with any programming environment is my own typing mistakes.

Re: Error with multiple stylesheet imports (xsl:import)

2002-08-20 Thread Carles Canellas
--- "Hahn Kurt (CHA)" <[EMAIL PROTECTED]> escribió: > I'm using the xsl:import-function in some > stylesheets, which was OK while I > imported just one stylesheet. If I import a second > one, I get a > nullPointerException error. I'm using complex xsl with a lot of imports and imports inside im

Re: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Ivan Luzyanin
Easiest solusion is to use ... in your generated pages Ivan. P.S. http://www.w3.org/TR/REC-html32.html#base On Mon, 2002-08-19 at 23:42, Koen Pellegrims wrote: > Guys, > > This is something that most of you *must* have come across at one point or > another, and I am just looking for the best s