Re: Jx Macros/ Taglib

2005-12-13 Thread John S.Washington
On 12/9/05, John S.Washington [EMAIL PROTECTED] wrote: Bon j'ai maintenant une question purement sur les jx-macros et JSTL Je voulais dire JXPath ou Jexl ;-) Si j'ai un document XML du genre : Doc A myTag/ /A B myTag/ /B /Doc Avec ma macro : jx:macro name=myTag ...

Re: indexer avec cocoon

2005-12-13 Thread Francois Jannin
Bonjour, thomas desvenain wrote: bonjour, ceci est certainement une question de débutant... je ne parviens pas à indexer mes documents avec lucene sous cocoon. j'ai cherché dans la doc, les samples et les xmaps... j'avoue ne pas comprendre précisément comment cela fonctionne, et notamment

Re: indexer avec cocoon

2005-12-13 Thread thomas desvenain
c'est très clair ! :) bravo ! Le 13/12/05, Francois Jannin[EMAIL PROTECTED] a écrit : Bonjour, thomas desvenain wrote: bonjour, ceci est certainement une question de débutant... je ne parviens pas à indexer mes documents avec lucene sous cocoon. j'ai cherché dans la doc, les samples

Basique question de session et url rewrite

2005-12-13 Thread philguillard
Bonjour, J'utilise des prefixes (foo1.domain.com, foo2.doamin.com ...) mais il s'agit de la meme appli cocoon dans le meme container/context. Il ne s'agit donc pas de virtual hosting. J'tilise seulement le mod_rewrite de httpd pour passer le prefixe a droite, je voudarais donc y voir la meme

RE: encodage utf8

2005-12-13 Thread Philippe LAPLANCHE
Bonjour Aurélien, Je suis un peu dépassé ... Qu'est ce que tu entends par 3) Lancement du container avec LANG=fr_FR.UTF-8 ? Pour le 1) j'ai supposé qu'il s'agissait du paramètre form-encoding de WEB-INF/web.xml. C'est bien ça ? Pour le 2) j'ai changé la déclaration du serializer html dans mon

Re: Question sitemap mount / httpd.conf

2005-12-13 Thread Sylvain Wallez
Jean-Baptiste Quenot wrote: map:match pattern=help/** map:mount check-reload=yes src=help/ uri-prefix=help/ /map:match Juste une petite remarque au passage: check-reload est vrai par défaut, et il est donc inutile de le spécifier. Ca améliore la lisibilité économise de la fatigue pour

RE: encodage utf8

2005-12-13 Thread Philippe LAPLANCHE
Je n'arrive pas à empêcher le serializer html de transformer mes é en acute; Le serializer xml, lui, retourne des é codés en utf-8 (\C3\A9) Dans le header du résultat de mes requêtes, j'ai bien charset=utf-8 dans le content-type. Qu'est ce qu'il faut que je fasse en plus ? J'ai mis

Re: Basique question de session et url rewrite

2005-12-13 Thread philguillard
En fait ma question se resume a comment controler le hostname du cookie de session. Je ne vois aucune solution du cote tomcat ou httpd. Phil philguillard wrote: Bonjour, J'utilise des prefixes (foo1.domain.com, foo2.doamin.com ...) mais il s'agit de la meme appli cocoon dans le meme

RE: Using the directory generator

2005-12-13 Thread Ard Schrijvers
On 12.12.2005 17:22, [EMAIL PROTECTED] wrote: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:sql=http://apache.org/cocoon/SQL/2.0; xmlns:dir=http://apache.org/cocoon/directory/2.0.; Don't know if it is only a typo in the mail, but the

Re: Re: xspAttr cannot be resolved in Cocoon 2.1.8

2005-12-13 Thread Nouguier Olivier
Hi all, Patch in CVS/SVN, found on cocoon-dev list: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=113273736320287w=2 HIH On Wed, 2005-12-07 at 19:35 +0100, Markus Vaterlaus wrote: Hello there I get the same error:

Re: CForms - different views of the same widget

2005-12-13 Thread Derek Hohls
Cocoon Version 2.1.5 (but I could upgrade to 2.1.8 as this is for a new project). [EMAIL PROTECTED] 2005/11/11 11:55 PM Derek Hohls wrote: Christoph If you look back at this thread, the idea is to have this in the form definition file i.e. fd:on-value-changed

Textarea field problem with cforms/flow

2005-12-13 Thread Derek Hohls
I have data from a database that I display in a CForm and allow a user to update. The text is displayed in the textarea of a form; when there is a long string, the text simply wraps and all is fine. However, each time a CR is entered from the keyboard then, after the data gets saved to the

Re: Cocoon Bricks - Where do library files go?

2005-12-13 Thread David Legg
Bertrand Delacretaz wrote: ...Also what if the release of Cocoon I'm using has an old version of a jar file and my project absolutely requires the latest version. Should anything I put into the project lib directory override the Cocoon release version?... As is, it doesn't, I think

Re: Running a shell script from Cocoon

2005-12-13 Thread Peter Flynn
On Mon, 2005-12-12 at 11:37, Jorg Heymans wrote: Peter Flynn wrote: On Sun, 2005-12-11 at 11:03, Jorg Heymans wrote: i'm sure you could use Runtime.exec() just about anyware you like to call your shellscript. If you need the output of the shell script then i'ld put this call in a

How to configure the location of external services in the sitemap

2005-12-13 Thread Fred Vos
Hello, At work we are working on a Cocoon application that uses http requests in generators. The base URLs in these requests differ for each instance of our application. We don't want people to edit the sitemap to change URLs of these external services, everytime the sitemap changes. During

Re: Increasing Cocoon Portal speed at stat-up

2005-12-13 Thread Angelo Immediata
Hi. My site is a two user site; anonymous or logged user can't i create a cachedLayout for both of them (for example for the user with userName anonymous and password anonymous and another with username root password root) so that i can load only one time the layout and use always them

RE: Textarea field problem with cforms/flow

2005-12-13 Thread Ard Schrijvers
Experienced the same stupid behavior of textarea in combination with CFORMS. Quick and dirty solution: textarea id=interesses xsl:copy-of select=translate(xpath2yourfield-text, '#13;', '')/ /textarea If you don't want to spend much time on it, this solution works, if you do want to

Re: Cocoon shutdown listener?

2005-12-13 Thread Nouguier Olivier
Should look at jakarta-tomcat component for LifeCycleListener. As my connection towards http://tomcat.apache.org is temporaly down I cannot be more précis | sharp ;} On Wed, 2005-12-07 at 10:20 +, Antony Grinyer wrote: Hi, Is there anything in cocoon that can be used to invoke a Java

RE: Textarea field problem with cforms/flow

2005-12-13 Thread Derek Hohls
AS Thanks for this... but I am not sure what to do with it? Do you suggest I have an extra XSLT post-processing the form? If so, how and where would I configure it? If not, what else should I be doing? Thanks! Derek [EMAIL PROTECTED] 2005/12/13 03:12 PM Experienced the same stupid behavior

Re: War File Not Created During Build

2005-12-13 Thread ian . d . stewart
I knew it had to be something simple like that! Thanx Joerg 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 Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078

CForm/Js Problem with 2.1.8

2005-12-13 Thread Merico Raffaele
Dear community I have installed cocoon-2.1.8 under tomcat-5.5.9 and I got the following error: java.lang.IllegalArgumentException: Unknown type of result: class javax.xml.transform.dom.DOMResult Cocoon stacktrace[hide] Error calling flowscript function showForm

Re: Multiple forms per page

2005-12-13 Thread ian . d . stewart
Sounds like you're running into a variance between the IE and Firefox object models. For best performance, I would recommend restricting your javascript to the DOM standard. You can find the object model for MSIE here:

Re: Increasing Cocoon Portal speed at stat-up

2005-12-13 Thread Angelo Immediata
Hi. My site is a two user site; anonymous or logged user can't i create a cachedLayout for both of them (for example for the user with userName anonymous and password anonymous and another with username root password root) so that i can load only one time the layout and use always them

Search with Lucene

2005-12-13 Thread Dan Nicolici
This is my first encounter with Lucene. I am trying to integrate it with Cocoon. From what I read so far I prefer the approach with LuceneIndexTransformer. Here is where I need some assistance. >From what I understand, the transformer creates the index from .xml files with proper Lucene

Re: Cocoon Bricks - Where do library files go?

2005-12-13 Thread Bertrand Delacretaz
Le 13 déc. 05, à 12:24, David Legg a écrit : ...I also found myself enabling some Cocoon blocks I didn't actually need just so the core library I did want was in the classpath (Lucene for example)... I wouldn't do that - just grab the original jar and copy to your lib subdir, it will make

Re: server startup

2005-12-13 Thread Nouguier Olivier
Hi all, Even if you coding java stuff. Eclipse IDE support hot class reloading. You just have to run tomcat/cocoon inside eclipse, and it's done. The only limitation is linked to hot class reloading, classes will be hot reloaded *ONLY* if theirs interfaces remains unchanged. Hot class reloading

Re: Multiple forms per page

2005-12-13 Thread werner
I don't think this is a browser problem. Does your form template contain the state widget? fi:state ft:widget id=tab-state / /fi:state I don't know it the state-widget is really obligatory, but there is at least a _javascript_ error if it does not exist. Werner Am Dienstag, den

Re: CForm/Js Problem with 2.1.8

2005-12-13 Thread Antonio Gallardo
Make sure you are using the right xml-apis.jar. Best Regards, Antonio Gallardo. Merico Raffaele wrote: Dear community I have installed cocoon-2.1.8 under tomcat-5.5.9 and I got the following error: java.lang.IllegalArgumentException: Unknown type of result: class

Re: server startup

2005-12-13 Thread Mark Lundquist
On Dec 13, 2005, at 4:18 AM, Nouguier Olivier wrote: Even if you coding java stuff. Eclipse IDE support hot class reloading. You just have to run tomcat/cocoon inside eclipse, and it's done. Does this work with remote debugging in Eclipse, or do you actually have to have Eclipse start the

Re: How to configure the location of external services in the sitemap

2005-12-13 Thread Ross Gardler
Fred Vos wrote: At work we are working on a Cocoon application that uses http requests in generators. The base URLs in these requests differ for each instance of our application. We don't want people to edit the sitemap to change URLs of these external services, everytime the sitemap changes.

Re: server startup

2005-12-13 Thread Adam Constabaris
Mark Lundquist wrote: On Dec 13, 2005, at 4:18 AM, Nouguier Olivier wrote: Even if you coding java stuff. Eclipse IDE support hot class reloading. You just have to run tomcat/cocoon inside eclipse, and it's done. Does this work with remote debugging in Eclipse, or do you actually have to

Re: server startup

2005-12-13 Thread Mark Lundquist
On Dec 13, 2005, at 11:07 AM, Adam Constabaris wrote: In general, it works with Tomcat if you start it with JPDA enabled (on unix : $TOMCAT_HOME/bin/startup.sh jpda start) and connect a remote session from Eclipse. Thanks... this should work with Jetty as well then, right? —ml—

RE: Textarea field problem with cforms/flow

2005-12-13 Thread Ard Schrijvers
No, What you are describing, is that you have a textarea in which you edit some text and save it in a database. The next time you edit the same textarea field, it already contains the text you saved before. When you save again, it doubles your enters, right? This is solved, by making sure,

Re: Textarea field problem with cforms/flow

2005-12-13 Thread Freek Segers
Hi, I've noticed this behaviour in one of my stylesheets when I was trying to output elements on separate lines. I added #13; and #10; to the output and saw that the #10; was translated as a newline but the #13; appeared literally in the resulting output. When a browser submits form data

Re: server startup

2005-12-13 Thread Freek Segers
Yes, it does work in Jetty. However, I noticed that when you replace a JAR file, things don't always reload correctly. Although the change is noticed, some files in it appear corrupted until you restart Jetty. I specifically have this problem with XSL files that are stored in an JAR.

Question about serializers

2005-12-13 Thread Fawzib Rojas
I asked a few days ago about creating a PDF on a background thread (Subject:Create PDF on background) but didn't got an answer I could use. Our users requests the PDF and it cannot be batched. Sometimes it takes a few minutes to be created. What I want to do is something like this: map:match

RE: Question about serializers

2005-12-13 Thread Ard Schrijvers
Hello Fawzib, what you are suggesting/trying seems quite impossible to me? But, I am just wondering, why would take it so long for the pdf's to be generated? I suppose you are generating a pdf from several xml docs and serialize it to pdf? Well, do the xml docs change every minute? Why can't

How to do multi-row updates in cocoon?

2005-12-13 Thread Daniel Hertz
Hi all! Given a set of checkbox values that are submitted through an html form, what's the best way to loop through the submitted values to update more than one row in a table? Imagine a table called 'message_table': mid | message | status +-+--- 1 | Text1 | H 2 |

Re: Question about serializers

2005-12-13 Thread Jason Johnston
Fawzib Rojas wrote: I asked a few days ago about creating a PDF on a background thread (Subject:Create PDF on background) but didn't got an answer I could use. Our users requests the PDF and it cannot be batched. Sometimes it takes a few minutes to be created. What I want to do is something

Processing of repeater row values in flowscript

2005-12-13 Thread Derek Hohls
I need to be able to do some pre- and post- processing of values that will be contained in repeater rows in a CForm. The form defn will look something like: fd:widgets fd:field id=title required=true fd:labelTitle/fd:label fd:datatype base=string/ /fd:field fd:repeater