Re: wordGenerator, pdfGenerator ?

2005-06-20 Thread Nicolas Maisonneuve
tiens , un word generator pas totalement achevé que j'avais fait y' quelques temps déjà.ca peut peut être t'aider http://issues.apache.org/bugzilla/show_bug.cgi?id=31724 On 6/7/05, Frédéric Glorieux [EMAIL PROTECTED] wrote: Salut Malo, Et ceci : Jakarta POI - Java API To Access

Choix d'implementation

2005-06-20 Thread Marc Salvetti
Bonjour, je dois installer sur toutes les pages de mon site un formulaire de login, remplacé par 'hello user toto' quand l'utilisateur est authentifié. Comme j'ai commencé a utiliser jx+cforms, je pense qu'il est mieux d'utiliser aussi jx aussi pour ce formulaire. Ma question est qq'un a t'il

Re: AW: CForms and Modular Database Actions

2005-06-20 Thread Derek Hohls
Tony Thanks for sharing that... it *always* helps to see code. But (there's always a but!) all the samples that I have seen tend to be either very simple (selects only) or highly intricate... and very hard to establish how they were built -up. The ideal approach would match a draft I put on

Re: Sitemap globals in XSLT?

2005-06-20 Thread Geert Josten
Hi Mark, OK, if I have to use a pipeline for this, I would use the module source, e.g. match pattern=globals/* generate src=module:global:{1} / serialize type=xml / /match That oughta work, right? Ah, never too late to learn something new. Though, this generates

Re: Scheduling tasks

2005-06-20 Thread Lionel Crine
Hi, In this example, the trigger will be launched everyday at 2 AM : cron0 0 2 * * ? */cron Here, every 30 mins : cron* */30 * * * ? */cron Hope that help Lionel Marc Salvetti wrote: Thanks, that's definitly what i need, but i badly miss a basic example on how to launch a pipeline

Re: Duplicate namespace in SQL transformer

2005-06-20 Thread Yves Vindevogel
Hmm, that seems to work indeed. When I prefix everything with sql and I include it as a namespace, it works. Thanks a lot !! On 19 Jun 2005, at 18:01, Askild Aaberg Olsen wrote: Yves Vindevogel wrote: dashboard> execute-query xmlns=http://apache.org/cocoon/SQL/2.0> query> select * from

Re: Scheduling tasks

2005-06-20 Thread Marc Salvetti
Thanks lionel, but what about this cron job thing ? do i have to code a java class that implements some interface or is there a class to do this in the distrib ? In the example, the config seems to be spread in differents files. Do you know what is the minimal (but complete) configuration to

Namespaces: how to get rid of them

2005-06-20 Thread Yves Vindevogel
Hi, Is there a way I can prevent the namespaces to be included in my resulting document ? See my code below and the result it generates. I don't want the namespace to show up x-tad-bigger?xml version=1.0 encoding=ISO-8859-1?> xsl:stylesheet version=1.0

Cookies in sitemap

2005-06-20 Thread EVA nGelina
Hi all! I'd like to use cookies but in server side. Searching in cocoon official web site i found to use cookies in sitemap with selectors but i don't understand how to use it for cookies. Help me please with a small example. Kisses

Re: Namespaces: how to get rid of them

2005-06-20 Thread Geert Josten
Take a look at the thread 'cinclude leaves its namespace in the output XML' :-) Several options, but the easiest one is the one with the two XSL templates.. Cheers, Geert Yves Vindevogel wrote: Hi, Is there a way I can prevent the namespaces to be included in my resulting document ? See

WhatTheHack come together ?

2005-06-20 Thread Thomas Lutz
Hi ! Sorry for the cross post, I was not sure wether all the dev readers check the users group, too. As I read the GT2005 announcements, I was wondering if there are some cocooners at the WhatTheHack (http://www.whatthehack.org) in the end of july. Maybe this would be a good chance for at

Re: Namespaces: how to get rid of them

2005-06-20 Thread Yves Vindevogel
Ok, I see that I need to use an extra XSL. That suites me just fine. Thanks On 20 Jun 2005, at 12:48, Geert Josten wrote: cinclude leaves its namespace in the output XML Met vriendelijke groeten, Bien à vous, Kind regards, Yves Vindevogel Implements Mail: [EMAIL PROTECTED] - Mobile: +32

Using request parameter in pipeline

2005-06-20 Thread Yves Vindevogel
Hi, Can I use a request parameter in my pipeline ? My request looks like this: reports/myreport.xsp?dbase=gerac My pipeline holds a SQL transformer, with a fixed value (ptdgerac). This value should be dynamicvalue=(pdt + request-parameter dbase) x-tad-biggermap:transform type=sql>

How to iterate recursivley with JXTemplate

2005-06-20 Thread Johannes Becker
Hi, I've got a function that returns a List. In this List again there is another Set. Question: - Can I iterate through a Set with jx:forEach ? - How would I do that? Another jx:forEach ? My JXTemplate: ... c:forEach select=#{getList} a#{price}/b b !-- here I want the Set iterated --

Re: Using request parameter in pipeline

2005-06-20 Thread Geert Josten
map:parameter name=use-connection value=pdt{request-param:dbase}/ Cheers, Geert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using request parameter in pipeline

2005-06-20 Thread Andrew Franz
Yves Vindevogel wrote: Hi, Can I use a request parameter in my pipeline ? My request looks like this: reports/myreport.xsp?dbase=gerac My pipeline holds a SQL transformer, with a fixed value (ptdgerac). This value should be dynamic value=(pdt + request-parameter dbase) map:transform type=sql

Re: Namespaces: how to get rid of them

2005-06-20 Thread Fred Vos
On Mon, Jun 20, 2005 at 12:34:03PM +0200, Yves Vindevogel wrote: Try adding exclude-result-prefixes=sql to xsl:stylesheet... xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:sql=http://apache.org/cocoon/SQL/2.0; Change this into: xsl:stylesheet version=1.0

Problem running three tomcats and not having a sticky session

2005-06-20 Thread Ralph Lange
Dear Cocoon users, Our setup: cocon 2.1.5.1, tomcat 5.5.4, jdk 1.5.0. In order to manage much more requests, I have installed three tomcats connected to one apache via mod_jk's loadbalancer and on each of the tomcats runs a cocoon. The problem now is, when I build a session via Firefox,

Re: Problem running three tomcats and not having a sticky session

2005-06-20 Thread Geert Josten
Hmmm, I have seen this question before.. I'm not very familiar with this stuff, but I believe session info is stored on the file system (when you specify to do so, which is the default also?). If the three tomcats share the same session storage, it should go right automagically? Though, I

Re: Problem running three tomcats and not having a sticky session

2005-06-20 Thread Ralph Goers
Well, you'd probably get a better response at the httpd or tomcat list. I did a google on tomcat server affinity and found: http://kasparov.skife.org/blog/2003/10/01/ Ralph Lange wrote: Dear Cocoon users, Our setup: cocon 2.1.5.1, tomcat 5.5.4, jdk 1.5.0. In order to manage much more

Creatable source

2005-06-20 Thread Alexander Berezhnoy
Hi! Maybe, this is an Excalibur question, but I've got it because I want to write my own SourceFactory for my Cocoon app. In Excalibur there are such interfaces as Source and ModifiableSource (if I want to modify the content of the URI). But is there something like CreatableSource, with

integrate cocoon and ejb

2005-06-20 Thread Peeths
hi, i'm bulding up an application in cocoon , and i want to integrate ejb with cocoon , how can i do that , any configuration file that we have to do , or can we integrate in the sitemap itself regards Peeths ___ Too much

Re: integrate cocoon and ejb

2005-06-20 Thread Geert Josten
Hi, Most ejb configuration stuff is most likely to be put in the web.xml of cocoon. Java code can be added as a jar in the web-inf/lib/ HTH, Geert Peeths wrote: hi, i'm bulding up an application in cocoon , and i want to integrate ejb with cocoon , how can i do that , any configuration

Re: Problem running three tomcats and not having a sticky session

2005-06-20 Thread Upayavira
Ralph Lange wrote: Dear Cocoon users, Our setup: cocon 2.1.5.1, tomcat 5.5.4, jdk 1.5.0. In order to manage much more requests, I have installed three tomcats connected to one apache via mod_jk's loadbalancer and on each of the tomcats runs a cocoon. The problem now is, when I build a

Re: integrate cocoon and ejb

2005-06-20 Thread Peeths
ok , so we can put the jar file in web-inf\lib and how will the configuration in web.xml and how do we call it , can you please specify regards peeths --- Geert Josten [EMAIL PROTECTED] wrote: Hi, Most ejb configuration stuff is most likely to be put in the web.xml of cocoon. Java code

Re: integrate cocoon and ejb

2005-06-20 Thread Geert Josten
Hi, I'm not an expert on this material, but more on the web.xml file can be found on: http://e-docs.bea.com/wls/docs61/webapp/web_xml.html (amongst others) Settings like datasources might require a real application server environment. E.g. something like Bea weblogics, Websphere, Oracle

Re: integrate cocoon and ejb

2005-06-20 Thread Peeths
Thank you very much Geert , i'll look further for the next concepts , in web.xml there is a reference variable it seems called ejb-ref using that we can conect , these much information i got from net , the i have to go further how we'll connect it , thatnx a lot regards Peeths --- Geert Josten

Re: Using request parameter in pipeline

2005-06-20 Thread Yves Vindevogel
Sorry, I did not see your reply ... On 20 Jun 2005, at 13:58, Andrew Franz wrote: Yves Vindevogel wrote: Hi, Can I use a request parameter in my pipeline ? My request looks like this: reports/myreport.xsp?dbase=gerac My pipeline holds a SQL transformer, with a fixed value (ptdgerac). This

Re: ParanoidCocoonServer / EJB's

2005-06-20 Thread Patrick Hess
I solved my own problem now and to document this for the archive here is what I found out for the combination of Cocoon/Weblogic7/EJB: - Cocoon needs the use the ParanoidCocoonServlet (web.xml) - Cocoon and EJB needs to be packed as .ear archive, I've haven't found another way when using the

page breaks and conversion into rtf

2005-06-20 Thread skomlena
Hello! I'm having problem with printing small tabels from internet browser. Problem is page breaking into right position, because i don't want to break page inside tabel (or right after tabel title). So, i try to use CSS2 but it doesn't work and my question is: can i do this page breaks with

Re: Creatable source

2005-06-20 Thread Upayavira
Alexander Berezhnoy wrote: Hi! Maybe, this is an Excalibur question, but I've got it because I want to write my own SourceFactory for my Cocoon app. In Excalibur there are such interfaces as Source and ModifiableSource (if I want to modify the content of the URI). But is there something

Re: Creatable source

2005-06-20 Thread Alexander Berezhnoy
Yes, but, for example, FileSource in Excalibur can't be created if the file is abscent. What can I use instead? The problem is that I want to use several SourceFactories for several environments transparent to the application. i.e. I want by the only change in the cocoon.xconf change the

Re: ParanoidCocoonServer / EJB's

2005-06-20 Thread Geert Josten
- as Cocoon doesn't like to be in a .war file create a directory with .ear structure, e.g. I used I expect that Cocoon by itself doesn't mind, but a lot of (default) settings of caching and logging modules point to files and directories of which Java then expects to find them on the file

Re: Creatable source

2005-06-20 Thread Geert Josten
Alexander Berezhnoy wrote: Yes, but, for example, FileSource in Excalibur can't be created if the file is abscent. Create an empty file and open that with FileSource? (just guessing) G. - To unsubscribe, e-mail: [EMAIL

Re: Using request parameter in pipeline

2005-06-20 Thread Yves Vindevogel
tnx !! On 20 Jun 2005, at 13:59, Geert Josten wrote: {request-param:dbase} Met vriendelijke groeten, Bien à vous, Kind regards, Yves Vindevogel Implements Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web:

Re: Creatable source

2005-06-20 Thread Alexander Berezhnoy
Geert Josten wrote: That's not transparent to the user of a Source. /// Alexander Berezhnoy wrote: Yes, but, for example, FileSource in Excalibur can't be created if the file is abscent. Create an empty file and open that with FileSource? (just guessing) G.

Re: Creatable source

2005-06-20 Thread Upayavira
Alexander Berezhnoy wrote: Yes, but, for example, FileSource in Excalibur can't be created if the file is abscent. Really? I can't believe that. In fact, I've used it (via the sourcewritingtransformer) to do exactly that. Excalibur wouldn't get away with a 'feature' like that. What is

Re: Cookies in sitemap

2005-06-20 Thread Andrew Franz
EVA nGelina wrote: Hi all! I'd like to use cookies but in server side. Searching in cocoon official web site i found to use cookies in sitemap with selectors but i don't understand how to use it for cookies. Help me please with a small example. Kisses

Re: Creatable source

2005-06-20 Thread Alexander Berezhnoy
Oooops. That's my DNA exception, I've really misread the sources. Sorry. /// Alexander Berezhnoy wrote: Yes, but, for example, FileSource in Excalibur can't be created if the file is abscent. Really? I can't believe that. In fact, I've used it (via the sourcewritingtransformer) to

Re: integrate cocoon and ejb

2005-06-20 Thread Ralph Goers
Cocoon doesn't provide any automatic integration with EJBs. There are a couple of approaches: 1. Use flow (Flowscript or Javaflow). You call your EJBs from the flow and then pass the objects through the pipeline. 2. The old way - use actions. 3. Do something else. This is the approach we are

[JXTemplate] problems accessing a value

2005-06-20 Thread Johannes Becker
Hi, I want to iterate through a List with jx:forEach . This List contains Objects from a query. The query: SELECTt1.*, t2.somedate FROMTable1 t1, Table2 t2 I access the data like this in JXTemplate: jx:forEach select=#{getTestList} col1#{id/scarr}/col1 !-- From now on it

Re: Namespaces: how to get rid of them

2005-06-20 Thread Yves Vindevogel
I tried that, but it didn't help On 20 Jun 2005, at 14:17, Fred Vos wrote: On Mon, Jun 20, 2005 at 12:34:03PM +0200, Yves Vindevogel wrote: Try adding exclude-result-prefixes=sql to xsl:stylesheet... xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform

flowscript :: repeater :: getting the values

2005-06-20 Thread Uli Nitsche
Hello! the documentation did not help me with my problem, so I post it here hoping for help. I use FlowScript (js) and CForms. Using cForms' repeater widget a user can add form fields. After adding a second field, the html input fields look like this: input type=text title=

Re: Equivalent in XSP of Document() function from XSLT

2005-06-20 Thread Lars Huttar
Yves Vindevogel wrote: Then it does not help me, because my page executes a query through esql. I know about the xinclude and cincludes ... Problem is that I am having serious problems with the SQL transformer. That's my other mails ... On 19 Jun 2005, at 18:33, Mark Lundquist wrote: Hi

Re: flowscript :: repeater :: getting the values

2005-06-20 Thread Tony Collen
Uli Nitsche wrote: Hello! the documentation did not help me with my problem, so I post it here hoping for help. I use FlowScript (js) and CForms. Using cForms' repeater widget a user can add form fields. After adding a second field, the html input fields look like this: input

Re: How to iterate recursivley with JXTemplate

2005-06-20 Thread Sebastien Arbogast
2005/6/20, Johannes Becker [EMAIL PROTECTED]: Hi, I've got a function that returns a List. In this List again there is another Set. Question: - Can I iterate through a Set with jx:forEach ? - How would I do that? Another jx:forEach ? My JXTemplate: ... c:forEach select=#{getList}

Re: Equivalent in XSP of Document() function from XSLT

2005-06-20 Thread Yves Vindevogel
On 20 Jun 2005, at 17:56, Lars Huttar wrote: Yves Vindevogel wrote: Then it does not help me, because my page executes a query through esql. I know about the xinclude and cincludes ... Problem is that I am having serious problems with the SQL transformer. That's my other mails ... On 19 Jun

Re: How to iterate recursivley with JXTemplate

2005-06-20 Thread Johannes Becker
Yep, now I have tried it and it worked!! And if somebody had an answer on the post [JXTemplate] problems accessing a value I'd be the happiest man alive. Thanks Jonny Sebastien Arbogast wrote: 2005/6/20, Johannes Becker [EMAIL PROTECTED]: Hi, I've got a function that returns a List.

Re: Cookies in sitemap

2005-06-20 Thread EVA
OK! it seem very simple. I'd like to know now if it exists others solutions diferent to selectors. Kisses 2005/6/20, Andrew Franz [EMAIL PROTECTED]: EVA nGelina wrote: Hi all! I'd like to use cookies but in server side. Searching in cocoon official web site i found to use cookies in

Class loading issues with Cocoon 2.1.7 and WebLogic 8.1 SP4

2005-06-20 Thread Kris Schneider
I've tried to gather as much as I could from the mail archives and the wiki, but I'm not having much success. The application is based on Cocoon 2.1.7 and needs to run on WebLogic 8.1 SP4. I have the following in web.xml: servlet-classorg.apache.cocoon.servlet.ParanoidCocoonServlet/servlet-class

Re: integrate cocoon and ejb

2005-06-20 Thread Geert Josten
3. Do something else. This is the approach we are currently using. We wrote a generic BusinessDelegate component that is configured in cocoon.xconf. A new instance of the BusinessDelegate is configured for each method that can be called. It returns a DataTransferObject as a request attribute.

Re: Class loading issues with Cocoon 2.1.7 and WebLogic 8.1 SP4

2005-06-20 Thread Geert Josten
Hi, Keep in mind that the ParanoidCocoonServlet is *really* paranoid. It simply doesn't load anything that comes from outsite the web application. Make sure you have _all_ necesary jars in web-inf/lib/... Cheers, Geert Kris Schneider wrote: I've tried to gather as much as I could from the

Re: Class loading issues with Cocoon 2.1.7 and WebLogic 8.1 SP4

2005-06-20 Thread Kris Schneider
Hm, that's not really true though is it? It just tries to load a class itself before delegating to its parent. On 6/20/05, Geert Josten [EMAIL PROTECTED] wrote: Hi, Keep in mind that the ParanoidCocoonServlet is *really* paranoid. It simply doesn't load anything that comes from outsite the

Re: Cookies in sitemap

2005-06-20 Thread Irv Salisbury
I believe you can get access to it on flowscript. We also have a CookieTransformer we wrote if you want access to all cookies in the XML pipeline. Irv On 6/20/05, EVA [EMAIL PROTECTED] wrote: OK! it seem very simple. I'd like to know now if it exists others solutions diferent to

Re: questions about cocoon flow

2005-06-20 Thread Jarry Liu
Gregor and Geert, Thanks for your help. As Gregor said, it is just a naming conversion. Same as the relationship between GET and DOGET. Wast 4 hours to find it (*_*)!! On 6/17/05, Geert Josten [EMAIL PROTECTED] wrote: Hi, It must be something in the JavaInterpreter class of the

[JXTemplate] jx:formatDate - how to set the locale

2005-06-20 Thread Johannes Becker
Hi, I've got a Date that I want to display in a foreign locale. Now I wonder how to set the locale, for example: jx:formatDate pattern=dd locale=???. Let's say I want french output. I tried locale=FR, locale=FRA, locale=FRANCE (in upper- and lowercase letters). But I always get the

Re: Sitemap globals in XSLT?

2005-06-20 Thread Mark Lundquist
On Jun 19, 2005, at 11:53 PM, Geert Josten wrote: Hi Mark, OK, if I have to use a pipeline for this, I would use the module source, e.g. match pattern=globals/* generate src=module:global:{1} / serialize type=xml / /match That oughta work, right? Ah, never too late

Re: How to iterate recursivley with JXTemplate

2005-06-20 Thread Marc Salvetti
Hello, maybe you can use jx:set for your pb. I have this kind of sintax in my code and it's fine : jx:set var=balance value=#{$total-invoice - $total-deposit - $total-deposit2}/ Marc Johannes Becker a écrit : Yep, now I have tried it and it worked!! And if somebody had an answer on the