RE: JSP Server Page

2002-09-10 Thread Piroumian Konstantin
Title: Message You need jasper-compiler.jar (jasper.jar won't help). And you should use paths starting with '/' as source for the JSPGenerator and JSPReader, e.g.: map:generate type="jsp" src="/jsp/page.jsp" / -- Konstantin Piroumian -Original Message-From: Sushil Bhattarai

Re: [C2.1] How to get a favicon.ico in the browser.

2002-09-10 Thread Ugo Cei
Antonio Gallardo Rivera wrote: I am trying to set the icon of the site with cocoon. My problem is I dont know what mime-type to set in the sitemap.xmap map:match pattern=images/*.ico map:read mime-type=image/bmp src=resources/images/{1}.ico/ /map:match map:match

RE: Connecting to MS SQL Server

2002-09-10 Thread Lars Martinsen
Thanks a lot Christopher.. In your mail, you mention esql. Do you know any resources on this subject? How would I write SQL statements with esql, when I've used the esql/esql tags that you indicated? Thanks again, .lars martinsen -Original Message- From: Christopher Watson

RE: Connecting to MS SQL Server

2002-09-10 Thread Christopher Watson
Lars Best is to buy/beg/steal/borrow the book Cocoon: Building XML Applications by Carsten Ziegeler, Matthew Langham http://www.amazon.com/exec/obidos/ASIN/0735712352/ http://www.newriders.com/books/product.asp?session_id={64B81A3A-2F82-408F-9C

Re: german umlaut!

2002-09-10 Thread Wolle
hi! i tried to modify the sitemap.xmap in the following way: map:serializer logger=sitemap.serializer.text mime-type=text/text name=text src=org.apache.cocoon.serialization.TextSerializer encodingiso-8859-1/encoding /map:serializer but the result was negativ. i wasn't able to find some

Re: german umlaut!

2002-09-10 Thread Antonio Gallardo Rivera
Wolle, please check this. Maybe it can help you ;) Antonio Gallardo I guess Carsten helped me finding this out first ;-) So thanks to every guru here :-) Cocoon rules ;-) - Original Message - From: Antonio Gallardo Rivera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August

aggregator element question

2002-09-10 Thread Nick Airey
Hi everyone, when using the aggregator, is it possible to specify an attribute as well as the name of the parent element, eg map:match pattern=about map:aggregate element=page map:part src=cocoon:/info/ map:part type=file src=otherInfo.xml/ /map:aggregate map:transform type=xslt

xsp:element root element bug?

2002-09-10 Thread Sanne de Roever
Hi, I've been using the xsp:element, and xsp:attribute tags with succes when creating svg. But now I would like to wrap the root element svg in such a tag, so I can adjust the width and height. The could/should be like this: ?xml version=1.0? xsp:page language=java

upload file-overwrite permission(Waiting for reply...)

2002-09-10 Thread Niket Anand
Hello All, I am able to upload any file to /WEB-INF/work/image-dir directory as specified in web.xml file. If I want to upload same file again, it saves to directory with 1_image.gif name(it saves with new file name by appending 1_ before actual file name). I donot want to save it with new name

Re: Sending a parameter to Xerces (allow java char encodings, eg MacRoman )

2002-09-10 Thread Jesse Reynolds
At 0:53 +1000 18/8/2002, Jesse Reynolds wrote: OK! I've finally gotten this thing working in Cocoon 2.0.3!!! Thanks for your assistance (and patience) Vadim. snip I have java-encodings working now for standard xml pages parsed by Cocoon, but alas XSP pages are not working. How can I find out

using xsl transformation twice

2002-09-10 Thread Karpenstein, Cristina (Apprentice)
hi, i have two stylsheets for one xml dokument. normally i do it like: xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xsl:import href=head.xsl/ xsl:import href=foot.xsl/ . and do a xsl:call-template name/ on it. it works without a problem (in xml-spy). now

xsp:element root element bug?

2002-09-10 Thread Sanne de Roever
Hi, I've been using the xsp:element, and xsp:attribute tags with succes when creating svg. But now I would like to wrap the root element svg in such a tag, so I can adjust the width and height. The could/should be like this: ?xml version=1.0? xsp:page language=java

RE: using xsl transformation twice

2002-09-10 Thread Morrison, John
You are trying two different methods. When you do multiple map:transformation/s it applies one to your xml, then the next to the _output_. Multiple xsl:import/includes combine seperate xsl into one then applies a transform. J. -Original Message- From: Karpenstein, Cristina

I'm looking for a company working with Cocoon!

2002-09-10 Thread Andreas Hartmann
Hi Cocoon users, I'm about to finish my degree in computer science and want to start my career as a web application developer, preferably in Germany, Austria, Switzerland or the U.S. I got a first glance at Cocoon when I developed a prototype of an intranet application for my current employer.

Re: [C2.1] How to get a favicon.ico in the browser.

2002-09-10 Thread Barbara Post
Does a direct call of the url in the browser to the .ico work ? Indeed image/bmp seems right, afaik... - Original Message - From: Antonio Gallardo Rivera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 7:45 AM Subject: [C2.1] How to get a favicon.ico in the

Re: [C2.1] How to get a favicon.ico in the browser.

2002-09-10 Thread Emmanuil Batsis (Manos)
image/x-icon .ico Barbara Post wrote: Does a direct call of the url in the browser to the .ico work ? Indeed image/bmp seems right, afaik... - Original Message - From: Antonio Gallardo Rivera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 7:45 AM

RE: [C2.1] How to get a favicon.ico in the browser.

2002-09-10 Thread Morrison, John
AFAIK the icon must be in the root of the server, not in the image directory. From: Barbara Post [mailto:[EMAIL PROTECTED]] Does a direct call of the url in the browser to the .ico work ? Indeed image/bmp seems right, afaik... From: Antonio Gallardo Rivera [EMAIL PROTECTED] To: [EMAIL

Re: [C2.1] How to get a favicon.ico in the browser.

2002-09-10 Thread Emmanuil Batsis (Manos)
Um... without the ' .ico'... sorry very short on time here. Emmanuil Batsis (Manos) wrote: image/x-icon .ico Barbara Post wrote: Does a direct call of the url in the browser to the .ico work ? Indeed image/bmp seems right, afaik... - Original Message - From: Antonio Gallardo

RE: I'm looking for a company working with Cocoon!

2002-09-10 Thread [EMAIL PROTECTED]
Andreas, How are you? Congratulations on getting close to your CS degree. By the way, I added your name to my Acknowledgements for the Cocoon 2 book and sent that to the publisher. I said your web site was a source of inspiration for some of examples. It still continues to be a very popular

Re: [C2.1] How to get a favicon.ico in the browser.

2002-09-10 Thread Nicola Ken Barozzi
Antonio Gallardo Rivera wrote: I am trying to set the icon of the site with cocoon. My problem is I dont know what mime-type to set in the sitemap.xmap map:match pattern=images/*.ico map:read mime-type=image/bmp src=resources/images/{1}.ico/ /map:match The favicon.ico is in the

Re: upload file-overwrite permission(Waiting for reply...)

2002-09-10 Thread Jeroen ter Voorde
Hi, There's currently no other way than to set ALLOW_OVERWRITE to true and recompile cocoon. Someone may want to make this configurable from web.xml Jeroen - Original Message - From: Niket Anand [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 12:43 PM

Cocoon testing

2002-09-10 Thread Roger Ting
hi all Cocoon gurus, I got a question. How do you guys automate testing in Cocoon ? I mean let say i write some logicsheet or XSLT or XSP etc. How do 1 check that the script that i feed to cocoon is actually correct with an automated system? It would be great if someone can provide some clues

impatientness

2002-09-10 Thread Barbara Post
When I restart tomcat and hit the home page button of my browser ( - my project) several times because I am impatient that it loads, sometimes a sitemap compilation error occurs (could not find component)... ;-) - Please check

[conference] Cocoon GetTogether | Belgium | 2002-11-19

2002-09-10 Thread Steven Noels
Cocoon GetTogether - 2002-11-19 - Belgium http://outerthought.org/cocoon/gettogether/ I am pleased to announce the first edition of the Apache Cocoon GetTogether, a one-day event for both Cocoon developers and users to exchange information and discuss the

RE: I'm looking for a company working with Cocoon!

2002-09-10 Thread Andreas Hartmann
Hi Conrad, How are you? Congratulations on getting close to your CS degree. By the way, I added your name to my Acknowledgements for the Cocoon 2 book and sent that to the publisher. I said your web site was a source of inspiration for some of examples. Thanks! Sometimes I need such

Need to build source to upgrade built-in logicsheet?

2002-09-10 Thread gv
Hi, Do I need to download and build the entire Cocoon 2.0.4-dev from source to upgrade a built-in logicsheet? A newer version of util.xsl than in the 2.0.3 release would fix my problem. It'd be great if I could just download the newer util.xsl, put it somewhere, and have Cocoon recompile it.

Re: german umlaut!

2002-09-10 Thread Wolle
hi everybody! thank you very much for the help. but i still have the problem. the html and pdf output is ok. as soon as i produce text-output i get UTF-8 code although i forced cocoon to produce iso 8859-1 by using: map:serializer logger=sitemap.serializer.text mime-type=text/text

RE: JSP Server Page

2002-09-10 Thread Sushil Bhattarai
Hi Like you suggested I put jasper-compiler.jar in WEB-INF/lib. The source already starts with "/" in the sitemap. Still I'm not able to run the sample link properly. The JSP Reader sample (welcome.htm) returns a blank page without any error and the JSP Generator sample (hello.jsp) throws out

Re: JSP Server Page

2002-09-10 Thread Lajos Moczar
Again, that's because you are using 2.0.2. JSPGenerator JSPReader are BROKEN in 2.0.2. Upgrade to 2.0.3 or search the mail archives for the patches I posted for these files in 2.0.2 Lajos Sushil Bhattarai wrote: Hi Like you suggested I put jasper-compiler.jar in WEB-INF/lib. The source

Re: [C2.1] How to get a favicon.ico in the browser.

2002-09-10 Thread Litrik De Roy
Some more links about favicons: http://www.favicon.com/ http://webdesign.about.com/c/ht/00/07/How_Add_Custom_Favorites0962932994.htm http://www.bjoernsworld.de/ie/favicon.html Litrik De Roy www.litrik.com - Original Message - From: Nicola Ken Barozzi [EMAIL PROTECTED] To: [EMAIL

Need help with DatabaseSelectAction

2002-09-10 Thread Bobby Mitchell
Is there any way that I can override the defaults and have the action try to set just the column and not the table_name.column? 2168 DEBUG (2002-09-10) 12:40.53:609 [sitemap] (/cocoon/list/wizard) HttpProcessor[8180][1]/DatabaseAction: Trying to set column table_name.column from

Re: JSP Server Page

2002-09-10 Thread Sushil Bhattarai
Ok, I got Cocoon 2.0.3 but I cannot get it to work. As far as documentation is concerned, with Tomcat 4.0.1 there aren't any configuration required. Like it said, I dropped cocoon.war in webapps directory. I'm getting sitemap compilationerror when trying to access Cocoon. I'm using jdk1.3.1. Does

Re: Need help with DatabaseSelectAction

2002-09-10 Thread Bobby Mitchell
That would be the modular db action. Bobby Mitchell wrote: Is there any way that I can override the defaults and have the action try to set just the column and not the table_name.column? 2168 DEBUG (2002-09-10) 12:40.53:609 [sitemap] (/cocoon/list/wizard)

RE: JSP Server Page

2002-09-10 Thread Astor Rivera
You know, when I installed the same configuration it did the same thing. But what I did was shutdown Tomcat and restarted it. It then worked. -Astor -Original Message-From: Sushil Bhattarai [mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 10, 2002 12:01 PMTo: [EMAIL

Using XMLForm with Mod-DB actions

2002-09-10 Thread Bobby Mitchell
I am trying to use XMLForm and the Mod-DB actions together. Mod-DB can take the request-parameter from XMLForm and perform an action, in this case, a select using a unique email address. In my XMLForm Bean the variable for this email address is EMAIL, so the request parameter is also EMAIL.

Re: JSP Server Page

2002-09-10 Thread Shawn_McManus
I don't think so. I just installed C2.0.3 running with TC4.0.1 and JDK1.4 and am having the same problem. Shawn Alexander McManus Concentra Managed Care Services, Inc. 972-720-7876 (office) 972-720-7999 (fax)

Re: Accessing SVG's in Cocoon via SVG Serializer

2002-09-10 Thread Michael Riedel
I've a question regarding href's in the image tag of SVG's. Is there a way to access the actual sitemap context from an svg? I also have Problems including external Images during SVG serialization. In my case it's about JPEGs, but that shouldn't do a difference. Example Sitemap: map:pipeline

cocoon help

2002-09-10 Thread Geovanny Barreros
I am trying to install, cocoon on tomcat and I am getting an error message when I try to access the localhost:8080/cocoon in my browser SAX2 driver class org.apache.xerces.parsers.SAXParser not found I have done everything you suggested in the faq page and so far haven't been able to get it to

XSP in Cocoon 2.0.3 - which XML Parser is it using?

2002-09-10 Thread Jesse Reynolds
Hi What XML parser is being used by XSP in Cocoon 2.0.3 ??? If I use the following in a pipeline: map:generate type=serverpages src=testxsp.xml/ Then it's not using the same XML Parser as for a more usual: map:generate src=welcome.xml/ And in particular I have edited the source

RE: JSP Server Page

2002-09-10 Thread Astor Rivera
No issues with the Cocoon 2.0.3 and Tomcat 4.0.1 configuration for me, everything works. Here are my specs according to cocoon/status : -vm -classpath /usr/local/tomcat/bin/bootstrap.jar -jre -version 1.3.1 -java vendor Apple Computer -os -name Mac OS X

RE: aggregator element question

2002-09-10 Thread Lai, Harry
Hi Nick, While you can't do this using the aggregator, you might be able to accomplish what you want via the cinclude transformer. Here's the base Cocoon documentation for this transformer: -Original Message- From: Nick Airey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10,

RE: aggregator element question

2002-09-10 Thread Lai, Harry
Ack, sorry about that. Darn Outlook... Anyway, here's the link to the documentation: -Original Message- From: Lai, Harry Sent: Tuesday, September 10, 2002 5:34 PM To: '[EMAIL PROTECTED]' Subject: RE: aggregator element question Hi Nick, While you can't do this using the

RE: aggregator element question

2002-09-10 Thread Lai, Harry
Okay, appologies for the spam. Apparently, my keyboard has a stuck key (sorry about this, folks). Here is the link: http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html Harry -Original Message- From: Lai, Harry Sent: Tuesday, September 10, 2002 5:34 PM To:

OSCOM conference is comming!!

2002-09-10 Thread Marcelo F. Ochoa
Hi cocoon users: OSCOM Conference at Berkeley is comming!!!, September 25th to the 27th. Do not miss this event, many related Cocoon technologies will be explained, such as Wyona CMS, Xopus and DBPrism CMS. Look at http://www.oscom.org/conferences/berkeley2002/ for more details. Best

RE: aggregator element question

2002-09-10 Thread Conal Tuohy
Question: when using the aggregator, is it possible to specify an attribute as well as the name of the parent element, eg if I have: map:match pattern=about map:aggregate element=page map:part src=cocoon:/info/ map:part type=file src=otherInfo.xml/ /map:aggregate

RE: aggregator element question

2002-09-10 Thread Conal Tuohy
oh no! an error in my example: xsl:variable name=root-page-type/ xsl:template match=/page page type={$root-page-type} xsl:copy-of select=*/ /page /xsl:template it should be xsl:param not xsl:variable, e.g. xsl:stylesheet