dynamically composing cinclude tag

2002-04-15 Thread a000
Hello! In my xsp-page the following statemet works correctly: cinclude:include src=cocoon:/SimpleTable.htm element=xxx/ However I'm required to assign the value of src dynamically. Initially I tried this statement which did not work: cinclude:include

FormValidatorAction DTD

2002-04-15 Thread Ivan Luzyanin
Hello! Has anyone any ideas about SUBJ? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For

[FO] Eps content in a pdf

2002-04-15 Thread Xavier DAMAY
hello all, Does someone know if it's possible to build a pdf file with Eps content (linked or inlined) with a xsl-fo stylesheet under cocoon 2.0. I try to solve my problem with svg, but i encounter problems with batik. I am not really sure to post at the right place because, i don't know if

Livesites

2002-04-15 Thread Peter Hargreaves
Hi Folks, Self-Roster.com is a new way to plan and deliver general purpose rotas for shift workers, that lets you and your staff decide for yourselves who works when. http://Self-Roster.com It uses Cocoon 2.0.2 and is hosted by Imagineis.com Any comments good or bad, very welcome indeed.

Re: Problem with xsl:copy-of and namespaces

2002-04-15 Thread Torsten Curdt
So it appears, that xsl:copy-of produces xml in the output, when namespaces are involved and HTML otherwise. I tried xsl:strip-space without effect. This doesn't seen like much of a problem, however with a more complex page, when a couple of pictures are integrated into a larger picture

Re: dynamically composing cinclude tag

2002-04-15 Thread Olivier Rossel
[EMAIL PROTECTED] wrote: Hello! In my xsp-page the following statemet works correctly: cinclude:include src=cocoon:/SimpleTable.htm element=xxx/ However I'm required to assign the value of src dynamically. Initially I tried this statement which did not work: cinclude:include

Re: ESQL Oracle StoredProcedues

2002-04-15 Thread Christian Haul
On 13.Apr.2002 -- 02:25 PM, Michael Raffenberg wrote: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling Merci_Dics_xsp: Line 470, column -1: inconvertible types Line 0, column 0: 1 errorHere is the code:

HELP!!! - Autentification: Apache1.3 + Tomcat4 + Cocoon2

2002-04-15 Thread Skladov, Victor
Hello to all! I kindly please all to help me in solving the following problem. I suppose this problem is not new, but I haven't found the answer to it in mail archives up to now. I have Apache1.3 on my Linux machine. All users are being autentificated through htpasswd programm. But both in my

form validation with at least a parameter

2002-04-15 Thread Marco Taiuti
I have a form with 2 parameters. How I can make that it is validated if at least a parameter is present? Marco - Plangroup Dott. Marco Taiuti Plan Soft Srl Via Ippolito Rosellini, 25 50127 Firenze email: [EMAIL PROTECTED] tel.: +39 055 43.68.525 Fax:+39 055

Re: dynamically composing cinclude tag

2002-04-15 Thread a000
Worked - Thanks a lot! Regards, Harald [EMAIL PROTECTED] wrote: Hello! In my xsp-page the following statemet works correctly: cinclude:include src=cocoon:/SimpleTable.htm element=xxx/ However I'm required to assign the value of src dynamically. Initially I tried this

RE: i18n problem

2002-04-15 Thread Volker Schneider
Hi Kurt, please see the mails of last friday talking with Konstantin Piroumian about this topic. The documentation is old. You have to do the following: Create 2 Files messages_en and messages_fr. Each file has to look like this: ?xml version=1.0 encoding=UTF-8? !-- CVS $Id: messages_en.xml,v

RE: accessing session context from stylesheet

2002-04-15 Thread Franosch, Heike
Hi, first of all thanks for your answers. Quite possibly the wrong way of doing things, but I use an XSP to grab the relevant session details then aggregate them so they are available to use in the stylesheet. maybe I try this one. But when this kind of problem arises, I usually

RE: i18n problem

2002-04-15 Thread Volker Schneider
Hi Kurt, sorry, I forgot something. If you want to switch the languages (I think you do so) you have to provide the locale parameter with your request like this: http:///Cocoon/test?locale=en I think, you don't need the LocaleAction for your pipeline... - very strange ... (I succeeded

RE: accessing session context from stylesheet

2002-04-15 Thread Andrew Savory
On Mon, 15 Apr 2002, Franosch, Heike wrote: But I get no session. What's wrong? One more question: If I get this running, do I get the same session id as used from tomcat (this is essential)? Which version of Cocoon are you using? Sessions were broken in c2.0.2 IIRC, so I'm currently using

Did it worked with someone ??

2002-04-15 Thread Sasaki, Humberto Katsunobu
Hi, people... Does anyone have tried to use WebLogic6.1 with Cocoon2.0 ? Did the JSP examples in Cocoon worked ? - Humberto - - Please check that your question has not already been answered in the FAQ before posting.

Re: ESQL Oracle StoredProcedues

2002-04-15 Thread Michael Raffenberg
OK, once again. Here is actual code: esql:execute-query esql:call{call cocoon_proc(esql:parameter direction=inout type=String'123'/esql:parameter)} /esql:call esql:call-results esql:results esql:resultesql:get-string column=1

Re: ESQL Oracle StoredProcedues

2002-04-15 Thread Christian Haul
On 15.Apr.2002 -- 02:17 PM, Michael Raffenberg wrote: OK, once again. Here is actual code: esql:execute-query esql:call{call cocoon_proc(esql:parameter direction=inout type=String'123'/esql:parameter)} /esql:call esql:call-results esql:results

RE: accessing session context from stylesheet

2002-04-15 Thread Franosch, Heike
On Mon, 15 Apr 2002, Franosch, Heike wrote: But I get no session. What's wrong? One more question: If I get this running, do I get the same session id as used from tomcat (this is essential)? Which version of Cocoon are you using? Sessions were broken in c2.0.2 IIRC, so I'm

RE: HELP!!! - Autentification: Apache1.3 + Tomcat4 + Cocoon2

2002-04-15 Thread Vadim Gritsenko
From: Skladov, Victor [mailto:[EMAIL PROTECTED]] Hello to all! I kindly please all to help me in solving the following problem. I suppose this problem is not new, but I haven't found the answer to it in mail archives up to now. I have Apache1.3 on my Linux machine. All users are being

Error handling with nested Velocity components

2002-04-15 Thread andy . eltis
Hi Does anyone know how to force a new page on the browser when dealing with errors that come from a nested Velocity component? I'm finding that with my current pipeline: map:handle-errors map:transform type=xslt src=error/tidyerror.htm/ map:serialize type=html status-code=500/

RE: Did it worked with someone ??

2002-04-15 Thread Torsten Curdt
Hi, people... Does anyone have tried to use WebLogic6.1 with Cocoon2.0 ? I have used. Did the JSP examples in Cocoon worked ? Don't know. Why do you want to use Cocoon if you are using JSP? Vadim, the other way round: why do you want to use JSP if you are using Cocoon ;-)) cheers

RE: Missing API Docs in Cocoon 2.0.2 and latest CVS

2002-04-15 Thread Bruce Krautbauer
Perry, thanks for procedure, it worked for me! Is someone collecting JDK 1.4.0 related bugs? Bruce [EMAIL PROTECTED] 04/14/02 11:34PM Seems as though it might be an issue with the change in the javadoc options for 1.4 In the build log, it has an error with:

RES: Did it worked with someone ??

2002-04-15 Thread Sasaki, Humberto Katsunobu
Hi, people... Does anyone have tried to use WebLogic6.1 with Cocoon2.0 ? I have used. Did the JSP examples in Cocoon worked ? Don't know. Why do you want to use Cocoon if you are using JSP? Well.. I could ask you: does exist any way to disable Cocoon JSP processing and let this task to

Re: Error handling with nested Velocity components

2002-04-15 Thread Nicola Ken Barozzi
From: [EMAIL PROTECTED] Hi Does anyone know how to force a new page on the browser when dealing with errors that come from a nested Velocity component? I'm finding that with my current pipeline: map:handle-errors map:transform type=xslt src=error/tidyerror.htm/ map:serialize

Re: Did it worked with someone ??

2002-04-15 Thread Nicola Ken Barozzi
From: Sasaki, Humberto Katsunobu [EMAIL PROTECTED] Hi, people... Does anyone have tried to use WebLogic6.1 with Cocoon2.0 ? I have used. Did the JSP examples in Cocoon worked ? Don't know. Why do you want to use Cocoon if you are using JSP? Well.. I could ask you: does exist any way to

RE: Did it worked with someone ??

2002-04-15 Thread Vadim Gritsenko
From: Torsten Curdt [mailto:[EMAIL PROTECTED]] Hi, people... Does anyone have tried to use WebLogic6.1 with Cocoon2.0 ? I have used. Did the JSP examples in Cocoon worked ? Don't know. Why do you want to use Cocoon if you are using JSP? Vadim, the other way round: why

RE: Did it worked with someone ??

2002-04-15 Thread Vadim Gritsenko
From: Sasaki, Humberto Katsunobu [mailto:[EMAIL PROTECTED]] Hi, people... Does anyone have tried to use WebLogic6.1 with Cocoon2.0 ? I have used. Did the JSP examples in Cocoon worked ? Don't know. Why do you want to use Cocoon if you are using JSP? Well.. I could ask you: does

Problems serving pdf files

2002-04-15 Thread Mike Dewar
I've just installed cocoon 2.0.2 under tomcat 3.3.1 on Redhat Linux. I am trying to serve pdf files with the following pipeline added to the standard sitemap.xmap that came with the (binary) distribution: map:pipeline map:match pattern=foo/**.pdf map:read mime-type=application/pdf

XSL namespace functionality

2002-04-15 Thread Paul Pattison
I'm wondering where I could find a full listing of xsl namespace functionality. I'm afraid I'm still a newbie, so I don't know if that's what you call it, but I basically want to find documentation for the xsl tags (ie xsl:template) that are available. Also, can I specify attributes of a tag in

RE: XSL namespace functionality

2002-04-15 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL namespace functionality www.zvon.org has some excellent resources -Original Message- From: Paul Pattison [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 1:36 PM To: Cocoon Mailing List Subject: XSL namespace functionality I'm wondering where I could

ScriptGenerator problem

2002-04-15 Thread William Brogden
I am attempting to add Python script processing capability to the ScriptGenerator using jython. I placed jython.jar in the cocoon/WEB-INF/lib directory Cocoon version is 2.0.1 dated 2/26/02 Erased the work directory before starting Here is my modified script generator entry in sitemap.xmap:

Re: Problems serving pdf files

2002-04-15 Thread Erwin
On Mon, 15 Apr 2002, Mike Dewar wrote: For small files this works fine, but larger pdf files get truncated to 122880 bytes. Can anybody tell me what I'm doing wrong and suggest a fix? My guess is that java then takes up the maximum allowed heapsize. If you check to logs, you will probably

RE: XSL namespace functionality

2002-04-15 Thread Vadim Gritsenko
Book is good to get an understanding, but no book as good as the original document if you need reference: http://www.w3.org/TR/xslt Vadim From: Luca Morandini [mailto:[EMAIL PROTECTED]] Paul, may I advise you to buy: XML in a nutshell by E.R.Harold W.S.Means (O'Reilly, 2001) ? If

Output Data as XML output

2002-04-15 Thread George Pieri
I have XML that I would like to generate XML from using my XSL stylesheet. I've tried using the cocoon format command ?cocoon-format type=text/xhtml? and ?cocoon-format type=text/xml? with NO luck it appears that my output is still coming back in HTML format !DOCTYPE HTML PUBLIC

Cocoon 1.8.2 + HyperSonicSQL

2002-04-15 Thread Martin Mauri
Hi, Does anybody know if some configuration is needed in Cocoon to be able to access HyperSonic database files? thanks in advance. Martin - Please check that your question has not already been answered in the FAQ before

RE: ScriptGenerator problem

2002-04-15 Thread William Brogden
-Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 2:30 PM To: [EMAIL PROTECTED] Subject: RE: ScriptGenerator problem From: William Brogden [mailto:[EMAIL PROTECTED]] I am attempting to add Python script processing

Re: Cocoon 1.8.2 + HyperSonicSQL

2002-04-15 Thread Martin Mauri
Ops, I don't know then. I'm using the 1.7 version of Hypersonic and despite the fact I just inserted some records on the base, I only get the .script and .properties files which I can access with the runManager application. But when I try to access it with Cocoon from JDBC I can't get any record

i18n with POST requests

2002-04-15 Thread Alexander Smirnoff
Hi guys, I've got into problem with internationalization with input forms. I'm using 'UTF-8' encoding. When displaying data back from the database (Oracle) it is not in the same encoding. This must be very stupid and annoying question, but I have not found worthy answer in archives... Sorry.

MS Access Driver!!!

2002-04-15 Thread Muhammad Irfan
Dear All, Does any one knows the name os MS Access driver and where it is located?? I have inserted jdbc:odbc:JdbcOdbcDriver within the WEB_INF/web.xml file but getting exceptions... Thanking you for your kind help. Irfan.

dynamic xsl:import

2002-04-15 Thread Paul Pattison
Is it possible to have the href of an xsl:import be dynamic? I have an xml document of data. This document has a layout tag. I want to use that value to determine which file is used as the stylesheet. Is this possible? I know my syntax is somewhat right because it works when I hardcode in a

RE: xml output from sql query

2002-04-15 Thread Argyn Kuketayev
I use xml-serializer when want to debug the xml between components of pipeline -Original Message- From: Muhammad Irfan [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 6:12 PM To: [EMAIL PROTECTED] Subject: xml output from sql query Dear All, I am trying to execute

RE: MS Access Driver!!!

2002-04-15 Thread Muhammad Irfan
Thanks Perry, but I just forgotten to mention sun. before the jdbc.odbc.JdbcOdbcDriver. If the driver is correct, then I may be doing something wrong in the cocoon.xconf file datasources... Any further help please... Thanking you. From: Faulkner, Perry [EMAIL PROTECTED] Reply-To: [EMAIL

Nokia disappoint me!

2002-04-15 Thread Rami Amiri
Hi Every Body I ‘ve got a message on my Nokia Mobile Internet Toolkit V3.0 “ Not acceptable “ , when I was trying to browse XML file using the following URL: http://127.0.0.1:8080/cocoon/samples/wap/example-portfolio.xml. My toolkit has been configured successfully with the Apache Tomcat, as

RE: MS Access Driver!!!

2002-04-15 Thread Argyn Kuketayev
show the exceptions. maybe u didn't configure ODBC data source. -Original Message- From: Muhammad Irfan [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 6:17 PM To: [EMAIL PROTECTED] Subject: RE: MS Access Driver!!! Thanks Perry, but I just forgotten to mention sun.

RE: MS Access Driver!!!

2002-04-15 Thread Faulkner, Perry
Muhammad, Your original post was that you had jdbc:odbc: - not jdbc.odbc., so your missing more than just sun. in the web.xml! It is a java package and class reference. In coccon.xconf you should have something similar to: jdbc name=mydb auto-commitfalse/auto-commit

Re: xml output from sql query

2002-04-15 Thread Andrew Savory
On Mon, 15 Apr 2002, Muhammad Irfan wrote: I am trying to execute SQL query and want to get the output/display in xml. I have written my SQL query in a xml file according to the docs/samples/sql/sql-page but getting the exptions What exceptions are you getting? Is there anything in the

Actions: FormValidator and dbAdd

2002-04-15 Thread Matthieu Sozeau
I tried without success to pass this to cocoon: map:action name=mydbAdd logger=sitemap.homesite.action.dbAdd src=org.apache.cocoon.acting.DatabaseAddAction/ map:action name=form logger=sitemap.homesite.action.form src=org.apache.cocoon.acting.FormValidatorAction/

[Announcement] Web3 - SAP R/3 connection components

2002-04-15 Thread Michael Gerzabek
Hi Cocoon'ers! We have finished our connectivity toolkit Web3 that seamlessly integrates Cocoon 2 and multiple SAP(TM) R/3(R) backend systems via the SAP(TM) standard software library Java Connector(R). This portion of software enables the use of SAP(TM) remote function calls via the open xml

Re: [Announcement] Web3 - SAP R/3 connection components

2002-04-15 Thread giacomo
On Mon, 15 Apr 2002, Michael Gerzabek wrote: Hi Cocoon'ers! We have finished our connectivity toolkit Web3 that seamlessly integrates Cocoon 2 and multiple SAP(TM) R/3(R) backend systems via the SAP(TM) standard software library Java Connector(R). This portion of software enables the use

RE: [Announcement] Web3 - SAP R/3 connection components

2002-04-15 Thread Luca Morandini
Wow, SAP Cocoon... this really persuades people to embrace Cocoon :) Thanks a lot ! - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html

RE: dynamic xsl:import

2002-04-15 Thread Luca Morandini
Paul, I think it's impossible: xsl:import must be top-level, and this puts it (I presume) out of the matching process. If anyone knows something about this matter, it's time to say it aloud ! Best regards, - Luca Morandini

RE: ScriptGenerator problem

2002-04-15 Thread Vadim Gritsenko
From: William Brogden [mailto:[EMAIL PROTECTED]] -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 2:30 PM To: [EMAIL PROTECTED] Subject: RE: ScriptGenerator problem From: William Brogden [mailto:[EMAIL PROTECTED]]

RE: XSL namespace functionality

2002-04-15 Thread Kenny Chow
I would recommend, http://www.w3schools.com/xsl/xsl_w3celementref.asp --- Vadim Gritsenko [EMAIL PROTECTED] wrote: Book is good to get an understanding, but no book as good as the original document if you need reference: http://www.w3.org/TR/xslt Vadim From: Luca Morandini

File Upload using action or any other approach

2002-04-15 Thread Chitharanjan Das
Hello Has anyone accomplished to upload files from html forms to the server to a specific directory .. Regds, Chiths

Re: Cocoon 1.8.2 + HyperSonicSQL

2002-04-15 Thread Andrew C. Oliver
My apologies I didn't read carefully enough. I'm not sure how to use hypersql as implemented in Cocoon 1.8.2. I could answer for 2.0x but not 1.8x On Mon, 2002-04-15 at 16:49, Martin Mauri wrote: Ops, I don't know then. I'm using the 1.7 version of Hypersonic and despite the fact I just

RE: [Announcement] Web3 - SAP R/3 connection components

2002-04-15 Thread Dean McGowan
I would be most interested in discussing the potential for publishing SAP via kangax (http://kangax.dyanet.com/client/4/index.html) anyone with a SAP background who would like to collaborate and expand on this potential Please contact Dean McGowan. -Original Message- From: Luca

Splitting the request URL

2002-04-15 Thread Jason Foster
A web site I am working on has all of its source documents in a single directory. In contrast the URL space is arranged hierarchically. My sub-sitemap is currently matching successfully on **/*.html, and then using the file generator to read in the file {2}.xml. This is working great. What

form-validation

2002-04-15 Thread Niket Anand
Hi All, How can I do form validation for date field? I want that the input value for date field should not exceed certain date.Please suggest about it. I want to return map in act() method as Map siteparams=new HashMap(); siteparams("validate", true); return siteparams; How can I use

Re: File Upload using action or any other approach

2002-04-15 Thread Andre Juffer
Chitharanjan Das wrote: Hello? Has anyone accomplished to upload files from html forms to the server to a specific directory .. Yes, I did, with an action. What is the problem? -- Andre H. Juffer | Phone: +358-8-553 1683 The Biocenter and| Fax: