Re: encodage utf8

2005-11-29 Thread Jean-Baptiste Quenot
* philguillard: Mon 1er XSP sert a rentrer un element dans la base : Topic topicBean = new Topic(); topicBean.setTopic(Noé); topicDao.save(topicBean, hs); Les XSP sont générées en une classe Java, or une classe Java si mes

[CForms 2.1.8] ignores the first call to setValidationError()

2005-11-29 Thread Feliciano Borrego
Hi, The following form model works correctly in cocoon 2.1.7: fd:repeater-action id=add-ctrl_proy command=add-row repeater=ctrl_proys fd:labelXYZ/fd:label fd:on-action fd:javascript var form = event.source.form;

Flowscript encoding

2005-11-29 Thread Wojciech Gdela
Hello, Some time ago there was a discussion about implementing possibility to define flowscript encoding: http://thread.gmane.org/gmane.text.xml.cocoon.devel/48228 Is it implemented now? What is the syntax of this line? // encoding = UTF-8 -- Best regards, Wojciech Gdela.

working with custom blocks

2005-11-29 Thread Michael Wechner
Hi I have created my own block for Cocoon-2.1.X, but realized that I have to patch the following files: gump.xml and lib/jars.xml and also have to copy libs to lib/optional Is there a way that one does not have to patch these files? Or am I missing something? Thanks Michi

Re: working with custom blocks

2005-11-29 Thread Upayavira
Michael Wechner wrote: Hi I have created my own block for Cocoon-2.1.X, but realized that I have to patch the following files: gump.xml and lib/jars.xml and also have to copy libs to lib/optional Is there a way that one does not have to patch these files? Or am I missing

Re: working with custom blocks

2005-11-29 Thread Michael Wechner
Upayavira wrote: Michael Wechner wrote: Hi I have created my own block for Cocoon-2.1.X, but realized that I have to patch the following files: gump.xml and lib/jars.xml and also have to copy libs to lib/optional Is there a way that one does not have to patch these files? Or am I

Problem with sendmail action

2005-11-29 Thread Goetzmann Bertrand
Title: Problem with sendmail action Hello, I use the sendmail action in my sitemap.xmap to, of course, send emails from a form. It works well if all the parameters needed are correct, but otherwise I can't read the status parameter that the action set. I think it is perhaps a bug because

War File Not Created During Build

2005-11-29 Thread Lindsell, O \(Owen\)
Hi, I'm trying to install cocoon on Windows 2000 server. I downloaded the latest stable version (2.1.8) and ran the command: build webapp According to the install instructions this should generate a file cocoon.war. This file isn't created. I tried again with the command: build

Re: War File Not Created During Build

2005-11-29 Thread Upayavira
Lindsell, O (Owen) wrote: Hi, I'm trying to install cocoon on Windows 2000 server. I downloaded the latest stable version (2.1.8) and ran the command: build webapp According to the install instructions this should generate a file cocoon.war. This file isn't created. I tried again with

valid xml serializer

2005-11-29 Thread Ben Anderson
Hi, I'm using xhr and would like to get the response as a dom document. The responseText property is there, but the responseXML property is null. I believe the problem is that the response isn't valid xml. What's the best approach to this? Currently I'm using the HTML Serializer which does

Re: valid xml serializer

2005-11-29 Thread Bertrand Delacretaz
Le 29 nov. 05, à 13:54, Ben Anderson a écrit : ...I'm using xhr and would like to get the response as a dom document. ... If you want the client to parse server-supplied data, you should use an XML serializer, to make sure your server provides well-formed XML. -Bertrand smime.p7s

Re: passing arguments from sitemap to a serializer

2005-11-29 Thread Michael Wirz
Thank you, guys! In fact, I didn't need to get further setup-Parameters than static ones passed in configuration(). But it's nice to know what is possible -- for there will be a future setup where one can use it. Bye, Michael Wirz Sylvain Wallez wrote: Hmmm... this *used* to be the

Antennahouse XSL Formatter Serializer

2005-11-29 Thread Michael Wirz
Dear cocoon Users, since I am working on a project using cocoon 2.1.5 and we have been using the Antennahouse XML, XSL/FO to PDF Formatter for performance reasons, I developed a small serializer for this formatter. It calls XSLFormatter via an external Shellskript, the command to be executed can

Re: War File Not Created During Build

2005-11-29 Thread Upayavira
Owen, Please keep discussion on the users mailing list. It benefits more people if we keep this discussion in public - and you may end up getting more perspectives than just mine. Owen Lindsell wrote: Hi, the is no mention of building a war file. The bullet points are as follows... - Clean

Re: Does cocoon support Word .doc as output format

2005-11-29 Thread Geert Josten
Look at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_wd2003_ta/html/OfficeWordWordMLtoXSL-FO.asp Download the exe and run it. It will create a folder with XSLT's. With Professional edition of Word 2003 you can optionally apply the XSLT's when saving the file, but

Re: War File Not Created During Build

2005-11-29 Thread ian . d . stewart
Is there a target to list valid targets, and a short description of each? A quick perusal of build.xml (and imported build files) didn't turn up anything promising. Thanx, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS

Re: Maintain the state of visited links

2005-11-29 Thread Fadi Qutaishat
Thank you Upayavira for the response, Do you think the encodeURL transformer would help me? Regards, Fadi __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com

Re: Maintain the state of visited links

2005-11-29 Thread Christoph Hermann
Fadi Qutaishat schrieb: Hello, Do you think the encodeURL transformer would help me? I don't think so. What i would do is remember on the serverside if a link was already visited, and if so display the link styled with another class than an unvisited link. You would then generate the links

Re: Maintain the state of visited links

2005-11-29 Thread Fadi Qutaishat
Many thanks Christoph, It seems a nice idea I will try it out. Regards, Fadi __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs - To

PDF output format

2005-11-29 Thread dcausevi
I have set include.block.fop=true (include.block.batik=true is set too) in the local.build.properties, then I rebuilt cocoon but I am still getting an error message No pipeline matched request:samples/blocks/fop/pdf for the PDF output format... What else do I have to do in order to enable PDF

ComponentSelector could not find the component Error

2005-11-29 Thread Aaron Bortman
Hello, I am relatively new with Cocoon and have been going through the book Cocoon Developer's handbook by Lajos Moczar and Jeremy aston. The book goes through an example of a website that a business might use. I am trying to add authentication to this website by adding an xsp page called

Re: ComponentSelector could not find the component Error

2005-11-29 Thread Mark Lundquist
On Nov 29, 2005, at 3:38 PM, Aaron Bortman wrote: When I try to display the page login.html I get a fatal error that looks like the following: message UnnamedSelector: ComponentSelector could not find the component for hint [resources] Hi Aaron, You sort of have a typo. Change this

Re: ComponentSelector could not find the component Error

2005-11-29 Thread Mark Lundquist
(Re-posting to the list...) = On Nov 29, 2005, at 4:48 PM, Aaron Bortman wrote: Thank you very much. That fixed everything. I can't tell you how long I looked at those files and couldn't tell where the problem was. :-) I have another question for you on debugging if

Re: ComponentSelector could not find the component Error

2005-11-29 Thread Bertrand Delacretaz
Le 30 nov. 05, à 00:57, Mark Lundquist a écrit : ...To learn the new stuff, the best sources are (a) the samples, (b) the docs, (c) this list! (including archives), and (d) the Wiki... And (here's my daily plug for this) don't forget the bricks-cms example application, which demonstrates many