AW: Tomcat 5.0 installation

2005-05-03 Thread Claus Straube
Hi Joe, I'm running Cocoon on Tomcat 5.5 with SDK 1.5. It's the same as running Cocoon on a Tomcat 4.x. There could be some problems compiling Cocoon with Java 5 (I think I've read some posts about that problem in this mailinglist), but you can compile Cocoon with SDK 1.4 (without problems) and ru

Tomcat 5.0 installation

2005-05-03 Thread J.D. Williams
Howdy from Texas. It's been a while since I have paid much attention to the list, but the time has come to get back into my Cocoon project. My provider uses Tomcat 5.0, and I am wondering whether anyone has created any docs specifically for that version. Or is it about the same as running 2.1.x

Flow Input Module Access

2005-05-03 Thread oceatoon
Hello Every one I can't seem to get the result of the realpath input module within Flow ? I tried this out of the hat but the hat is out of its magic ;-) var gcomp = cocoon.getComponent("org.apache.cocoon.components.modules.input.RealPathModule"); var path2webapp = gcomp.getAttribute("/",null,nu

Re: Generating plain text on Cocoon 2.1.6

2005-05-03 Thread Martin Holmes
I now have a working system, and in case anyone else has the same problem, this is what I had to do: 1. Use an absolutely minimal xsl:output element in the stylesheet: 2. Create my own serializer based on the standard text serializer, but with a new name and an explicit encoding paramet

Re: Generating plain text on Cocoon 2.1.6

2005-05-03 Thread Martin Holmes
Nailed it! I had this in my stylesheet: Changing it to ("type" instead of "method") solves the problem! But that shouldn't be, should it? According to XSLT 1.0 and 2.0, the attribute should be "method". Am I missing something here? Cheers, Martin Upayavira wrote: Martin Holmes wrote: I'm having

i18n Transformer question

2005-05-03 Thread Gary Larsen
It appears that my i18n Transformer fails to translate when the XSL stylesheet contains references:    l:include href=""/> Is there something I need to do in the sitemap to handle include files in the XSL properly or could this be another problem? Thanks for your help. Gary  

Re: Generating plain text on Cocoon 2.1.6

2005-05-03 Thread Martin Holmes
Hi there, When I switch to the XML serializer, I get an empty XML document: with no root element, and the wrong encoding. This is strange; something must be throwing the Xalan parser for a loop, but there's nothing weird at all in the XSL as far as I can see; it's adapted from another file which

backup database

2005-05-03 Thread Jarry Liu
Hi, I need help for backup xml database. As you know, for creating, we can use with xmldb transformer. But it seems that no specific transformer for backup. Anybody can give me some idea how to backup the xml database. Thanks. Jarry --

Re: How to write a transformer

2005-05-03 Thread Lionel Crine
Which kind of transformer do you want to do (DOM or SAX) ? Besides, you can a xslt stylesheet to make node replacement. Lionel Upayavira wrote: Michel Erard wrote: Hello, I'd like to write a custom transformer which replases tags like: NAME with "Mike" for example. I've found a little manual here

Re: [CForm] binding question

2005-05-03 Thread Sylvain Wallez
Lionel Crine wrote: I see but my problem is elsewhere : I need to load dynamically a binding document according a parameter in my selection list. besides, I have another idea (easier) : I'll create a first forms with this list and will process dynamically to the right form. By the way, How do I

Re: Velocity and XSL

2005-05-03 Thread Chris Maloney
Why not use the ? What is $quickHeaderMenuList? Is it a node list? Christian Tanzmann wrote: Hi, I would combine an XSL File with Velocity Statements but it dont work. Because the XSL Transformer cant interprete velocity. I have following file: BLA

password validation in CFORM

2005-05-03 Thread Roberto Marra
Hi all, Im checking some validation example & I found this example:   Password: Re-enter password: The two passwords are not equal. but the is not very clear for me. I understand wh

Rép. : Velocity and XSL

2005-05-03 Thread Willy Reinhardt
Hi, - Why you don't use ? (Note for me a mix of both techonolgies look suspect) - If you want mix both technologies I think you need to: a) Generate a mix of html and velocity with xsl b) generate html with velocity. but again it look like very bad. Willy >>> [EMAIL PROTECTED] 03/05/05 1

Velocity and XSL

2005-05-03 Thread Christian Tanzmann
Hi, I would combine an XSL File with Velocity Statements but it dont work. Because the XSL Transformer cant interprete velocity. I have following file: BLA

Re: [CForm] binding question

2005-05-03 Thread David Verdin
To submit dynamically, there is the "submit-on-change" attribute. It is available for selection-lists. The problem is to pass your field content to the sitemap to make it use a different binding file. If you use the "cocoon.sendpage" function, you generate a new request which will be processed

Re: [CForm] binding question

2005-05-03 Thread Lionel Crine
I see but my problem is elsewhere : I need to load dynamically a binding document according a parameter in my selection list. besides, I have another idea (easier) : I'll create a first forms with this list and will process dynamically to the right form. By the way, How do I submit dynamically ?

CForms with actions

2005-05-03 Thread Garvin Riensche
Hi there, I want to figure out how CForms are working in combination with actions instead of flowscripts. Therefore I want to create an simple example like this: http://cocoon.apache.org/2.1/userdocs/forms/sample.html but without the flowscript. The only example for CForms with actions I know ca

Re: [CForm] binding question

2005-05-03 Thread David Verdin
You can embed it in your flowscript. This is an untested javascript function which should do the trick (derived from the Cocoon samples) : function MyFunction(form) { var baseName = cocoon.parameters["base"]; var source = cocoon.parameters["documentURI"]; // parse the document to a DOM-

Re: Generating plain text on Cocoon 2.1.6

2005-05-03 Thread Upayavira
Martin Holmes wrote: I'm having problems generating plain text output (utf-8) on Cocoon 2.1.6. I get a NullPointerException. The scenario is: The XML files are UTF-8 and the XSL file starts out like this: type="text/plain"

[CForm] binding question

2005-05-03 Thread Lionel Crine
Hi, I'd like to change my binding document according a field (selectionList) in my form. How can I do that ? Tnahs Lionel -- Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.46.06.90 begin:vcard fn:Lionel

HTML

2005-05-03 Thread Xoan
Hi all, I'm using xsp to query eXist. I'm retrieving parts of xml documents that contains html documents with the following code. ... ... These html parts will be sent to a Javascript object as a string parameter . ... javascriptfunction(param1, '', param3) ... If I get as xml, the carriage re

Pet Store Sample

2005-05-03 Thread Peter Sparkes
I am trying to understand the Pet Store Sample on 2.1.7. Is there any documentation on it anywhere. Thanks Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cocoon and Jaxb Problem

2005-05-03 Thread angeloimm
Hi all; i must develop an application by using cocoon; for this application there are some third parts that use Jaxb for XSD data binding; well i have tried to use this lib, but when cocoon starts i have this error: 09:15:34,718 INFO [TomcatDeployer] deploy, ctxPath=/TestCocoon, warUrl=file:/C: