Re: dictionnaire de données centralisé : interface de saisie

2005-01-27 Thread Sylvain Wallez
Arnaud Blancher wrote: Sylvain Wallez wrote: Lucas Arnaud wrote: Je vais essayer d'être plus clair : Pour gérer un satellite, on a plusieurs centres de traitement : - un qui est chargé de piloter le satellite - un ou plusieurs chargés de programmer les instruments à bord - un ou

Re: plier/déplier dans les cocoon forms

2005-01-27 Thread Raphaël Franchet
Bonjour, j'ai eu à réaliser ce genre de plier/déplier lors d'un projet cocoon forms. Je crois qu'il n'y a pas de solution simple. La solution choisie a consisté a rajouter un élément de formulaire de type booléen à chaque noeud désiré. Ce booléen signifie 'ouvert' ou 'fermé' pour le noeud.

Re: cocoon forms et base de données

2005-01-27 Thread Bertrand Delacretaz
Le 27 janv. 05, à 15:47, Cathérine GOURGUET a écrit : Une autre question (décidément aujourd'hui, ça n'arrête pas !) : comment fait-on pour remplir un repeater à partir des données de la base : on met le code dans le binding ? et quel code ? quelqu'un aurait un exemple ? Il y a un petit exemple

Re: plier/déplier dans les cocoon forms

2005-01-27 Thread Sylvain Wallez
Raphaël Franchet wrote: Les deux idées ne sont pas incompatibles. Pour mettre un état Invisible, je pense qu'il faudra insérer un élément de formulaire supplémentaire, car le repeater ne possède pas l'information 'visible/invisible'. Si :-) A partir de la verion 2.1.6, tous les widgets CForms

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread Ugo Cei
Il giorno 26/gen/05, alle 22:44, JD Daniels ha scritto: so I guess my next question would be : would you just forget having a hibernate factory as a cocoon component? ie, just have yet another class like package.hibernateFactoryImpl? see I'm thinking it is too much overhead to be registering

Re: [Poll] Portal deployment / Cocoon portal usage

2005-01-27 Thread David Duhme
1. Are you currently using the Cocoon Portal Framework? A) Yes we are using it. The following questions only if you are using the Cocoon Portal framework 3. Why did you choose the Cocoon portal framework? B) A strategic decision was made to use Open Source C) Becaus of the

[Portal] change content of a CachingURICoplet

2005-01-27 Thread David Duhme
Hello Cocooners, after several months of practicing cocoon it still takes me hours and days to get some tricky things working. Hope I'm not the only one making this experience ;) Let me explain what I'm trying to do and perhaps someone can help me with that. I've written a custom generator

bit of brotherly help...

2005-01-27 Thread beyaRecords
Hi, I was just wondering if there are any cocoon heads out there who have access to an I.E browser on an windows platform that can tell me whether my site is visible when accessed from the browser? http://www.beyarecords.com If you view source in the browser, you will see that I have placed an

RE: bit of brotherly help...

2005-01-27 Thread Conal Tuohy
Uzo: I was just wondering if there are any cocoon heads out there who have access to an I.E browser on an windows platform that can tell me whether my site is visible when accessed from the browser? http://www.beyarecords.com It does appear. So that means it the cinclude namespace is

Include pipeline content in another servlet

2005-01-27 Thread Olivier Billard
Hi cocooners, For some design constrainst, I would like from another servlet, to tell Cocoon to output files. A wrapper has been made around the CocoonServlet to redirect servlet outputstream to a file. That's the existing part. Then in a servlet I would like to tell Cocoon to output a file here

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: Hi, I was just wondering if there are any cocoon heads out there who have access to an I.E browser on an windows platform that can tell me whether my site is visible when accessed from the browser? http://www.beyarecords.com Yes, I can see your site properly on my winxp with

Re: [Portal] change content of a CachingURICoplet

2005-01-27 Thread Jean-Christophe Kermagoret
Hi David, As you have realized, the portal doesn't use request parameters, but events and actions. When you request a portal page, this page calls each portlet that described it. Each portlet has its own set of parameters you can use in your pipeline. For example, you may have a portlet, with

Re: Include pipeline content in another servlet

2005-01-27 Thread Leszek Gawron
Olivier Billard wrote: Hi cocooners, For some design constrainst, I would like from another servlet, to tell Cocoon to output files. A wrapper has been made around the CocoonServlet to redirect servlet outputstream to a file. That's the existing part. Then in a servlet I would like to tell

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer { public void endPrefixMapping(String prefix) throws SAXException { // do nothing } public void startPrefixMapping(String prefix, String uri)

Re: bit of brotherly help...

2005-01-27 Thread Leszek Gawron
beyaRecords wrote: On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer { public void endPrefixMapping(String prefix) throws SAXException { // do nothing } public void startPrefixMapping(String

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 11:25, Leszek Gawron wrote: map:serializer logger=sitemap.serializer.myxml mime-type=text/xml name=myxml src=org.apache.cocoon.serialization.MyExtendedXMLSerializer/ and then: map:serialize type=myxml/ Leszek, got it! Thanks very much for that heads up. regards Uzo

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

2005-01-27 Thread Philipp Rech
jxtg? okay, but i need microsoft excel as and ouput format and i do't see how JXTG could help me here... i would need one excel-row for each row element... i was thinking that i miss a xsl:for-each ... instruction but i dunno where/how to apply this... (the transformation works fine to WML

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
FYI: I use this declaration for my xhtml serialization: map:serializer logger=sitemap.serializer.xhtml mime-type=text/html; charset=utf-8 name=xhtml pool-grow=2 pool-max=64 pool-min=10 src=org.mycompany.cocoon.serialization.XMLSerializer doctype-public-//W3C//DTD XHTML 1.0

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer { public void endPrefixMapping(String prefix) throws SAXException { // do nothing } public void startPrefixMapping(String prefix, String uri)

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

2005-01-27 Thread Jan Hoskens
You might want to try this: gmr:Cells xsl:apply-templates select=page/content/rowset/row xsl:with-param name=rowposition select=position()/ /xsl:apply-templates /gmr:Cells and then use xsl:param name=rowposition/ where you need to set Row= instead of re-counting

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
Ok, I'll make it easy for you, just copy this: package org.yourcompany.cocoon.serialization; import org.xml.sax.SAXException; /** * A simple serializer, extending XMLSerializer to avoid getting namespaces in * output. (Thus only overriding prefixmapping methods to do nothing.) * * This is most

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 12:23, Jan Hoskens wrote: Ok, I'll make it easy for you Jan, done and works a treat. many thanks. Uzo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Include pipeline content in another servlet

2005-01-27 Thread Olivier Billard
Thanks for your answer Leszek, Unfortunately, the Cocoon pipes are working with informations stored in session or request attributes... How do you handle these ? It would be too much work to change this to use only request params... -- Olivier Leszek Gawron wrote: Olivier Billard wrote: Hi

decimal formatting

2005-01-27 Thread Gunter D'Hondt
Hi, Currenlty I've got a Cocoon pipeline that generates HTML output by using a XSLT transformer where I'm using the following: xsl:value-of select=format-number(round(field), '##,##0.00')/ this all works fine and displays for example 12,345.99 but how can I setup this that it uses my country

Re: [Portal] change content of a CachingURICoplet

2005-01-27 Thread David Duhme
Hi Jean-Christophe, first of all thanks for your reply. I think I haven't yet understood completly how to deal with coplet parameters. So with your hints I will try some new approaches. But I got another question. In which context do I use elements with the syntax cl:links

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 12:26, beyaRecords wrote: done and works a treat. many thanks. Ok, I have implemented the following: map:serializer logger=sitemap.serializer.xhtml mime-type=text/html name=myxml pool-grow=2 pool-max=64 pool-min=10 src=test.myXMLSerializer> doctype-public>-//W3C//DTD XHTML

undefined exception object in flow script try {} catch {} block

2005-01-27 Thread Ellis Pritchard
Hi, Using Cocoon 2.1.6, I don't seem to be getting the exception object passed through when catching an exception in flowscript; I've reduced it to the most simple case: function login() { try { throw bang; } catch (x) { cocoon.logger.debug(x); } } I get the error message

Re: Include pipeline content in another servlet

2005-01-27 Thread Leszek Gawron
Olivier Billard wrote: Thanks for your answer Leszek, Unfortunately, the Cocoon pipes are working with informations stored in session or request attributes... How do you handle these ? It would be too much work to change this to use only request params... have a look at:

Re: [Portal] change content of a CachingURICoplet

2005-01-27 Thread Jean-Christophe Kermagoret
Hi David, Just declare the following namespace : xmlns:cl="http://apache.org/cocoon/portal/coplet/1.0" The cl:* will be transformed in events by the coplet transformer in the portal David Duhme a crit: Hi Jean-Christophe, first of all thanks for your reply. I think I

Re: undefined exception object in flow script try {} catch {} block

2005-01-27 Thread Leszek Gawron
Ellis Pritchard wrote: Hi, Using Cocoon 2.1.6, I don't seem to be getting the exception object passed through when catching an exception in flowscript; I've reduced it to the most simple case: function login() { try { throw bang; } catch (x) { cocoon.logger.debug(x); } }

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
At first sight, everything should be fine. A few things you can check: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the

Re: [Portal] change content of a CachingURICoplet

2005-01-27 Thread Frank Taffelt
do you know how to influence the generated a tags from this syntax. I want to include some css information like: a href="" class="mycss"linktext/a Thanks, Frank - Original Message - From: Jean-Christophe Kermagoret To: users@cocoon.apache.org Sent: Thursday, January

Re: undefined exception object in flow script try {} catch {} block

2005-01-27 Thread Ellis Pritchard
Ok! Great first post; it was the logger causing the problem; it should have been: cocoon.log.debug(x) !! Ellis. Ellis Pritchard wrote: Hi, Using Cocoon 2.1.6, I don't seem to be getting the exception object passed through when catching an exception in flowscript; I've reduced it to the most

Re: [Portal] change content of a CachingURICoplet

2005-01-27 Thread Jean-Christophe Kermagoret
Hi, Unfortunately, I don't know. I asked the same question a few days ago. You can use the following workaround. You put your link in a css div... HTH Frank Taffelt a crit: do you know how to influence the generated a tags from this syntax. I want to include some css

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 14:13, Jan Hoskens wrote: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the correct one. Check your logs

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: On 27 Jan 2005, at 14:13, Jan Hoskens wrote: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the correct

javaflow on weblogic 8.1sp2

2005-01-27 Thread WHIRLYCOTT
I'm trying to get javaflow from Cocoon 2.1.5.1 working Weblogic 8.1sp2 with the application deployed as a .war file (i.e. not exploded) without much luck. I tweaked the ParanoidCocoonServlet so that it is loading jars out of /WEB-INF/lib/ (easy to do, but you need to use the Servlet 2.3 jar,

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread Ralph Goers
WHIRLYCOTT wrote: I'm trying to get javaflow from Cocoon 2.1.5.1 working Weblogic 8.1sp2 with the application deployed as a .war file (i.e. not exploded) without much luck. I tweaked the ParanoidCocoonServlet so that it is loading jars out of /WEB-INF/lib/ (easy to do, but you need to use the

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 15:25, Jan Hoskens wrote: What about a simple test with a page containing nothing but a few xmlns namespaces, running it through the html serializer once, check if there are xmlns (there should be) and then replace that serialzer by your customserializer and check again(there

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread WHIRLYCOTT
Right, I'm trying to use Javaflow (i.e. not javascript). Did you have to make any WL specific configuration changes in the console or in weblogic.xml? I assume you are using the ParanoidCocoonServlet? Is your .war exploded? phil. Ralph Goers wrote: WHIRLYCOTT wrote: I'm trying to get

Framework for Web application with multi-profile clients

2005-01-27 Thread Elad Messing
Title: Framework for Web application with multi-profile clients Hello All I am new here with cocoon. I came here after I got some advices that this is the place where I can find some answers. I am looking for a web-framework that can help me with my requirement of supporting different

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread Ralph Goers
WHIRLYCOTT wrote: Right, I'm trying to use Javaflow (i.e. not javascript). Did you have to make any WL specific configuration changes in the console or in weblogic.xml? I assume you are using the ParanoidCocoonServlet? Is your .war exploded? phil. I'll have to check with the guy who did the

Re: Framework for Web application with multi-profile clients

2005-01-27 Thread Roberto
Title: Framework for Web application with multi-profile clients Hi, definitely you are in the right place with the right product. Cocoon is the right solution for your requirement. Welcome a board Cheers Roberto - Original Message - From: Elad Messing To:

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: On 27 Jan 2005, at 15:25, Jan Hoskens wrote: What about a simple test with a page containing nothing but a few xmlns namespaces, running it through the html serializer once, check if there are xmlns (there should be) and then replace that serialzer by your customserializer

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread JD Daniels
Wait a minute ok I think I see now... project/java persistenceFactory.java - interface to cocoon's persistenceFactory, methods createSession HibernateFactory.java - implements persistenceFactory, methods configure, service, initialize, dispose, createSession Ok so far so good, when cocoon

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread WHIRLYCOTT
As a preface, the Cocoon-users list is probably not the best place to get Hibernate assistance, but here goes JD Daniels wrote: Wait a minute ok I think I see now... project/java persistenceFactory.java - interface to cocoon's persistenceFactory, methods createSession HibernateFactory.java

Re: how to get value of browserselector in sitemap

2005-01-27 Thread Mark Lundquist
On Jan 26, 2005, at 5:59 AM, Stefan Pietschmann wrote: Hi, I know how the BrowserSelector works, but I want to use its value as a parameter for one of my actions. Suggestion: instead of BrowserSelector, use a HeaderMatcher to get the value of the User-Agent header. ml

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread JD Daniels
No, I'm not really writing another bug tracker. I have it so clients can login and peek at the timesheets for what we have done including stuff like printers, adsl etc etc. It is just a simple object so they can add feature requests or fixes for whatever they need. They all hate having to

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread Ugo Cei
Il giorno 27/gen/05, alle 15:16, JD Daniels ha scritto: right? Or would it be better to have one class such as BugFacade with all methods dealing with bugs? (save, find, delete etc) Yes, that is usually preferrable. A class that deals with retrieving and storing domain objects to a persitent

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread JD Daniels
Ugo Cei wrote: Il giorno 27/gen/05, alle 15:16, JD Daniels ha scritto: right? Or would it be better to have one class such as BugFacade with all methods dealing with bugs? (save, find, delete etc) Yes, that is usually preferrable. A class that deals with retrieving and storing domain objects

RE: Cocoon on Weblogic 8 / Cocoon Forms standalone

2005-01-27 Thread Lopke, Michael
Title: Message Hi Mark, For the first question, modify your sitemap.xmap The default is probably something like this: !-- main pipeline -- map:pipeline !-- welcome page -- map:match pattern="" Change it to this: !-- main pipeline -- map:pipeline !-- welcome page --

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread JD Daniels
Heh heh what I want anyway.. still need to find a way to actually *do* it :S WHIRLYCOTT wrote: I think you've basically got the hang of this now. phil. JD Daniels wrote: Ugo Cei wrote: Il giorno 27/gen/05, alle 15:16, JD Daniels ha scritto: right? Or would it be better to have one class such as

Re: sendmail - Problems with cocoon protocol

2005-01-27 Thread Thorsten Scherler
Thorsten Scherler escribió: Hello list, I am having proplems with the cocoon:/ protocol in the email:attachment tag. email:attachment name=production.xml mime-type=text/xml url=cocoon:/test.xml / That is wrong! I need to use @src for cocoon:/... -- thorsten Together we stand, divided we fall

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread Ugo Cei
Il giorno 27/gen/05, alle 17:09, JD Daniels ha scritto: What's changed WRT to the previous version? I can't see the difference. var bugSearch = new Packages.com.kismetsoftware.insecticide.BugSearch(); var bean = bugSearch.findBugById(id); Ah OK. I'll tell you a story :-) When we started using

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread WHIRLYCOTT
+1 on that, Ugo. JD, there's a decent O'Reilly book called Better, Faster, Lighter Java or something like that. It covers a lot of the ideas that we have been telling you about. It doesn't cover any Cocoon stuff, but the part you are working on shouldn't care about that at all. You might

RE: bit of brotherly help...

2005-01-27 Thread Conal Tuohy
Uzo wrote: firstly i am running cocoon 2.1.6. My xslt file is specified top and bottom as follows: ?xml version=1.0 encoding=ISO-8859-1? xsl:stylesheet version=1.0 xmlns:cinclude=http://apache.org/cocoon/include/1.0;

Re: [flow] Hibernate createCriteria syntax help?

2005-01-27 Thread JD Daniels
I sincerley appreciate the info you guys have shared with me :) thank you. that was where i was stuck - I knew I had to separate my concerns, but all the tutorials I found had a cocoon component dealing with hibernate stuff. Hibernate itself is rather nice. I have been doing it for awhile now

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread WHIRLYCOTT
So did your guy ever show up for work today? ;) phil. Ralph Goers wrote: WHIRLYCOTT wrote: Right, I'm trying to use Javaflow (i.e. not javascript). Did you have to make any WL specific configuration changes in the console or in weblogic.xml? I assume you are using the ParanoidCocoonServlet?

Broken pipe exceptions

2005-01-27 Thread Oleg Konovalov
Hi, I am new to Cocoon. Getting the following exceptions in Cocoon'e error.log: java.net.SocketException: Broken pipe Could somebody please interpret them for me ? What might be causing it ? How to fix it ? Thank you in advance, Oleg. P.S.: Cocoon 2.0.4 on JBoss 3.0.7

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread Ralph Goers
WHIRLYCOTT wrote: So did your guy ever show up for work today? ;) phil. Yeah, he did. He isn't using ParanoidCocoonServlet. He says all he did was put the xalan, xerces-impl and xml-apis jars into a lib/endorsed directory in our Weblogic project directory and then modified the Weblogic

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread WHIRLYCOTT
Thanks, Ralph - I've tried that with no luck. But I'm curious to know if you mean that those 3 jars were put in the JDK's lib/endorsed/ directory? Because that shouldn't require modifying any startup scripts, if I understand this correctly. Would you mind confirming what the modification to

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread Ralph Goers
WHIRLYCOTT wrote: Thanks, Ralph - I've tried that with no luck. But I'm curious to know if you mean that those 3 jars were put in the JDK's lib/endorsed/ directory? Because that shouldn't require modifying any startup scripts, if I understand this correctly. Would you mind confirming what

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread WHIRLYCOTT
Ok, I will try that. Two more questions: Are you using prefer-web-inf-classes in weblogic.xml? Do you have init-classloader set in web.xml? phil. Ralph Goers wrote: WHIRLYCOTT wrote: Thanks, Ralph - I've tried that with no luck. But I'm curious to know if you mean that those 3 jars were put in

RE: ESQL and utf-8 encoding

2005-01-27 Thread Lopke, Michael
Title: Message Thanks for all the help. It appears my data was corrupted in the database. Mike -Original Message-From: Martinson, Theresa [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 12:00 PMTo: users@cocoon.apache.orgSubject: RE: ESQL and

Re: javaflow on weblogic 8.1sp2

2005-01-27 Thread Ralph Goers
WHIRLYCOTT wrote: Ok, I will try that. Two more questions: Are you using prefer-web-inf-classes in weblogic.xml? Do you have init-classloader set in web.xml? phil. No to both questions. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: decimal formatting

2005-01-27 Thread Gunter D'Hondt
Isn't anybody who knows how I can change the general decimal and thousand seperator in a Cocoon application? How to switch them? I've tried the LocaleAction but this only gives you the locale as a parameter in your sitemap so that no use for decimal formatting Any help is welcome! Regards,

AW: Framework for Web application with multi-profile clients

2005-01-27 Thread Elad Messing
Title: Framework for Web application with multi-profile clients Hello Roberto and all. 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 ? Thanks !! Elad Von: Roberto