Re: form-validation

2002-04-16 Thread Christian Haul
On 16.Apr.2002 -- 10:24 AM, Niket Anand wrote: I want to return map in act() method as Map siteparams=new HashMap(); siteparams(validate, true); return siteparams; How can I use variable validate in sitemap such that If it is true then redirect to resource1 else redirect to resource2.

Re: Splitting the request URL

2002-04-16 Thread Christian Haul
On 16.Apr.2002 -- 12:12 AM, Jason Foster wrote: What I would like to do is include a set of navigation links based on the URL path, in this case {1}. Given a request like website/topics/academic/ publications.html, the HTML source for the navigation links should be: a

Re: Splitting the request URL

2002-04-16 Thread Derek Hohls
Jason You could also look at the sitemap for the excellent 'Bonebreaker' tutorial provided at cocooncenter.org - it may have something of what you need Derek [EMAIL PROTECTED] 16/04/2002 08:40:22 On 16.Apr.2002 -- 12:12 AM, Jason Foster wrote: What I would like to do is include a set of

RE: dynamic xsl:import

2002-04-16 Thread Derek Hohls
FWIW, I concur with Luca - but you can maybe try the XSL discussion list - see: http://www.mulberrytech.com/xsl/xsl-list/index.html [EMAIL PROTECTED] 16/04/2002 01:34:29 Paul, I think it's impossible: xsl:import must be top-level, and this puts it (I presume) out of the matching process. If

How to integrate a transformation pipeline in a standalone javaapplication

2002-04-16 Thread Martin Henke
Hi, I want to integrate a transformation pipeline for xml documents in a standalone java application. Can anybody point me to a howto or example where the integration and configuration of such a cocoon pipeline is shown ? With kind regards Martin

RE: i18n with POST requests

2002-04-16 Thread Piroumian Konstantin
From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]] 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

Re: File Upload using action or any other approach

2002-04-16 Thread Olivier Rossel
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? Can you please explain how you did that? Or may be provide us the code, if it is not copyrighted?

Re: File Upload using action or any other approach

2002-04-16 Thread Andre Juffer
Olivier Rossel 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? Can you please explain how you did that? Or may be provide us the code, if it is not

Re: Actions: FormValidator and dbAdd

2002-04-16 Thread Christian Haul
On 16.Apr.2002 -- 12:43 AM, Matthieu Sozeau wrote: map:action-sets map:action-set name=guestbook-process map:act type=form action=Add-guestbook-entry map:parameter name=validate-set value=add/ map:act type=mydbAdd/ /map:act /map:action-set

LDAP Transformer usage

2002-04-16 Thread Simeon Walker
Hi, has anyone manage to use the LDAP Transformer recently? I have it compiled ok and configured in my sitemap, I just can't figure out the format of the ldap:execute-query elements. Any suggestions appreciated. Regards, Simeon -- Simeon Walker, email: [EMAIL

RE: How to integrate a transformation pipeline in a standalone java application

2002-04-16 Thread Vadim Gritsenko
From: Martin Henke [mailto:[EMAIL PROTECTED]] Hi, I want to integrate a transformation pipeline for xml documents in a standalone java application. Can anybody point me to a howto or example where the integration and configuration of such a cocoon pipeline is shown ?

Re: MS Access Driver!!!

2002-04-16 Thread Berin Loritsch
Faulkner, Perry wrote: 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

Re: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

2002-04-16 Thread Yuri Gadow
As it turns out, the XSLT sheets in the pipeline before the HTMLSerializer where, themselves, setting the output to be HTML and XHTML (via output method and namespace mappings.) I removed the NS mappings and output elements from them, and am now seeing correct serialization of HTML and XHTML.

Re: File Upload using action or any other approach

2002-04-16 Thread Jeremy Aston
Chaps See the thread on cocoon-dev over the last weekend about file ipload (my typo). A sample action was posted which I know works. I am tidying the code up for posting over the next day or two. Cheers Jez --- Olivier Rossel [EMAIL PROTECTED] wrote: Hello? Has

Re: pdf transformation and xml file sizes

2002-04-16 Thread Lajos Moczar
In my experience, it is memory that is the key factor. Running with 512MB allocated to the JVM, I can produce 53 pages of PDF, but no more. I would have thought that SAX-based processing would allow you to process as much as you want, but obviously there is something with PDF documents that

KrysalIDE for Cocoon2

2002-04-16 Thread Alexandru COSTIN
Hello, I am Alexandru COSTIN and I am Product Manager at InterAKT Online. We are working on a architecture pretty similar with Cocoon2 one, but based on the PHP application server, named Krysalis. While developing Krysalis, we have seen the potential of a IDE for this

Re: MS Access Driver!!!

2002-04-16 Thread Derek Hohls
And to add - combine mySQL with the wonderful dbTools package import your m$access files in one swift swoop - then delete them!!) and you have all you need ! See: http://www.dbtools.com.br/ [EMAIL PROTECTED] 16/04/2002 02:54:17 Faulkner, Perry wrote: Muhammad, Your original post was

serving WML to Opera or Openwave SDK

2002-04-16 Thread Ralph Holz
Hi, I try to use Cocoon 2 to serve WML files, which are the products of an XSL-T transformation. I'd like to test my results with Opera 6 or the Openwave SDK 5.0 (both of which connect to localhost for this). However, neither Opera nor the Openwave SDK simulator display it. Opera just

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Lajos Moczar
I've tested with both, without any problems. Can I see your sitemap entry? Lajos galatea.com Ralph Holz wrote: Hi, I try to use Cocoon 2 to serve WML files, which are the products of an XSL-T transformation. I'd like to test my results with Opera 6 or the Openwave SDK 5.0 (both of

cocoon 2.0.2 installation problem : Error compiling sitemap: java.lang.NoSuchFieldError: manager

2002-04-16 Thread LEBRETON Philippe
i used cocoon 2.0.0 with TOMCAT 3.3 Final and i want upgrade to cocoon 2.0.2. I have an error : Cocoon 2 - Internal server error type fatal message Error compiling sitemap description org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoSuchFieldError: manager sender

RE: cocoon 2.0.2 installation problem : Error compiling sitemap: java.lang.NoSuchFieldError: manager

2002-04-16 Thread Vadim Gritsenko
From: phil [mailto:phil] On Behalf Of LEBRETON Philippe i used cocoon 2.0.0 with TOMCAT 3.3 Final and i want upgrade to cocoon 2.0.2. I haven't seen this for a while... Seems like you are the last who upgraded! :) If you searched in the archives, you already know the solution for you

how is lucene incorporated in cocoon?

2002-04-16 Thread Markus Krogemann
Dear cocoon-users i am evaluating cocoon and having problems to understand how exactly the indexing and searching with lucene works. What i don't understand: what exactly is being indexed (xml files in the file system?) and then how does the search construct links from the result set, ie. how

Cocoon 2 powered training site

2002-04-16 Thread Lajos Moczar
Hi all - I'd like to add my site, galatea.com, to the list of sites powered by Cocoon 2. I'd also like to announce the first (to my knowledge) publicly-available Cocoon training classes. We are giving two classes this summer: Cocoon Fundamentals and Advanced Cocoon. If you are interested,

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Ralph Holz
Lajos, I've tested with both, without any problems. Can I see your sitemap entry? Sure. This is the sitemap for the WML version: ?xml version=1.0 encoding=UTF-8? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:components map:generators default=file/

RE: KrysalIDE for Cocoon2

2002-04-16 Thread Leigh Dodds
Personally I think the best IDE for Cocoon wouldn't be one that exposed XSLT, XSP, etc directly. But would allow simple drag and drop creation of pipelines, etc. i.e. a tool targetted to the users of Cocoon, it's adminstrator. Developers of components/stylesheets are well-served by various

Encoding question

2002-04-16 Thread Franosch, Heike
Hi all, is it possible to set the output encoding? I always get a UTF-8, even if I set output encoding to iso-8859-1 in my stylesheet. Can I influence it somehow in the sitemap? Thanks, Heike - Please check that your question

SQL Problem!!!

2002-04-16 Thread Muhammad Irfan
Dear All, I am trying a simple process to execute the sql query that should give me the output in xml, but It seems to me that I am stuckup with this. Below is the detailed description of what I have done:- I have created a file named sql-test.xml under test folder within tomcat/cocoon

Re: Encoding question

2002-04-16 Thread Stephan Michels
On Tue, 16 Apr 2002, Franosch, Heike wrote: Hi all, is it possible to set the output encoding? I always get a UTF-8, even if I set output encoding to iso-8859-1 in my stylesheet. Can I influence it somehow in the sitemap? Try map:serialize type=html encodingASCII/encoding

RE: KrysalIDE for Cocoon2

2002-04-16 Thread Mike Haarman
On 16 Apr 2002, Alexandru COSTIN wrote: It was a very unpleasant experience, and I would like to know where are those tools, because it might help us a lot ... Developers of components/stylesheets are well-served by various IDEs already. Can you write a list? There are

RE: KrysalIDE for Cocoon2

2002-04-16 Thread Alexandru COSTIN
Aha. Never used emacs, but I have friends that use it for C editing with all the code completion features. Anyway, (I don't want flame wars) is Emacs a real IDE? Plain XML editing doesn't really help to develop Cocoon applications in a productive manner. We would

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

2002-04-16 Thread Jeff Perkins
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-

Re: pdf transformation and xml file sizes

2002-04-16 Thread Erwin
On Tue, 16 Apr 2002, Lajos Moczar wrote: In my experience, it is memory that is the key factor. Running with 512MB allocated to the JVM, I can produce 53 pages of PDF, but no more. I would have thought that SAX-based processing would allow you to process as much as you want, but obviously

RE: How to clear the jar_cache files ?

2002-04-16 Thread Vadim Gritsenko
From: Luca Morandini [mailto:[EMAIL PROTECTED]] Folks, sorry to make such an awkward question, but Tomcat keeps filling my temp directory with this caching stuff... and no amount of mailing lists searching helped me :( jar_cache? In tomcat? I never seen this/these directory/files.

RE: how is lucene incorporated in cocoon?

2002-04-16 Thread Vadim Gritsenko
From: Markus Krogemann [mailto:[EMAIL PROTECTED]] Dear cocoon-users i am evaluating cocoon and having problems to understand how exactly the indexing and searching with lucene works. What i don't understand: what exactly is being indexed Content served by the Cocoon

RE: Encoding question

2002-04-16 Thread Vadim Gritsenko
From: Franosch, Heike [mailto:[EMAIL PROTECTED]] Hi all, is it possible to set the output encoding? Yes I always get a UTF-8, even if I set output encoding to iso-8859-1 in my stylesheet. Don't do this. Can I influence it somehow in the sitemap? Yes. Have you seen sample sitemap?

RE: How to clear the jar_cache files ?

2002-04-16 Thread Luca Morandini
-Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 8:14 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: How to clear the jar_cache files ? From: Luca Morandini [mailto:[EMAIL PROTECTED]] Folks, sorry to make such an

document() function calling external file twice

2002-04-16 Thread Yap, Mow Ching (Gamer.tv)
has anyone else experienced this problem whereby using the document() function calls the external file twice. specifically, this happens when the document call is used as part of an XPATH expression to match a node in the external document. i.e. this calls the external doc once.

Problems loading cocoon

2002-04-16 Thread Saul Rodrigo Zarrate Cardenas
Hi I have a PC with win 2000 pro, java 1.3, tomcat 4.0.1 and cocoon 2.0 I copy de cocoon.war in the tomcat/webapps directory and i load tomcat. When i am try to access tomcat i don't hace any problem. I make that in http://localhost:8080. But when i try to load cocoon in

RE: How to clear the jar_cache files ?

2002-04-16 Thread Vadim Gritsenko
From: Luca Morandini [mailto:[EMAIL PROTECTED]] -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 8:14 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: How to clear the jar_cache files ? From: Luca Morandini

RE: How to clear the jar_cache files ?

2002-04-16 Thread Luca Morandini
-Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 9:08 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: How to clear the jar_cache files ? They're located in the temp directory of my server and have names like:

RE: Problems loading cocoon

2002-04-16 Thread Vadim Gritsenko
From: Saul Rodrigo Zarrate Cardenas [mailto:[EMAIL PROTECTED]] Hi I have a PC with win 2000 pro, java 1.3, tomcat 4.0.1 and cocoon 2.0 Try Java 1.3.1 PS Mine is: java version 1.3.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build

RE: How to clear the jar_cache files ?

2002-04-16 Thread Vadim Gritsenko
From: Luca Morandini [mailto:[EMAIL PROTECTED]] -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 9:08 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: How to clear the jar_cache files ? They're located in the

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Lajos Moczar
Nothing wrong here. I double-checked my own stuff (I use Openwave SDK 5.0 and 4.1) and my pages work just fine. The only thing I can think of is to change the doctype-public and doctype-system setttings for the wml serializer in sitemap.xmap (or define another one with wml 1.3 references). If

Re: Actions: FormValidator and dbAdd

2002-04-16 Thread Matthieu Sozeau
Le Tue, 16 Apr 2002 11:03:15 +0200, Christian Haul a écrit: On 16.Apr.2002 -- 12:43 AM, Matthieu Sozeau wrote: map:action-sets map:action-set name=guestbook-process map:act type=form action=Add-guestbook-entry map:parameter name=validate-set value=add/

RE: How to clear the jar_cache files ?

2002-04-16 Thread Luca Morandini
Vadim, I've found evidence of a bug like this under JRE 1.2... but I'm using 1.3.1 and those files are still there :( Anyway, I'm wondering if I'm the only one with this problem Best regards, - Luca Morandini GIS

RE: Extension functions

2002-04-16 Thread Graeme Andrews \(BT\)
With Cocoon 2.0.2, I did this: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:dt=java.util.Date extension-element-prefixes=dt And used this : xsl:value-of select=dt:new() / Graeme

RE: File Upload using action or any other approach

2002-04-16 Thread Chitharanjan Das
Hello Andre, Thanks for the input I do not need to process the Data .. Let me re-iterate the problem.. User is presented with a HTML form to upload a data file (XML or not). The user then browses for the file on his m/c (client) and presses the submit button.. Now this file has

RE: How to clear the jar_cache files ?

2002-04-16 Thread Lai, Harry
Hi Luca, Hmm, that's weird. According to Sun's website, this bug was fixed sometime during the 1.2 series, so it should definitely be fixed in 1.3.1. Though looking at the Java bug database, the last messages posted by folks implied that at least one person found it still to be a bug in 1.3

Re: pdf transformation and xml file sizes

2002-04-16 Thread Carolien
Erwin wrote: On Tue, 16 Apr 2002, Lajos Moczar wrote: In my experience, it is memory that is the key factor. Running with 512MB allocated to the JVM, I can produce 53 pages of PDF, but no more. I would have thought that SAX-based processing would allow you to process as much as you

Cocoon Exceptions!!!!

2002-04-16 Thread Muhammad Irfan
Dear All, I am trying a simple process to execute the sql query that should give me the output in xml, but It seems to me that I am stuckup with this. Below is the detailed description of what I have done:- I have created a file named sql-test.xml under test folder within tomcat/cocoon that

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Ralph Holz
Lajos, thanks anyway. Would it be possible to let me have a look at both your WML and your sitemap entries? Maybe that would give me some clue. I tried changing the doctype-public and system setting to WML 1.3, didn't help. Cheers, Ralph Nothing wrong here. I double-checked my own stuff (I

RE: SAXParser not implementing XMLReader causing TC 4.0.3 load failure

2002-04-16 Thread Vadim Gritsenko
From: Mark S. Kent [mailto:[EMAIL PROTECTED]] I just installed Tomcat 4.0.3 on my WinNT4 SP5 laptop (replacing Tomcat Why not you try Tomcat 4.0.4? (b2 at this moment) 4.0.1) and trying to use my existing Cocoon 2.0.2 build with it and I'm seeing this error: SAX2 driver class

RE: How to clear the jar_cache files ?

2002-04-16 Thread Vadim Gritsenko
From: Lai, Harry [mailto:[EMAIL PROTECTED]] Hi Luca, Hmm, that's weird. According to Sun's website, this bug was fixed sometime during the 1.2 series, so it should definitely be fixed in 1.3.1. Though looking at the Java bug database, the last messages posted by folks implied that at

Using Docbook With Cocoon 2.0.2

2002-04-16 Thread Carlos
I'm getting the following error with Cocoon 2.0.2 and the following pipeline to transform Docbook documents. The pipeline is served from a sub-sitemap: map:match pattern= map:redirect-to uri=welcome/ /map:match map:match pattern=*.pdf map:generate src=docs/{1}.xml/

RE: Using Docbook With Cocoon 2.0.2

2002-04-16 Thread Vadim Gritsenko
From: Carlos [mailto:[EMAIL PROTECTED]] I'm getting the following error with Cocoon 2.0.2 and the following pipeline to transform Docbook documents. The pipeline is served from a sub-sitemap: Carlos: java.lang.RuntimeException: Stylesheet directed termination One of the stylesheet does

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Lajos Moczar
Here ya' go. These are taken from one of my courses. I've tested with Opera and 2 versions of the Openwave SDK. Regards, Lajos galatea.com ** sitemap entry * map:match pattern=hello-world.wml map:generate

sendmail xsl problem

2002-04-16 Thread Perry Molendijk
Hello, When I run the sendmail logicsheet I get a problem with the transformation of sendmail.xsl. Somewhere in the process the values of sendmail:subject, sendmail:body and sendmail:smtphost are not added to the generated java code. e.g. (from .java file in tomcat\work) if

RE: how is lucene incorporated in cocoon?

2002-04-16 Thread markus
Zitiere Vadim Gritsenko [EMAIL PROTECTED]: your input was exactly what i needed, thanks a lot! markus From: Markus Krogemann [mailto:[EMAIL PROTECTED]] Dear cocoon-users i am evaluating cocoon and having problems to understand how exactly the indexing and searching with lucene