Re: Construire une Application Cocoon

2005-11-10 Thread Bertrand Delacretaz
Le 11 nov. 05, à 00:30, Frédéric Glorieux a écrit : minimum, si vraiment tu dois aller plus loin il existe des utilitaires (je n'ai pas le nom sous la main) pour détecter ce qui est vraiment nécessaire. J'ai autrefois capter une discussion Wallez - Mazzochi sur ce Cocoon allégé avec un

Re: [2.1.7] LocaleAction and Cookie expiration

2005-11-10 Thread Vincent Oostindië
Torsten Curdt tcurdt at apache.org writes: svn co http://... change it svn diff output send us the output I'm halfway there. The patch is surely coming, but probably no earlier than Saturday or Sunday. Vincent -

Re: Three steps DB Interaction

2005-11-10 Thread Derek Hohls
Sylvain Briefly - where is the form layout file; there only seems to be a form defintion file? Thanks Derek [EMAIL PROTECTED] 2005/11/09 11:30 PM Omar Adobati wrote: Ard, really thanks to your answer... I'm actually checking the links you send to me, I also already downloaded the code of

RE: Named queries in SQLTransformer

2005-11-10 Thread Ard Schrijvers
I do not exactly know what you are asking here, shouldn't you just read some documentation about cocoon stuff? Anyway, if you are familiar with xsl, and you try to transform your results form the sqltransformer, do not forget the sql namespace. For example : xsl:value-of

Re: Three steps DB Interaction

2005-11-10 Thread Derek Hohls
Sorry... found it n: http://svn.apache.org/repos/asf/cocoon/blocks/forms/trunk/samples/sql/pages/ Just a bit strange that it is not with: http://svn.apache.org/repos/asf/cocoon/blocks/forms/trunk/samples/sql/forms/ I am used to the structure from all the previous samples where form defintion

RE: Named queries in SQLTransformer

2005-11-10 Thread Derek Hohls
Agreed - remember namespaces throughout! If in doubt, suggest you do some reading around XSLT; there are lots of good resources/books on the 'net and its well worth the time to learn, if you plan on working with XML in any shape or form. Also; you can look at using Cocoon Views to get

2.1.8 and mail block

2005-11-10 Thread Marc Salvetti
Hello, i recently updated to 2.1.8 rc1, and i have some problems running the mail block. The first thing is that if i don't have mail.jar and activation.jar or if i have old versions of this jars or if i have recent versions doesn't change anything to my problem. If i try to send mail from my

Re: xmlize in jx and 'NOT_FOUND is not a function'

2005-11-10 Thread Upayavira
Merico Raffaele wrote: Dear community Im using cocoon 2.1.7 and I have implemented the xmlize functionality according to http://marc.theaimsgroup.com/?l=xml-cocoon-devm=108680748429717w=2. But now I get the following error 'NOT_FOUND is not a function'. Any help would be very appreciated

Re: 2.1.8 and mail block

2005-11-10 Thread Upayavira
Marc Salvetti wrote: Hello, i recently updated to 2.1.8 rc1, and i have some problems running the mail block. The first thing is that if i don't have mail.jar and activation.jar or if i have old versions of this jars or if i have recent versions doesn't change anything to my problem. If i

Re: 2.1.8 and mail block

2005-11-10 Thread Marc Salvetti
Here's a wild guess. Check in your WEB-INF/lib to see anything beginningwith geronimo-spec. If there, delete them. They are (as far as I understand it) jar files that allow us to compileCocoon, but do not provide the full functionality that is required andcould account for method not yet

Accept timed out

2005-11-10 Thread Felix Röthenbacher
Hi I just updated the Jetty implementation in Lenya to version 5.1.4. There is an issue with SocketTimeoutExceptions which seems to be related to the scheduler. Cocoon_QuartzSchedulerThread DEBUG lenya.scheduler - Got a $Proxy12 from the pool. Cocoon_QuartzSchedulerThread DEBUG scheduler.conn

Log4j appender file paths under Cocoon

2005-11-10 Thread Messing, Elad
Title: Log4j appender file paths under Cocoon Hello all I am using Log4J for logging of my classes, all running in a Cocoon web application. In my log4j properties file , I have a File appender configured. I would like to configure the log files , to be located in the WEB-INF/logs -

Re: Three steps DB Interaction

2005-11-10 Thread Derek Hohls
Sylvain Thanks for the explanation - I certainly the lack the depth of insight and knowledge you have... but I have always thought that form definition/template were v. closely related (albeit with different purposes), and given that there is usually a 1:1 relation between them, it has always

LogFactor5

2005-11-10 Thread Stefan Pietschmann
Hi there, I read about LogFactor5 and tried to enable it, but I doesn't show up on Cocoon start as it should (I guess). Here's my logkit.xconf: factories factory type=lf5 class=org.apache.avalon.excalibur.logger.factory.LF5TargetFactory/ ... /factories targets . lf5

Re: Proxy Rewrite / Tomcat vs Jetty

2005-11-10 Thread Yves Vindevogel
Hmm, your last remark is interesting. Jetty can do this by default ? Since Cocoon comes with Jetty, this may be a reason to work with it instead of with Tomcat. What are the Pros and Cons of both ? On 07 Nov 2005, at 11:10, Upayavira wrote: Yves Vindevogel wrote: HELLO Anybody who can supply

Re: Setting path for cookies in Tomcat / Cocoon

2005-11-10 Thread Yves Vindevogel
GREAT !! Thanks a lot for posting. On 09 Nov 2005, at 11:26, Christoph Hermann wrote: Yves Vindevogel schrieb: Hello, Searching a bit more it looks like Tomcat as of 5.5.4 has the ability to set the path: Add the ability to force session cookies to be set to the root path Yes, indeed. Is a

Re: Three steps DB Interaction

2005-11-10 Thread Sylvain Wallez
Derek Hohls wrote: Sylvain Thanks for the explanation - I certainly the lack the depth of insight and knowledge you have... but I have always thought that form definition/template were v. closely related (albeit with different purposes), and given that there is usually a 1:1 relation between

jx syntax question

2005-11-10 Thread Merico Raffaele
Hi Cocooners Does anybody knows the right syntax to the following JavaScript function call within a JXTemplate. jx:set var=ignored ${cocoon.session.getAttribute(stringToSAX)( value, cocoon.consumer, ignoreRoot )} /jx:set Thx ... Raffaele Raffaele Merico LESS Informatik AG Böhnirainstrasse 14

AW: xmlize in jx and 'NOT_FOUND is not a function'

2005-11-10 Thread Merico Raffaele
Hi Upayavira Instead of the solution below with the 'stringToSAX' JavaScript function I have solved the xmlize problem with the following statement in the JavaScript. var xmlizableWspResult = new org.apache.cocoon.xml.StringXMLizable(xmlString); The jx template now just contains a simple

Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Jean-Christophe Kermagoret
Hi, I've seen there is a frame renderer in the portal. Does it permit to build frameset where each frame corresponds to a coplet ? If it's the case, is there a frame.xsl file somewhere ? Otherwise (if it's not to build a frameset), what is the purpose of this renderer ? Thank you

Re: Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Carsten Ziegeler
Jean-Christophe Kermagoret wrote: Hi, I've seen there is a frame renderer in the portal. Does it permit to build frameset where each frame corresponds to a coplet ? No :) It's just a place holder for something - if you use a frame layout in the portal you can specify a uri which is than

RE: Named queries in SQLTransformer

2005-11-10 Thread Oleg Konovalov
Ard, I've read a lot of Cocoon documentation on the net and books, especially regarding SQL Transformer. It does mention that queries might be named. So if I have several SQL queries in SQLTransformer (e.g. query1, query2), what is a convention for the output ? page

Re: Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Ralph Goers
Carsten Ziegeler wrote: Jean-Christophe Kermagoret wrote: Hi, I've seen there is a frame renderer in the portal. Does it permit to build frameset where each frame corresponds to a coplet ? No :) It's just a place holder for something - if you use a frame layout in the portal you

Re: ConcurrentModificationException during auth-logout

2005-11-10 Thread Fabrizio Sitzia
Hello, I'm replying to my own post from two weeks ago... No! Not because I'm driving nuts! And I've not fixed the problem yet! But I found an ugly workaround, which I'm going to describe here: Got the idea while studying the 'Authentication Framework Block with Flow' samples. I replaced the

Re: Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Jean-Christophe Kermagoret
Waohh Thanks for this quick reply :-) I'm interested to try this layout to compare the costs between (one coplet update) and (one coplet update + reload of the rest of the portal). Do you think it's worth the case ? Do you know if somebody already worked on this ? The idea is to build

Re: Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Carsten Ziegeler
Jean-Christophe Kermagoret wrote: Waohh Thanks for this quick reply :-) I'm interested to try this layout to compare the costs between (one coplet update) and (one coplet update + reload of the rest of the portal). Do you think it's worth the case ? Do you know if somebody

Re: Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Jean-Christophe Kermagoret
It sounds very interesting I'm using 2.1.8-dev, are the modifications related to AJAX are compatible with the 2.1.8 version ? Jean-Christophe 2005/11/10, Carsten Ziegeler [EMAIL PROTECTED]: Jean-Christophe Kermagoret wrote: Waohh Thanks for this quick reply :-) I'm interested to try this

LinkTranslatorMapAction is now available anymore

2005-11-10 Thread Jean-Christophe Kermagoret
Hi, I want to use the webmail application provided in the mail block but the LinkTranslatorMapAction is not available anymore. Does anyone know where I could find this class ? Or maybe it has been replaced by another class or module (something related to forrest ?) Jean-Christophe

Re: Named queries in SQLTransformer

2005-11-10 Thread Askild Aaberg Olsen
Oleg Konovalov wrote: Ard, I've read a lot of Cocoon documentation on the net and books, especially regarding SQL Transformer. It does mention that queries might be named. So if I have several SQL queries in SQLTransformer (e.g. query1, query2), what is a convention for the output ? page

Re: Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Carsten Ziegeler
Jean-Christophe Kermagoret wrote: It sounds very interesting I'm using 2.1.8-dev, are the modifications related to AJAX are compatible with the 2.1.8 version ? No, unfortunately not - I had to restructure/refactor some parts of the portal to get things working. Therefore the portal changed

Re: Where is the frame.xsl for the cocoon portal ?

2005-11-10 Thread Jean-Christophe Kermagoret
Ok, thanks Carsten for all your help. I will try the new portal next week. Bye Jean-Christophe 2005/11/10, Carsten Ziegeler [EMAIL PROTECTED]: Jean-Christophe Kermagoret wrote: It sounds very interesting I'm using 2.1.8-dev, are the modifications related to AJAX are compatible with the 2.1.8

Re: 2.1.8 and mail block

2005-11-10 Thread Antonio Gallardo
Upayavira wrote: Check in your WEB-INF/lib to see anything beginning with geronimo-spec. If there, delete them. They are (as far as I understand it) jar files that allow us to compile Cocoon, but do not provide the full functionality that is required and could account for method not yet

Re: Named queries in SQLTransformer

2005-11-10 Thread Askild Aaberg Olsen
Better keep the discussion on list... Use the xml-serializer instead of html, like map:serialize type=xml/. You can just paste that right after the sql-transformer in the pipeline, since it will stop execution at that point (no need to remove xsl-transformer and html-serializer) Another

Re: LinkTranslatorMapAction is now available anymore

2005-11-10 Thread Joerg Heinicke
On 10.11.2005 16:39, Jean-Christophe Kermagoret wrote: Hi, I want to use the webmail application provided in the mail block but the LinkTranslatorMapAction is not available anymore. Does anyone know where I could find this class ? Or maybe it has been replaced by another class or module

Re: Named queries in SQLTransformer

2005-11-10 Thread Oleg Konovalov
That was a problem in IE6 - wouldn't display XML, was asking permission to use some ActiveX control and doing nothing regardles you agreed or not. As soon as I tried it in Firefox, got XML. Now need XSLT page to work. It seems that correct form to pick up a rowset in XSL is: xsl:variable

Re: Named queries in SQLTransformer

2005-11-10 Thread Askild Aaberg Olsen
Oleg Konovalov wrote: It seems that correct form to pick up a rowset in XSL is: xsl:variable name='custdata' select=/page/content/sql:[EMAIL PROTECTED]:name='query1']/ The query returns 1 row. But for whatever reason I can't get to the row, to show the values on the screen: xsl:for-each

Re: Named queries in SQLTransformer

2005-11-10 Thread Oleg Konovalov
Try xsl:value-of select='$therow/sql:col1'/ instead, since col1 is in the same namespace sql:rowset etc. No, that didn't work :-( Thank you, Oleg. --- Askild Aaberg Olsen [EMAIL PROTECTED] wrote: Oleg Konovalov wrote: It seems that correct form to pick up a rowset in XSL is: