cocoon in jboss

2005-06-20 Thread Peeths
hi , i running a small cocoon application and it is working well and fine in the jetty server provided by cocoon , i wnat to run it in jBoss server , so how will i be able to integrate jBoss and cocoon Peeths _

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 : Marc Johannes Becker a écrit : 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. Th

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. That oughta work, right? Ah, never too late to learn something new. Though, this generates only one global. If that suits you, then g

[JXTemplate]

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: 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 date

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 ja

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 s

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

2005-06-20 Thread Geert Josten
Hmmm, looking at the source code, you should be right, but my experience was different. Maybe, I got it all wrong.. Sorry, G. Kris Schneider wrote: 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

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 outsi

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 m

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

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: org.apache.cocoon.servlet.ParanoidCocoonServlet And the following in weblog

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 us

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: 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 20

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 - How would I do that? Another > My JXTemplate: > ... > >#{price} > > It seems to me

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:

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 Y

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: the numb

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 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sql="http://apache.org/cocoon/SQL/2.0"> Change this

[JXTemplate] problems accessing a value

2005-06-20 Thread Johannes Becker
Hi, I want to iterate through a List with Objects from a query. The query: SELECTt1.*, t2.somedate FROMTable1 t1, Table2 t2 I access the data like this in JXTemplate: #{id/scarr} #{date} #{month} #{year} I have NO problems accessing the data from t1, like in

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

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 do

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 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 telli

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: 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: http://ww

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 PROT

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 syst

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 persi

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 like

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 xm

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

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 valu

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 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 <[EMAIL

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 Appl

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 co

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 session

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 fil

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 spa

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 met

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 request

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 not

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, exactl

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 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; > xmlns:sql="http://apache.org/cocoon/SQL/2.0";> Change this into: http://www.w3.org/1999/XSL/Transform"; xmlns:sql="http://apa

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)" As I said earli

Re: Using request parameter in pipeline

2005-06-20 Thread Geert Josten
Cheers, Geert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 #{price} Cheers Jonny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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)" Met vriendelijke groeten, Bien à vo

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 (4

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 le

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 m

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 ---

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 ../reports//.xml select * from tblDashboard Met vriendelijke groeten, Bien à vous,

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 la

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: select * from tblDashboard Did you try with a prefix instead of a default namespace

Re: Scheduling tasks

2005-06-20 Thread Lionel Crine
Hi, In this example, the trigger will be launched everyday at 2 AM : 0 0 2 * * ? * Here, every 30 mins : * */30 * * * ? * 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 everyday anyone around

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. That oughta work, right? Ah, never too late to learn something new. Though, this generates only one global. If that suits you, then go ahead. :) By the way, make sure that the parame