Re: sitemap substitution in actions

2002-09-09 Thread Barbara Post
Since you have a map:act wouldn't you rather use {../1} instead of {1} in the body of mp:act ? I am not sure but these are my 2 cents. Have a nice day, Babs -- website: www.babsfrance.fr.st ICQ #: 135868405 - Original Message - From: Phil Blake [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: sitemap substitution in actions

2002-09-09 Thread Phil Blake
thanks. my sanity is waning this afternoon. i can use every cent I can get. :) On Monday, September 9, 2002, at 04:44 PM, Barbara Post wrote: Since you have a map:act wouldn't you rather use {../1} instead of {1} in the body of mp:act ? I am not sure but these are my 2 cents. Have a

file-upload-overwrite permission

2002-09-09 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: Cocoon 2.0 and Content Aggregator Cacheability Troubles

2002-09-09 Thread David LAGARDERE
Yes, everything is cacheable. When I test parts one by one, it works fine and content is served from the cache. Any idea ? Thanks. DAvid ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail :

Connecting to MS SQL Server

2002-09-09 Thread Lars Martinsen
Does anyone have a step-by-step on how to connect to a MS SQL Server and do SQL commands on it? I have tried to do it by reading all the help and how-tos that is bundeled with Cocoon, but I didn't manage. .lars martinsen -

Re: Connecting to MS SQL Server

2002-09-09 Thread David LAGARDERE
You first have to add your JDBC driver class in the load-class section of your cocoon web.xml. After that, add your JDBC source in cocoon.xconf like the personnel datasource example which is given as an example. ___ Do You Yahoo!? -- Une

Re: Stylesheet selection by doctype?

2002-09-09 Thread Steven Noels
Steven Noels wrote: Ben Young wrote: Is it possible to set up a sitemap that will select a different stylesheet according to the XML Schema or doctype used in the content file? It is already done, I'll commit it on Monday or when the kids allow during the weekend ;-) Done. Kudos to

Re: Connecting to MS SQL Server

2002-09-09 Thread Upayavira
Lars, SQL Server 7 or 2000? To use SQL Server 7 you'll need to purchase a JDBC driver, as there are no free ones that I'm aware of. If you're using SQL Server 2000, then there is a JDBC driver supplied by Microsoft, that you can use. Once you've got your JDBC driver set up, getting it to

Link: Guide: XSP Tutorial in German

2002-09-09 Thread Thomas Bayer
Germam: Einführung in die Erstellung von eXtensible Server Pages. English: Introduction in the creation of eXtensible Server Pages. Link: http://www.oio.de/public/xsp-grundlagen.htm Orientation in Objects GmbH Weinheimers Str. 68 68309 Mannheim http://www.oio.de Tel (0621) 71839-0

Re: Xindice inside Xsp

2002-09-09 Thread John Moylan
You need to search the archives and google for information on how to use Xindice from Cocoon. It has been done many times before and is well documented. I myself use it. Have a look at the sitemap for 2.03 and grep for XMLDB. John fxp wrote: Thanks, but I really need to make xpath queries

upload file-overwrite permission

2002-09-09 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

Need help with LuceneXMLIndexer

2002-09-09 Thread Ganael LAPLANCHE
Hi !I'd like to use this cocoon class to index XML pages...Where could I find examples of codes using this class ?Has anyone ever tried it ?Thank you,Gan.

Re: Connecting to MS SQL Server

2002-09-09 Thread Leszek Gawron
On Mon, Sep 09, 2002 at 12:01:57PM +0200, Lars Martinsen wrote: Does anyone have a step-by-step on how to connect to a MS SQL Server and do SQL commands on it? I have tried to do it by reading all the help and how-tos that is bundeled with Cocoon, but I didn't manage. For my development I'm

Re: Stylesheet selection by doctype?

2002-09-09 Thread Ben Young
Most impressive. 8o) I'm looking forward to giving it a try. Is it in the most recent snapshot? Thanks again, Ben Steven Noels [EMAIL PROTECTED] 09/07/02 13:40 PM On Sat, 7 Sep 2002, J.Pietschmann wrote: Vadim Gritsenko wrote: Ben Young wrote: Is it possible to set up a sitemap that

How do SOAP services work in 2.1?

2002-09-09 Thread Lajos Moczar
Quick question - I've tested out the hello.service example (in the samples/hello-world subproject from 2.1) from my SOAP client, and received back the expected XML content in the SOAP response. Then I created my own 'service', by simply having my own pipeline spit out XML. My question is: how

NoSuchMethodException

2002-09-09 Thread Manish Shah
Hello, I'm trying to use the evaluate() function in cocoon 2.0, which is a saxon extension, but I get the following exception: Error: java.lang.NoSuchMethodException: For extension function, could not find method java.lang.String.evaluate([ExpressionContext,] ).; SystemID:

JSP and Cocoon

2002-09-09 Thread Shawn_McManus
Has anyone had success using the include file inside JSPs? E.g. %@ include file=common/GeneralHeader.jsp % If so, please give me some pointers? Thanks, Shawn ** CONFIDENTIALITY NOTICE ** THIS E-MAIL, INCLUDING ANY ATTACHED FILES, MAY CONTAIN CONFIDENTIAL AND

New releases of Tomcat 4.1.10 and Pollo 0.35

2002-09-09 Thread Antonio Gallardo Rivera
Hi all, Tomcat releases 4.1.10 stable release http://jakarta.apache.org/site/news.html Pollo releases 0.35 http://sourceforge.net/projects/pollo/ Regards, Antonio Gallardo. - Please check that your question has not already

RE: Connecting to MS SQL Server

2002-09-09 Thread Christopher Watson
Lars Assuming you're using the Microsoft 2000 JDBC driver, 1 Copy the three libraries from the unpacked distribution msbase.jar mssqlserver.jar msutil.jar to WEB-INF/lib 2 Add com.microsoft.jdbc.sqlserver.SQLServerDriver to init-param in WEB-INF/web.xml, ending up with someting

XSP output: disable-output-escaping?

2002-09-09 Thread gv
Hi, From an XSP page, I am trying to output a Java variable that contains the XML result of an external script as XML, but my angle brackets are escaping to character entities. I have a Java String variable called 'scriptOutput'. It's filled with a string of XML that comes from an external

german umlaut!

2002-09-09 Thread Wolle
hi cocooners! has anybody a proper solution for involving german umlaute in a cocoon-framework? i have some ideas like 1. writing the umlauts in unicode (so creating a pdf via fop will cause no problems) 2. writing them in tex-style like u or o an exchange them later in every xsl-file 3.

RE: german umlaut!

2002-09-09 Thread Stefan Seifert
Just use a proper encoding for the XML file (i.e. UTF-8) and a UTF-8-able editor (under Windows i.e. XML Spy or JBuilder). Then you can just type the umlauts as any other chars in your document without problems. The HTML Serializer by default will encode them when doing HTML output to iso

Re: Xopus2 has been open sourced

2002-09-09 Thread Michael Wechner
Robert Koberg wrote: Hi Michael, from-memory What are your thoughts on Xopus? Did you just need any client editor and Xopus was the best out of the choice(s)? Or do you believe Xopus to be an excellent product? Well, both I think. Xopus has a very nice architecture. It's really just

Re: german umlaut!

2002-09-09 Thread J.Pietschmann
Wolle wrote: has anybody a proper solution for involving german umlaute in a cocoon-framework? You can read the XML spec for some hints, or check some other publishing systems, like DocBook. i have some ideas like 1. writing the umlauts in unicode (so creating a pdf via fop will cause

JSP Server Page

2002-09-09 Thread Sushil Bhattarai
Hi I have been unable to run the JSP demo that comes with Cocoon2.0.2. I saw in the discussion list that jasper.jar needs to be in WEB-INF/lib but that's not helping either. I'm running Cocoonon Catalina (Tomcat 4.0.1). SushilJoin the world’s largest e-mail service with MSN Hotmail. Click Here

Re: german umlaut!

2002-09-09 Thread Wolle
hi! thanks for the many suggestions. i tried the following solution: * *4. Use a proper encoding declaration which matches the actual *encoding of the file. For example, most platforms setup for *a german language environment use ISO-8859-1, and usually *editors use this as the

Re: german umlaut!

2002-09-09 Thread J.Pietschmann
Wolle wrote: as soon as i try to get an output as txt-file (e.g. on a web-browser or saving the content in a file) the german umlaut produced by the ue/oe keys are produced wrong (e.g. ue as A1/4). but all encodings in the xml/xsl file are correct. even the settings of the webbrowser are

Re: german umlaut!

2002-09-09 Thread Vaskin Kissoyan
Check TOMCAT / CATALINA / APP Server settings: for example: CATALINA_OPTS=-Dfile.encoding=ISO8859_1 I'm not sure if this over-rides the settings, I would assume the xml file or more specific config should over-ride, but you might want to check what your App Server is configured /defaulted to.

esql:get-timestamp | how to add a locale to the format attribute?

2002-09-09 Thread leo leonid
hi, I've got this esql:get-timestamp column=date format=, d. , h:mm a/ and now I want to add a locale just like in SimpleDateFormat(, d. , h:mm a, Locale.US) If it is possible to do this in XML, does anyone know the right syntax? Thanks. /Leo

Re: XMLForm data stored/retrieved via Session Transformer?

2002-09-09 Thread Simon Price
Ivelin Ivanov wrote: XMLForm currently supports JavaBeans, DOM and mixed models. You can look at the Feedback Wizard demo for example. I will look again, but it was not obvious to me how to pass a DOM model. How do you mean that people will be using forms without writing Java code. We can

XSP bug: can get generate() to skip elements using java 'if's

2002-09-09 Thread Per Kreipke
The following XSP snippet will cause an ArrayIndexOutOfBoundsException in Cocoon 2.0.3 because the start of the outer element is never emitted to the SAX stream. XSP Snippet: xsp:page page xsp:logic if (!request.isUserInRole(root)) { xsp:attribute name=security-errorNot

RE: XSP bug: can get generate() to skip elements using java 'if's

2002-09-09 Thread Per Kreipke
Note: in xsp.xsl, the topmost non-xsp element is handled specially but this error still occurs if you nest like this: page foo xsp:logicif (...) { xsp:attribute... } else { /xsp:logic ... xsp:logic } /xsp:logic /foo /page The culprit is the

Re: JSP Server Page

2002-09-09 Thread Lajos Moczar
Sushil - You need to patch JSPGenerator and/or JSPReader in 2.0.2 in order to make it work. Or, much easier, upgrade to 2.0.3 Regards, Lajos galatea.com Cocoon training, consulting support Sushil Bhattarai wrote: Hi I have been unable to run the JSP demo that comes with Cocoon2.0.2. I

Re: XMLForm data stored/retrieved via Session Transformer?

2002-09-09 Thread Ivelin Ivanov
Look at how the UserBean creates a DOM document. Although it is created via the DOM API, you can imagine how you could create the DOM from a file or another source. - Original Message - From: Simon Price [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 09, 2002 4:56 PM

avalon.excalibur ping of oracle fails

2002-09-09 Thread neil
Hi, Has anyone using oracle already solved this one? Although my app works OK, I'm getting debug messages (shown below) indicating that the database ping fails so cocoon is dicarding the connection and creating a new one. I guess its going slower than it could due to this. I do have

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

2002-09-09 Thread Antonio Gallardo Rivera
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 directory: /resources/images and set