Re: Présentation

2005-01-28 Thread Sylvain Wallez
Nicolas Maisonneuve wrote: 1 heure ! ca fait environ 2 minutes pour créer une diapo (schema + explications).. ca c'est du rendement..! Houla non : 1 heure, c'est le temps de la présentation ! Pour la construire, il a évidemment fallu plus de temps. A l'origine, cette présentation a été faite

Eclipse : message d'erreur Save Failed:null

2005-01-28 Thread Cathérine GOURGUET
Bonjour, j'utilise Eclipse pour développer mon back office (cocoon forms), et je crois que j'en atteins les limites. En effet, j'ai un fichier de définition de 4000 lignes, un fichier template de plus de 7000 lignes, et un fichier de binding de 2000 lignes. Ces fichiers sont gros parce que le

présentation

2005-01-28 Thread Francois Jannin
Bonjour à tous ! Je suis dévelopeur contractuel à l'ENSEEIHT sur un projet national, et j'utilise Cocoon pour effectuer le rendu de la consultation d'un CMS. J'utilise ce framework depuis cinq mois, et je n'ai pas encore fait le tour de tous ses aspects. Développeur d'application non-web à

aggregation de cforms?

2005-01-28 Thread benjamin henriet
Bonjour à tous! Je profite de cette mailing list francophone pour vous poser une question qui me bloque depuis deux jours: Mes pages sont formées par l'aggrégation de 3 parties: entete, menu et contenu map:match pattern=* map:act type=auth-protect map:parameter name=handler

Re: Eclipse : message d'erreur Save Failed:null

2005-01-28 Thread Jean-Christophe Kermagoret
Bonjour, ton message d'erreur vient d'Eclipse ou de Cocoon ? Est-ce un pb lié à l'éditeur ou est-ce un pb lié à Cocoon ? Jean-christophe Cathérine GOURGUET a écrit : Bonjour, j'utilise Eclipse pour développer mon back office (cocoon forms), et je crois que j'en atteins les limites. En effet,

RE: Eclipse : message d'erreur Save Failed:null

2005-01-28 Thread Cathérine GOURGUET
c'est un message que j'ai dans Eclipse, mais apparemment c'est parce que mes fichiers étaient trop gros. -Message d'origine- De : Jean-Christophe Kermagoret [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 janvier 2005 15:37 À : users-fr@cocoon.apache.org Objet : Re: Eclipse : message

Re: decimal formatting

2005-01-28 Thread John L. Webber
Hello Gunter, I saw your mail yesterday, but wanted to see if anyone had a better solution than I. AFAIK there's no easy way; we had a similar problem (can't control whether the users enter numbers European-style or North American-style). We wrote our own FormValidatorAction (which we use to

Re: decimal formatting

2005-01-28 Thread Gunter D'Hondt
thanks John; but I'm currently only looking for the display formatting and not the input formatting (this will be for next week :-) ) so I'm assuming that you must be using something in order to get the display formatting correct? Gunter John L. Webber [EMAIL PROTECTED] 28-01-2005

Re: decimal formatting

2005-01-28 Thread Bertrand Delacretaz
Le 27 janv. 05, à 14:24, Gunter D'Hondt a écrit : ...is there a way to set this for the whole Cocoon application? something like setting the locale for the xslt-transformer?.. You can set the Locale globally at the JVM level, by setting the appropriate command-line options when starting the JVM.

Re: decimal formatting

2005-01-28 Thread Gunter D'Hondt
Bertrand, I've tried that but with no luck; it keeps using the en_US formatting instead of nl_BE (or fr_FR); does Cocoon overwrite this in some way? I cannot believe that nobody in Europe haven't encountered that problem with Cocoon yet; in plain Java-code you can easily use

Re: decimal formatting

2005-01-28 Thread Gunter D'Hondt
I've also tried a plain java program and call it like this: java -Duser.language=fr -Duser.country=FR -Duser.variant=FR Main java program: public class Main { public static void main(String[] args) { double d=123.45; System.out.println(d=+d); } } as you say this

[Portal] menus and i18n

2005-01-28 Thread Philippe Guillard
Hi all, Does anybody has a plan for making the portal menus /tabs i18n? I understand they are prepared at beginning of portal creation by the respective renderers tab/linktab etc... As the profile/layout/portal.xml file is prepared once i see 4 solutions: 1- a portal instance for each language

Re: decimal formatting

2005-01-28 Thread John L. Webber
Have you tried using javax.swing.text.NumberFormatter? Gunter D'Hondt wrote: I've also tried a plain java program and call it like this: java -Duser.language=fr -Duser.country=FR -Duser.variant=FR Main java program: public class Main { public static void main(String[] args) {

[ANN] lots.ch, conference about open source in Bern, Switzerland, February 17-19th

2005-01-28 Thread Bertrand Delacretaz
Hi Cocooners, Please excuse the noise, but I think this conference could be of interest to you guys, and it's cheap! (disclaimer: I'm on the organizing team). Among what might be of particular interest to the Cocoon community: we're going to have Stefano Mazzocchi for Friday's keynote (with a

Re: decimal formatting

2005-01-28 Thread Bertrand Delacretaz
Le 28 janv. 05, à 10:20, Gunter D'Hondt a écrit : Bertrand, I've tried that but with no luck; it keeps using the en_US formatting instead of nl_BE (or fr_FR); does Cocoon overwrite this in some way?... I don't think so, but what might happen is that your JVM doesn't have the nl_BE Locale

Re: decimal formatting

2005-01-28 Thread Bertrand Delacretaz
Le 28 janv. 05, à 10:33, Gunter D'Hondt a écrit : ...as you say this would output d=123,45 but it always outputs d=123.45.. I don't know enough about Locale to tell if if 123,45 is indeed the expected output, but this could indicate that the specified Locale is not available in your JVM.

Re: [SOLVED] transformation from XML to excel only works with one element set

2005-01-28 Thread Philipp Rech
Hello, thank you Jan it works! Here is my new stylesheet maybe it is usefull for someone... bye now! philipp - ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

Re: decimal formatting

2005-01-28 Thread Vilya Harvey
Gunter D'Hondt wrote: and what with the woody field convertors? for example i've got the following widget declaration: wd:output id=price wd:label/ wd:datatype base=decimal wd:convertor variant=number wd:patterns wd:pattern#0.00/wd:pattern /wd:patterns

RE: decimal formatting

2005-01-28 Thread Conal Tuohy
Gunter D'Hondt wrote: I've also tried a plain java program and call it like this: java -Duser.language=fr -Duser.country=FR -Duser.variant=FR Main java program: public class Main { public static void main(String[] args) { double d=123.45;

Re: decimal formatting

2005-01-28 Thread Bertrand Delacretaz
Le 28 janv. 05, à 10:51, Bertrand Delacretaz a écrit : Le 28 janv. 05, à 10:33, Gunter D'Hondt a écrit : ...as you say this would output d=123,45 but it always outputs d=123.45.. I don't know enough about Locale to tell if if 123,45 is indeed the expected output, but this could indicate that the

creating a source protocol

2005-01-28 Thread Lionel Crine
Hi, I'd like to create a source component in the cocoon. Is there any technical documentation to do that ? Wiki does not seems to have it. 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 :

[SOLVED] Re: decimal formatting

2005-01-28 Thread Gunter D'Hondt
Indeed, with nl_BE it didn't work but it does with fr_FR !!! now the Woody part is solved (it uses the fr_FR) and for the xsl I used the following: xsl:decimal-format name=belgian decimal-separator=, grouping-separator=. / xsl:value-of select=format-number($price, '#.###,00', 'belgian')/

NullPointerException in server pages generation (pb with bufferin g?)

2005-01-28 Thread SOBKOWSKI Andrej
Hello All, I'm getting a strange NullPointerException (log reported below). I'm in a pretty standard configuration that works in other cases: - XSP pages generating XML data via ESQL tags - XSLT transformation generating Excel-Gnumeric-compatible XML to be passed on to the HSSF

[Portal] coplet transformer links

2005-01-28 Thread David Duhme
Hello, I'm trying to build links in a coplets which reload the content of a coplet depending an different coplet attributes. My first approach is the following: cl:links cl:link coplet=$copletid path=attributes/query

Re: [Portal] menus and i18n

2005-01-28 Thread David Duhme
Hi Philippe, I also have the requirement for my portal prototype to do i18n. 3- do an i18n transformation on the main portal pipeline after the portal-page.xsl XSL transformation (I'm worried it would slow down performance to parse all portal pages again) Thats what I've implemented at

Re: creating a source protocol

2005-01-28 Thread Bertrand Delacretaz
Le 28 janv. 05, à 11:47, Lionel Crine a écrit : ...I'd like to create a source component in the cocoon. Is there any technical documentation to do that ? Dunno about docs but CVSSource might be a good example as it's fairly independent on the rest of Cocoon, and it's writable, traversable, etc.

Big Problems with the SQL-Transformator

2005-01-28 Thread Frank Rennekamp
Hi, I'm using Cocoon 2.1.6 on a debian system and discovered serious problems with the SQL-Transformer. The documentation to the SQL-Transformer mentioned, that I can have a sequence of queries I want to execute. But when I try something like: test.xml ?xml version=1.0

Re: Big Problems with the SQL-Transformator

2005-01-28 Thread Ben Anderson
I think you just need to add end the sql:execute-query tag and restart it again... ?xml version=1.0 encoding=ISO-8859-1? result xmlns:sql=http://apache.org/cocoon/SQL/2.0; sql:execute-query sql:query name=personSELECT lastname FROM person WHERE id=123/sql:query /sql:execute-query

Re: Big Problems with the SQL-Transformator

2005-01-28 Thread Frank Rennekamp
Hi Ben, well, yeah, it's working. Don't know what I made wrong before, because I tried this, too. Mea culpa. But actually this was only the simple form of the real problem, my SQL-Statement looks like: ?xml version=1.0 encoding=ISO-8859-1? result sql:execute-query

Cocoon Portal Engine Tools

2005-01-28 Thread Jens Maukisch
Hi, As you all know, the new portal engine, while powerful in functionality has been somewhat :-) lacking in tool support. So, because we know this is an itch many people would like scratched, we've developed a basic tool-framework for the cocoon portal-engine. The idea behind the framework is

Re: [Portal] coplet transformer links

2005-01-28 Thread Jean-Christophe Kermagoret
Hi David, Are you using CachingURICoplet or URICoplet ? David Duhme a écrit : Hello, I'm trying to build links in a coplets which reload the content of a coplet depending an different coplet attributes. My first approach is the following: cl:links cl:link coplet=$copletid

Executing a database call for several different matches

2005-01-28 Thread David Swearingen
I'm building a little logging system that will create a record in a database anytime one of about 20 different pages on my site is hit. So there are now say 20 different map:matches for these pages. I don't want to insert some kind of database call (ESQL, Action, other) in each map:match pattern

Re: [Cocoon-Users] Executing a database call for several different matches

2005-01-28 Thread Irv Salisbury III
I don't know as I would do a redirect with all of them. There are a number of different ways I could potentially attack this. First, you could call a common starting internal pipeline: map:match pattern=internal-logging/** database stuff in here /map:match map:match pattern=somepage

Cocoon crashes App Server

2005-01-28 Thread Norman Barker
Hi, I am using Cocoon on JBoss 3.2.6 (included Tomcat), works really nicely, and we are using it as an XML-RPC engine effectively. In that we receive posted XML requests and return an XML response these requests/responses are zipped. However when we receive a request that causes a large XML

Re: Cocoon crashes App Server

2005-01-28 Thread Ralph Goers
Norman Barker wrote: Hi, I am using Cocoon on JBoss 3.2.6 (included Tomcat), works really nicely, and we are using it as an XML-RPC engine effectively. In that we receive posted XML requests and return an XML response these requests/responses are zipped. However when we receive a request that

Re: [Portal] coplet transformer links

2005-01-28 Thread David Duhme
Are you using CachingURICoplet or URICoplet ? I'm using the CachingURICoplet David. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Portal] Select a Coplet inside a CompositeLayout ?

2005-01-28 Thread Jens Maukisch
Hi Frank, How can i select a Copletinstance inside an complex structure of CompositeLayout's without knowledge of the exact structure (how deep nested,how many ...) and so on. I only know the name of the coplet instance. Is this possible? What about simply traversing the layout-tree? We

Re: AW: Framework for Web application with multi-profile clients

2005-01-28 Thread Gregor J. Rothfuss
Elad Messing wrote: Thanks for the answer. However - can anybody elaborate a bit ? What tools does cocoon give me in order to answer the difference in the profile of my clients ? http://cocoon.apache.org/2.1/userdocs/selectors/browser-selector.html

Re: Cocoon JDK 1.5 support

2005-01-28 Thread Justin Fagnani
I'm not sure about Windows, but I got Cocoon compiling on Linux with JDK 1.5. I had to replace some of the Ant libs with newer versions and recompile the ant tasks, but ti wasn't that big of a deal. -Justin On Friday 28 January 2005 01:45, Kristian Mandrup wrote: Does anyone know when Cocoon

RE: Cocoon JDK 1.5 support

2005-01-28 Thread Ryan Agler
Visit this link and apply the patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=33189 -Original Message- From: Justin Fagnani [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 4:15 PM To: users@cocoon.apache.org Subject: Re: Cocoon JDK 1.5 support I'm not sure

converting text in an element to attributes.

2005-01-28 Thread Chris
Anybody know a transformer or something to take attributes out of the text() of an element and get them into real attributes. I want to trap this one element called input and parse it's text and create real attributes, but then copy the rest of the document as it. From this: element1

RE: [Cocoon-Users] Executing a database call for several different matches

2005-01-28 Thread David Swearingen
Thanks Irv. With respect to your first solution, I'm not sure I understand how I can still conduct my logic if the generator spot gets taken by the database call. I need to think about that some more. All my patterns start with a page template in the generator. As for the second solution, it