Re: CatalogManager.properties warnings

2001-11-15 Thread David Crossley
Vincent Massol wrote: I am getting several CatalogManager.properties warnings on the console. However everything runs fine. I'd like to know what I could do to remove these warnings. If you are talking about the messages from the entity resolver (e.g. Resolved ...) then you can turn those off

Wrapper XSP around two or more XSP's

2001-11-15 Thread Søren Neigaard
Can I make a wrapper XSP that, depending on a varibel from the browser, includes one XSP inside or includes another XSP inside? Med venlig hilsen/Best regards Søren Neigaard System Architect Mobilethink A/S Arosgaarden Åboulevarden 23, 5.sal DK - 8000 Århus C

RE: Cocoon: Few steps in sitemap?

2001-11-15 Thread Luca Morandini
Viktor, I think this example may fit the first of your questions: map:pipeline map:match name=wildcard pattern=select-resource-db.xml map:generate type=file src=docs/all-parameters.xml/ map:transform src=stylesheets/select-resource.xsl/

sql queries

2001-11-15 Thread Ferran Urgell
Hi Friends ! I would to know more about how to get queries results in xsl.. Where can I find information about this ? Thanks! FerranDo You Yahoo!? Find the one for you at Yahoo! Personals.

RE: sql queries

2001-11-15 Thread Luca Morandini
Ferran, take a look at SQLTransformer. Best regards, P.S. Please, use plain text for your message sto this mailing list. - Luca Morandini GIS Consultant [EMAIL PROTECTED]

AW: Cocoon: Few steps in sitemap?

2001-11-15 Thread Skladov, Victor
Hello Luca! Thank you for your reply! Could you please describe in few words what this example does? Regards, Viktor -Ursprüngliche Nachricht- Von: Luca Morandini [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 15. November 2001 09:26 An: [EMAIL PROTECTED] Betreff: RE: Cocoon: Few

Re: Sitemap variables?

2001-11-15 Thread Piroumian, Konstantin
For a more flexible flow control you can use selectors: http://xml.apache.org/cocoon2/userdocs/selectors/selectors.html Personally, I don't like selectors' syntax and prefer the Struts's version of flow control: action name=logon ... forward name=success path=welcome.jsp / forward

help for rtf generation

2001-11-15 Thread Pranav Tandon
Hello, I am new to use cocoon and xml technologies, what i am trying to do is to generate dynamically an rtf document from an xml document. For the same i am doing the following: 1)an xml document which contains my content. 2)an xsl:fo for the document to present in the required manner.

RE: Cocoon: Few steps in sitemap?

2001-11-15 Thread Luca Morandini
Viktor, the example reads a row from the dbms (select-resource-db.xml) and presents it as a read-only (say, display-resource.html) or editable (edit-resource.html) HTML. Of course, only the second map:match is invoked from the browser, the first one being an internal

Re: Outputting Plain Text

2001-11-15 Thread Piroumian, Konstantin
Dear All Is it possible to get Cocoon 1.x to output plain text to a web browser using an XSL stylesheet? I find that unless the resulting document is valid XML (which plain text isn't) Cocoon gives an error. As I remember, you should use a fake root element, which will be stripped from the

Re: Other potential sitemap variables

2001-11-15 Thread Piroumian, Konstantin
I'm not sure, but maybe this can be achieved by using XML entity references. See this message from Struts mail list for an example: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg13216.html regards, Konstantin While I was rewriting my sitemap file today, I noticed how much

Re: Reducing system resource usage by Tomcat/Cocoon

2001-11-15 Thread Adam A R
Hi Anthony, I was wondering if it was only me whos having the problem. My Problem: I am using Cocoon1.8 with iAnywhere Wireless Server(from Sybase). For simplicity I am using a simple XML file with a simple XSL stylesheet which transforms the XML to HTML Everything is OK until I request around

Tag xsp-response:send-redirect url=.../?

2001-11-15 Thread Ritzmann, Heiko
Hi, I would like to use this tag: xsp-response:send-redirect url=bf_login/. I have inserted the name space xmlns:xsp-response=http://apache.org/xsp/response/2.0; but the resulting code is only xspAttr.addAttribute(, url, url, CDATA, bf_login);

RE: Sitemap

2001-11-15 Thread Nick Entin
The most comprehensive documentation I found about how sitemaps works - sitemap_xmap.xsl, you could find in cocoon sources - it's how the sitemap is transformed to java for further compiling... Best wishes, Nick -Original Message- From: Bobby Koya [mailto:[EMAIL PROTECTED]] Sent:

AW: Cocoon: Few steps in sitemap?

2001-11-15 Thread Skladov, Victor
Luca, Sorry for disturbing you once again, but it isn't clear to me yet. Could you please take a look at the steps I need to make? The GOAL: it must be shown (on mouseclick on the link PDF) a PDF file that should be generated as following: 1. I make a TEX(LATEX) document from XSP page that

RE: Cocoon: Few steps in sitemap?

2001-11-15 Thread Luca Morandini
Viktor, my suggestion was addressed only to the first of your questions, not the rest of them. The transformation of a TEX into a PDF is beyond my knowledge; moreover, since TEX is not XML, I don't think you can write a Transformer or Serializer to emit your output in PDF using

Include contenf from other XSP

2001-11-15 Thread Søren Neigaard
I have read that I can include content from one XSP into another XSP by saying: - util:include-uri href=http://localhost:8080/foo/simple.xml/ - But how can I, based on a parameter, choos between two different XSP, like this pseudo code: - xsp:logic

How to make an esql query ?

2001-11-15 Thread Ferran Urgell
Hi I would to make an esql query, in my database (mysql). I'm using an xsp file and xsl file. But what I need to put in the sitemap? That not works! map:match pattern="xsp/*" map:generate src="docs/samples/xsp/{1}.xsp"/ map:transform src="stylesheets/page.xsl"/ map:serialize/ /map:matchDo You

AW: How to make an esql query ?

2001-11-15 Thread Reinhard Potz
Please post in plain text! Your question: If your url is http://[your-server]/[your-context]/xsp/test.xsp; you need an xsp-file with the name test.xsp.xsp because you match a string behind xsp/*. The matcher returns in {1} test.xsp. If you don't want to name your files .xsp.xsp ;-) I think you

Re: AW: Cocoon: Few steps in sitemap?

2001-11-15 Thread David Rosenstrauch
Not sure I understand the problem. Why can't you do this? 1) write an xsp that outputs in xml the info you need to build the tex doc 2) write an xsl that outputs tex 3) write a new serializer that generates pdf by calling pdflatex 4) put the above 3 items in a pipeline and run them But why

XSP-newbie / XSP gives blank page

2001-11-15 Thread Søren Neigaard
I want to chose between two XSP's based on a parameter. I have attached 3 XSP's, general_update.xml should choose either of the two other XSP's and return those, but it returns a blank page!? I'm pretty new to XSP, and the person who normally writes XSP are on holiday (damn), so please advice :)

AW: AW: Cocoon: Few steps in sitemap?

2001-11-15 Thread Skladov, Victor
Hello, David! 1) xsp and xsl that make tex file are already written. 3)The problem is that I need a self-written serializer that makes from tex a pdf file. I have unfortunately no experience in writing serializers. Is that difficult? Are there any examples or source code of already existing

Re: Outputting Plain Text

2001-11-15 Thread David Rosenstrauch
That's cause you're using the wrong serializer. Add this to your map:serializers: map:serializer name=text mime-type=text/plain src=org.apache.cocoon.serialization.TextSerializer/ Then do this in your pipeline: map:serialize type=text/ DR At 10:12 PM 11/14/01 +, you wrote: Dear

Help with Generators

2001-11-15 Thread Mitchell Christensen
Hi, A couple of quick questions. When I include java files inside a xsp:structurexsp:include//xsp:structure, where should I put the jar files? I know that they are discovered if place them in ${TOMCAT_HOME}/lib, but I am having problems with name collisions. Specifically, a 3rd party app's

Strange Netscape Behavior

2001-11-15 Thread Henrik Hofmann
Title: Message Hi, I've got some trouble using Netscape. First I made a page and just used Iexplorer. Everyting looks normal. Now I tried to watch the same page in Netscape. I expected some minor differences but Netscape even up the pages source code. It puts some extra characters between

Re: Strange Netscape Behavior

2001-11-15 Thread aaldridg
Without seeing your (html) output its hard to say - but I've been having a lot of problems with javascript interferiong with netscape's font rendering (strange characters etc). Perhaps you can send some info so we can swap notes - I DO think it's a Netscape bug ultimately though. Regards,

RE: Strange Netscape Behavior

2001-11-15 Thread Mark S. Kent
You're posting your message in HTML format. Change to Plain Text format for your email and then post the NS source into the mail... Mark -Original Message- From: Henrik Hofmann [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 9:15 AM To: [EMAIL PROTECTED] Subject: Strange

Serverpages ??

2001-11-15 Thread Ferran Urgell
HI! I'm new with the xsp, and I'm trying to do the examples that there are in the web. I think I'mdoing something wrongMaybe in the sitemap the type="serverpages" not works. Why? I'vemade a bad configuration ? FerranDo You Yahoo!? Find the one for you at Yahoo! Personals.

RE: Strange Netscape Behavior

2001-11-15 Thread Henrik Hofmann
Well, I think I found the problem, its about the encoding and other META Tags in the Header. After saving the source to text and deleting the Meta Tags I opend the page again and it looked normal. Saved the now normal source again and put the Metatag in it it was messed up again. The Tag was the

Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
Okay, one piece of theoratical question. If I want to use xml data output from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a Transformer or a Generator for getting the data? I'd vote for Transformers, which looks for xml tags in a source xml like customer-data/, and replaces it

RE: Fwd: Sitemap variables?

2001-11-15 Thread David Rosenstrauch
Yeah, I noticed that after I wrote my message, and got that to work. Thanks! DR At 08:37 AM 11/15/01 +0100, you wrote: Hi, but to work around you can have a selector within the action, which influence the flow bassed on a comparsion of a sitemap parameter with value. HTH Max

Re: Cocoon: Few steps in sitemap?

2001-11-15 Thread David Rosenstrauch
Yes. 2 options: 1) If the user won't need to access the intermediate doc: map:serializer name=fo2pdf src=org.apache.cocoon.serialization.FOPSerializer mime-type=application/pdf/ map:match pattern=yourpage map:generate type=serverpages src=your.xsp/ map:transform

Re: Tag xsp-response:send-redirect url=.../?

2001-11-15 Thread David Rosenstrauch
XSP is not recognizing your tag, but taking it as text, most likely because of some syntax problem in your XSP. Can't debug it without more details though. Can you post the portion of XSP code where this appears and maybe we can figure it out? DR At 10:47 AM 11/15/01 +0100, you wrote: Hi,

AW: Tag xsp-response:send-redirect url=.../?

2001-11-15 Thread Ritzmann, Heiko
Thanks, I solved the problem inside the sitemap with a action class. But maybe you know a more easier way to control workflow within a xsp- file. Is there somthing like xsp:if/? Heiko -Ursprüngliche Nachricht- Von: David Rosenstrauch [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag,

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-15 Thread aaldridg
Looks great, but doesn't this mean a less efficient system - ie isn't it going through a number of extra steps to arrive at thge same functionality? Regards, Anthony Aldridge Lead Application developer Managed Intranet Hosting CSC JPMorganChase Personal GDP: 325-8338 MIH Hotline: 876-1300

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 11:50 am, you wrote: Okay, one piece of theoratical question. If I want to use xml data output from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a Transformer or a Generator for getting the data? I'd vote for Transformers, which looks for xml tags

RE: Stylesheets using Logicsheets

2001-11-15 Thread Enric Staromiejski
Hi everybody, We see a lot of you are working with logicsheet. We alse are itching for a go, but are not succeeding at all. It's true we're newbies in the Cocoon world, but are resolving a lot of things and hope to be able using logicsheet soon. The problem is that we can't find any

Re: Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
On Thu, Nov 15, 2001 at 12:28:30PM -0500, Peter Royal wrote: On Thursday 15 November 2001 11:50 am, you wrote: Okay, one piece of theoratical question. If I want to use xml data output from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a Transformer or a Generator for getting

C2: sitemap_xmap: error notifier barfs

2001-11-15 Thread Mark S. Kent
I've been seeing this message in my logs alot recently and would like to see it go away. The actual message in the log is: ERROR (2001-11-15) 12:05.18:008 [cocoon ] (/cocoon/mark/styles/mystyle.css) HttpProcessor[8080][0]/sitemap_xmap: error notifier barfs

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 12:58 pm, you wrote: Can you handle situations using this approach where the data changes meanwhile? Does the setup() runs only once at Cocoon initialization or it runs once at every page request? setup() is called for each request. If you need to do stuff just 1x

Cocoon 2.0rc2 and classloader problems

2001-11-15 Thread Werner Guttmann
Hi, I am using Cocoon 2.0rc2 on Tomcat 4.0.1 on Solaris 2.8, and I am running into some classloading problems. Here's what I am trying to do. I've got an XSP page that uses some home-written classes to get some data from DB2 using Castor as o/r mapping tool. Unfortunately, when trying to

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 03:13 pm, you wrote: Peter, exactly where had you put your own Transformers? I've tried to put it in my own package (not in org.apache.cocoon.transformation), jar-ed it correctly, dropped the jar into Cocoon's main WEB-INF/lib/, configured it in the sitemap, and

SV: Transformers vs. Generators

2001-11-15 Thread Soren Neigaard
Sounds more like you need to put you jar in your ServletEngines classpath. -Oprindelig meddelelse- Fra: Jozsa Kristof [mailto:[EMAIL PROTECTED]] Sendt: 15. november 2001 12:14 Til: [EMAIL PROTECTED] Emne: Re: Transformers vs. Generators On Thu, Nov 15, 2001 at 12:28:30PM -0500, Peter

session time out

2001-11-15 Thread Luda Balakireva
I need to implement some logic on session timeout event. I tried to create object which implements HttpSessionBindingListener interface. But if I include javax.servlet.http.* class , I can not use session object in xsp:logic even like String po = (String)

Unable to install Cocoon2 RC2 on Tomcat 4.0.1

2001-11-15 Thread Goetz Botterweck
Title: Message WHAT I AM TRYING TO DO Install Cocoon2 rc2 on Tomcat 4.0.1 WHAT I DID Base System: Redhat Linux 7.1, JDK 1.3 (IBM) Servlet Engine: Tomcat 4.0.1 JAVA_HOME, TOMCAT_HOME, and CATALINA_HOME set correctly Downloaded,unpacked and built Cocoon 2 RC2. TRIAL1 First the

Re: Strange Netscape Behavior

2001-11-15 Thread Peter Nuetzel - inglobo
Netscape 4.x has some trouble with UTF-* encoding - better you use ISO-8859-1. Encoding of the serializer can be configured in the sitemap's component definition. map:serializer name=html mime-type=text/html src=org.apache.cocoon.serialization.HTMLSerializer encodingISO-8859-1/encoding

Re: Serverpages ??

2001-11-15 Thread David Rosenstrauch
If you're referencing type=serverpages, then you have to define serverpages somewhere. e.g.: map:generator name=serverpages src=org.apache.cocoon.generation.ServerPagesGenerator label=content/ DR At 08:14 AM 11/15/01 -0800, you wrote: HI! I'm new with the xsp, and I'm trying to do the

Re: Transformers vs. Generators

2001-11-15 Thread David Rosenstrauch
Tough call. I'd say it depends. If customer-data/ is going to be replaced with John Brown, 40 Main St. then I'd say a transform. If customer-data/ is going to be replace with a large amount of other XML data (i.e., recordsrecordfield .../field ...//recordrecordfield .../field

Re: XSP-newbie / XSP gives blank page

2001-11-15 Thread David Rosenstrauch
Depends on your browser, but in mine (Netscape 6) I sometimes get a blank page when there's an error in my code. Check your log files. DR At 02:18 PM 11/15/01 -0800, you wrote: I want to chose between two XSP's based on a parameter. I have attached 3 XSP's, general_update.xml should choose

Re: Strange Netscape Behavior

2001-11-15 Thread David Rosenstrauch
Maybe you're outputting as unicode instead of ascii and Netscape is mucking it up somehow. Try ?xml version=1.0? or ?xml version=1.0 encoding=UTF-8? DR At 04:14 PM 11/15/01 +0100, you wrote: Hi, I've got some trouble using Netscape. First I made a page and just used Iexplorer. Everyting

Re: Help with Generators

2001-11-15 Thread David Rosenstrauch
At 06:50 AM 11/15/01 -0800, you wrote: Hi, A couple of quick questions. When I include java files inside a xsp:structurexsp:include//xsp:structure, where should I put the jar files? I know that they are discovered if place them in ${TOMCAT_HOME}/lib, but I am having problems with name

Re: Strange Netscape Behavior

2001-11-15 Thread Ling Kok Choon
Hi, This is the encoding problem, try to change the encoding on the sitemap : the example is : map:serializers default=html map:serializer name=links src=org.apache.cocoon.serialization.LinkSerializer/ map:serializer name=xmlmime-type=text/xml

RE: Stylesheets using Logicsheets

2001-11-15 Thread David Rosenstrauch
At 06:49 PM 11/15/01 +0100, you wrote: Hi everybody, We see a lot of you are working with logicsheet. We alse are itching for a go, but are not succeeding at all. It's true we're newbies in the Cocoon world, but are resolving a lot of things and hope to be able using logicsheet soon. The

Re: Transformers vs. Generators

2001-11-15 Thread David Rosenstrauch
Also make sure that you declare this new transformer in your sitemap. DR At 09:13 PM 11/15/01 +0100, you wrote: Peter, exactly where had you put your own Transformers? I've tried to put it in my own package (not in org.apache.cocoon.transformation), jar-ed it correctly, dropped the jar into

Re: AW: Tag xsp-response:send-redirect url=.../?

2001-11-15 Thread David Rosenstrauch
At 06:01 PM 11/15/01 +0100, you wrote: Thanks, I solved the problem inside the sitemap with a action class. But maybe you know a more easier way to control workflow within a xsp- file. Is there somthing like xsp:if/? Heiko map:select map:when test= ... ... /map:when

Re: AW: AW: Cocoon: Few steps in sitemap?

2001-11-15 Thread David Rosenstrauch
Actually, very sorry - I think I gave you the wrong advice here. From the docs: A serializer is the end point of an xml pipeline. It transform SAX events in binary or char streams for final client consumption. So I think what I told you to do is wrong. Having a stylesheet that outputs TEX

Re: Fwd: Sitemap variables?

2001-11-15 Thread David Rosenstrauch
At 12:17 AM 11/15/01 +0100, you wrote: On Wed, 14 Nov 2001, David Rosenstrauch wrote: Also, is it just me or is the flow control in sitemaps really weak? Yes, this has been recognized and discussion about it are still going on on the dev list. If you're interested have a look there and help

Propagating Session Variables with xsp

2001-11-15 Thread Terry Paddy
Hi All, I am trying to use an xsp page to place some variables into a session that can be used by other xsp pages. I have tried the session:set-attribute name=... and parameters.setParameter(me,myvalue); and even tried setting request 'parameters' with xsp-request:set-attribute ... and

RE: Tag xsp-response:send-redirect url=.../?

2001-11-15 Thread Max Larsson
Hi, i don't know anything about a xsp if. If i need a flow control in xsp i use java, like this: xsp:logic if( something_is_true ) { esql:execute-query esql:queryQueryA/esql:query /esql:execute-query

AW: AW: Tag xsp-response:send-redirect url=.../?

2001-11-15 Thread Ritzmann, Heiko
Thanks a lot David, this is exactly what I'm looking for. Do you know, ware I can find some more Information's or examples about it. In standard cocoon I can't find a working example for map:select. What means test=? Heiko -Ursprüngliche Nachricht- Von: David Rosenstrauch

RE: Please help, I need urgent help

2001-11-15 Thread Max Larsson
Hei, if you wnat to show the user on the same URI two different pages based an a request parameter, then try to make the decision in the sitemap with the help of a selector (Just as hint). How to do this you have to take a look at the docs. There is as long i know a ParameterSelector, but i

Fwd: Sitemap variables?

2001-11-15 Thread David Rosenstrauch
Just curious - was there ever an answer to my original question: Is it possible to set variables in the sitemap? Thanks, DR Date: Wed, 14 Nov 2001 14:24:28 -0500 To: [EMAIL PROTECTED] From: David Rosenstrauch [EMAIL PROTECTED] Subject: Sitemap variables? X-Spam-Rating: daedalus.apache.org

Re: session time out

2001-11-15 Thread Piroumian, Konstantin
Cocoon uses its own session class: org.apache.cocoon.environment.Session, so you should simply use it exactly as if you were using the javax.servlet.http.Session. Remove javax.servlet.http.* from imports and everything must work (as I remember Cocoon's session class is imported already) Regards,