Re: cocoon 2.2 and hibernate 3

2007-09-20 Thread Olivier Billard
Joerg Heinicke wrote: On 19.09.2007 8:58 Uhr, Olivier Billard wrote: IMHO, the only use you could have with defining a data source for Cocoon, is to use it directly, bypassing Hibernate. Hey, where have you found this old thread? :) (It was still unread for me as well.) Reflex :) I only

Re: cocoon 2.2 and hibernate 3

2007-09-19 Thread Olivier Billard
and Cocoon 2.2). HTH, - Olivier Billard Lidonis Calhau wrote: I would like to use cocoon 2.2 and hibernate 3 with mysql 5.0 I don't know how to use hibernate with cocoon datasource. I try to configure cocoon datasource in cocoon.my.xconf like this : false jdbc:

[Cocoon 2.2] Why use a shielding repository ?

2007-08-27 Thread Olivier Billard
ntation [1] does not explain what is the purpose of this configuration option. Can anyone tell me, please ? Thanks ! [1] http://cocoon.zones.apache.org/dev-docs/2.2/maven-plugins/maven-plugin/1.0/deploy-mojo.html#useShieldingRepository -- Olivi

Re: Session keep alive time

2007-07-26 Thread Olivier Billard
value of 10 minutes, I think (someone please correct me). PS : Hippo gurus are gone in holidays :) ? HTH, -- Olivier Billard Mathijs Brand wrote: Hello, Does anyone know what the default cocoon.session keep alive time is? Met vriendelijke groet, Mathijs Brand Hippo Oosteinde 11 1017WT

Re: Cocoon 2.2 and the SourceResolver

2007-07-25 Thread Olivier Billard
ntation is much more cleaner than cocoon:'s and it is a part of servlet-service-fw that has solid integration (in a progress, though) with Cocoon 2.2. What's most important here, it will work fine everywhere. Thanks for this addition, Grzegorz, I will look into this

Re: Cocoon 2.2 and the SourceResolver

2007-07-24 Thread Olivier Billard
Carsten Ziegeler wrote: Olivier Billard wrote: Hi Cocooners, I read here and there (COCOON-1995 for example), that using Cocoon 2.2, the SourceResolver cannot be used in Spring Beans. If true, this is very annoying, because this feature is really usefull, to have components really independant

Cocoon 2.2 and the SourceResolver

2007-07-24 Thread Olivier Billard
? I post this question in the users list, because this is really a Cocoon 2.2 "usability" issue. Thank you. -- Olivier Billard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: saparation of java code

2007-05-18 Thread Olivier Billard
Grzegorz Kossakowski wrote: Olivier Billard pisze: Hi Grzegorz, I jump on your answer a little bit lately, but where can I find info about Cocoon 2.2 roadmap ? I went to the GT2006 Hackathon but did not get the info, did not managed to get it on the dev list, and as I plan to use Cocoon

Re: saparation of java code

2007-05-18 Thread Olivier Billard
:)) I would like to know when it would be possible to switch to Cocoon 2.2. Thank you ! -- Olivier Billard Grzegorz Kossakowski wrote: Dev at weitling napisał(a): And: The concept of user mounted directories is lead ad absurdum when you have to put your generators & co. into a system direc

Re: Dynamic suggestion list

2007-05-16 Thread Olivier Billard
Hi Baptiste, You may find what you are looking for by looking at the "Cocoon suggests" sample, that uses Ajax to dynamically updates the selection list, depending on what is being entered. HTH -- Olivier Billard Baptiste Placé wrote: Hello, I would like to have a dynamic sugge

Re: [contrib] Cocoon editor

2007-01-24 Thread Olivier
Thomas Markus wrote: maybe its easier to include the schema and use a schema aware xml editor (or dtd) sure, but I like to show my pipeline in specific pane, add completion with right component (and those included in mother sitemap) and more ... thomas Olivier schrieb: Grzegorz

Re: [contrib] Cocoon editor

2007-01-23 Thread Olivier
Grzegorz Kossakowski wrote: Olivier napisał(a): Hi all && happy new year, I' ve started few months ago to build a sitemap cocoon editor as an eclipse plugin. My first goal was to "play" with eclipse plugins, EMF, WSTTranslator and more ... I think that the proof of co

[contrib] Cocoon editor

2007-01-22 Thread Olivier
Hi all && happy new year, I' ve started few months ago to build a sitemap cocoon editor as an eclipse plugin. My first goal was to "play" with eclipse plugins, EMF, WSTTranslator and more ... I think that the proof of concept is done. Is there anybody in there that would be interested in c

Test Session attribute exists from the sitemap

2007-01-03 Thread Olivier Bleses
Hello, How can I test in the sitemap that a Session attribute exists ? Thank you Regards Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cocoon 3: first step

2006-11-10 Thread Olivier
Reinhard Poetz wrote: Olivier wrote: Hi all Where can I find more information on cocoon 3 / OSGi I've tried http://cocoon.zones.apache.org/daisy/cocoon3/g1/1153.html but all I can obtain is 404 error pages. Is somebody make this work ? For the time being, Cocoon 3 is "on hol

cocoon 3: first step

2006-11-09 Thread Olivier
Hi all Where can I find more information on cocoon 3 / OSGi I've tried http://cocoon.zones.apache.org/daisy/cocoon3/g1/1153.html but all I can obtain is 404 error pages. Is somebody make this work ? - To unsubscribe, e-mail:

Re: Free for use: SaveFilesTransformer

2006-09-21 Thread Olivier
mport org.apache.xml.serialize.XMLSerializer; import org.xml.sax.Attributes; import org.xml.sax.SAXException; /** * @author olivier nouguier * */ public class TransactionalFileWriterTransformer extends AbstractSAXTransformer { /* * (non-Javadoc) * *

Re: Free for use: SaveFilesTransformer

2006-09-21 Thread Olivier
Joerg Heinicke wrote: Really an intersting idea. But I'd not begin the transaction in setup(). What about startDocument()? right :-) Jörg On 20.09.2006 18:53, Olivier wrote: The transaction * begins on setUp * commit on endDocument * roll back on recycle (if n

Re: Free for use: SaveFilesTransformer

2006-09-20 Thread Olivier
The transaction * begins on setUp * commit on endDocument * roll back on recycle (if needed!) Geert Josten wrote: How does it work? Kind regards, Geert -Oorspronkelijk bericht- Van: Olivier [mailto:[EMAIL PROTECTED] Verzonden: woensdag 20 september 2006 10:07

Re: Free for use: SaveFilesTransformer

2006-09-20 Thread Olivier
Hi all, I've build a transactionnal write transformer on top of : http://jakarta.apache.org/commons/transaction/ Works fine in production. Geert Josten wrote: Hi all, Available on wiki: http://wiki.apache.org/cocoon/SaveFilesTransformer It might be that someone else already wrote a Transforme

Re: does not work

2006-06-16 Thread Olivier
Hi, Tips in http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html Look for FOP or ContextPathModule HIH On Fri, 2006-06-16 at 17:21 +0200, [EMAIL PROTECTED] wrote: > Hi everybody, > > I'm generating a pdf document by using the fo2pdf serializer. I want to embed > a gif graphic into my

Rép. : Re: cdata-section-elements ignored by xml transformer

2006-04-18 Thread Olivier Bleses
. I just want to keep my cadata section in my xml node. How can I do that ? Thank you Olivier >>> <[EMAIL PROTECTED]> 13/04/06 20:59 >>> Hi Olivier, Cocoon doesn't use xsl:output (check the archives for an explanation from Bertrand), but uses the Generators to do the s

Rép. : Re: cdata-section-elements ignored by xml transformer

2006-04-18 Thread Olivier Bleses
transformer. I just want to keep my cadata section in my xml node. How can I do that ? Thank you Olivier >>> <[EMAIL PROTECTED]> 13/04/06 20:59 >>> Hi Olivier, Cocoon doesn't use xsl:output (check the archives for an explanation from Bertrand), but uses the Generators t

cdata-section-elements ignored by xml transformer

2006-04-13 Thread Olivier Bleses
after the transformer, no startCDATA-endCDATA can be found. How can I output "pdf:content" children text nodes using CDATA section ? Thank you Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat and postgresql database integration

2006-02-07 Thread Olivier
Is postmaster listening on socket (jdbc need it)? - cf postgresql.conf On Mon, 2006-02-06 at 19:38 +0700, zulhisham abu nawar wrote: > hi... > now i'm trying to integrate cocoon 2.1.8 with postgressql 7.4.11 with > tomcat 5.0.28...My application can run without any errors but it not > select any da

Re: cocoon 2.1.8 exception

2005-12-17 Thread Nouguier Olivier
Copy or move ? On Fri, 2005-12-16 at 18:05 -0600, Antonio Gallardo wrote: > Hi Christian, > > Please copy all the content of "cocoon/lib/endorsed" into > "tomcat/commons/endorsed". > > Best Regards, > > Antonio Gallardo. > > > > >

Re: server startup

2005-12-14 Thread Nouguier Olivier
Personaly, I use the sysdep tomcat plugin (so tomcat is started within eclipse(, not remote )). On Tue, 2005-12-13 at 10:54 -0800, Mark Lundquist wrote: > On Dec 13, 2005, at 4:18 AM, Nouguier Olivier wrote: > > > Even if you coding java stuff. Eclipse IDE support hot class &

Re: server startup

2005-12-13 Thread Nouguier Olivier
Hi all, Even if you coding java stuff. Eclipse IDE support hot class reloading. You just have to run tomcat/cocoon inside eclipse, and it's done. The only limitation is linked to hot class reloading, classes will be hot reloaded *ONLY* if theirs "interfaces" remains unchanged. Hot class reloading

Re: Cocoon shutdown listener?

2005-12-13 Thread Nouguier Olivier
Should look at jakarta-tomcat component for LifeCycleListener. As my connection towards http://tomcat.apache.org is temporaly down I cannot be more "précis" | sharp ;} On Wed, 2005-12-07 at 10:20 +, Antony Grinyer wrote: > Hi, > > Is there anything in cocoon that can be used to invoke a Java

Re: server startup

2005-12-13 Thread Nouguier Olivier
Hi all, Even if you coding java stuff. Eclipse IDE support hot class reloading. You just have to run tomcat/cocoon inside eclipse, and it's done. The only limitation is linked to hot class reloading, classes will be hot reloaded *ONLY* if theirs "interfaces" remains unchanged. Hot class reloading

Re: Re: "xspAttr cannot be resolved" in Cocoon 2.1.8

2005-12-13 Thread Nouguier Olivier
Hi all, Patch in CVS/SVN, found on cocoon-dev list: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=113273736320287&w=2 HIH On Wed, 2005-12-07 at 19:35 +0100, Markus Vaterlaus wrote: > Hello there > > I get the same error: > > > > org.apache.cocoon.components.language

Re: I18nTransformer is driving me crazy

2005-09-29 Thread Nouguier Olivier
hi all, I built my own i18n transformer based on properties files with caching option. It's beta code, but if somes are interested ... On Sat, 2005-09-24 at 12:38 -0600, Jason Johnston wrote: > Mark Lundquist wrote: > > The I18nTransformer is giving me fits. When I change the contents of a > >

Re: Using a transformer on XSP

2005-07-20 Thread Olivier NOUGUIER
hi AFAIK, if XSP output is html you should *only* serialize, transformation are xml ===> xml (not sure?) > Message du 20/07/05 16:53 > De : "Stewart, Gary" <[EMAIL PROTECTED]> > A : users@cocoon.apache.org > Copie à : > Objet : Using a transformer on XSP > > Hi there, > > I'm relatively new

Re: Modular Database Actions: SQL syntax error with MySQL

2005-07-01 Thread Nouguier Olivier
look for element "autoincrement-modules" in cocoon.xconf > ="Syntax error or access violation, message from server: "You have an > error in your SQL syntax. Check the manual that corresponds to your > MySQL server version for the right syntax to use near 'CALL IDENTITY()' > at line 1"" > > N

i18n:date formatting in an attribute

2005-06-28 Thread Olivier Bleses
Hello, I would like to format a date into an attribute using i18n transformer. Is it possible ? I tried something like this but it doesn't work : - - Thanks for your help. Ol

Re: classes in WEB-INF

2005-05-24 Thread Nouguier Olivier
Hi all, Just to add a little tips on any process and eclipse. If: 1: tomcat is running within eclipse ( sysdeo plugin ) 2: java src were sync with classes when tomcat started 3: eclipse is in debug perpertive then Src changes are immediatly visible without restarting tomcat, as long as object

Re: i18n-transformer is not picking up missing keys going up the hierarchy of catalogues

2005-04-28 Thread Olivier NOUGUIER
personnaly I'm testing a solution home made of I18N transformer build on Bundle file ( AKA message_FR.properties ... ). IMHO Much simple ... > Message du 27/04/05 21:07 > De : "Anton Andreev" <[EMAIL PROTECTED]> > A : "Cocoon" > Copie à : > Objet : i18n-transformer is not picking up missing ke

Re: [Announce] Eclipse Lepido, and opensource IDE for Apache Cocoon

2005-04-07 Thread Nouguier Olivier
So hay, Where could I learn more on AXE? On Thu, 2005-04-07 at 12:11 +0200, Sylvain Wallez wrote: > Sylvain Wallez wrote: > > > Folks, > > > > I'm very pleased to announce the creation of the Eclipse Lepido > > project [1], which aims at building an opensource tooling for Apache

Getting rid of DEBUG for cache

2005-03-31 Thread Olivier RICHAUD
p; expired?: false 11: Regrads. Olivier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [poll] Seeking eclipse plugin development skills for an opensource Cocoon IDE

2005-03-30 Thread Nouguier Olivier
On Wed, 2005-03-30 at 18:13 +0200, Sylvain Wallez wrote: > Hi folks, > > Cocoon is now a mature framework and is more and more used in corporate > environments. And more and more people are asking for some tools. > Several people also experienced lost projects because Cocoon doesn't > have a mi

MemoryStore and Cache : filtering DEBUG output

2005-03-11 Thread Olivier RICHAUD
With Cocoon 2.1.6, both MemoryStore and Cache produce DEBUG output. I looked at cocoon.xconf, and the logger are correctly defined : I found categories in logkit.xconf with log levels set to WARN. Am I missing something? Thanks for your help. Regards. Olivier

RE : Migrating from Cocoon 2.0.x to 2.1.3

2005-03-10 Thread Olivier RICHAUD
rs 2005 20:41 À : users@cocoon.apache.org Objet : Re: Migrating from Cocoon 2.0.x to 2.1.3 Olivier RICHAUD wrote: > I'm upgrading our Cocoon application to Cocoon 2.1.3 and I'm facing > some why not 2.1.6? > weird errors with XSP. When calling a very simple XSP page > (

Migrating from Cocoon 2.0.x to 2.1.3

2005-03-09 Thread Olivier RICHAUD
.java:1166) ... I'm not hacking my previous sitemap. Instead, I started from the sitemap that comes with Cocoon's distribution (see attachement). My environment : Jboss 3.2.3 with Jetty JDK 1.4.2 Windows XP Thanks for your help. Regards. Olivier RICHAUD. site

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

Include pipeline content in another servlet

2005-01-27 Thread Olivier Billard
e a better and working method to call file outputting to the Cocoon servlet from another servlet ? Thanks, -- Olivier Billard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cocoon with Virtual Hosts (apache/tomcat)

2005-01-24 Thread Nouguier Olivier
Hi mod_jk also works and is not outdated ( not yet ;) ). Personally I'm still using mod_jk2 but I'm looking to mod_jk feature and they are Ok for my use of apache/tomcat connector. On Mon, 2005-01-24 at 09:55 +0200, Derek Hohls wrote: > My UNIX admin says mod_jk2 is deprecated and no longer > be

Re: Getting a generator class to reload

2005-01-21 Thread Nouguier Olivier
. IMHO it this useful behaviour is eclipse concerned ( Dark Classloader story perhaps ). If you find a better explanation I'm interested ;} On Fri, 2005-01-21 at 14:09 +0100, Joachim Wackerow wrote: > Olivier > > This sounds interesting and like a great help for the development.

Re: Cocoon with Virtual Hosts (apache/tomcat)

2005-01-19 Thread Nouguier Olivier
hi And what about mod_jk2? http://jakarta.apache.org/tomcat/connectors-doc/index.html On Wed, 2005-01-19 at 11:43 +0200, Derek Hohls wrote: > I am working with Apache/Tomcat and Cocoon 2.1.5. > I am trying to have a virtual host setup, so users from > outside the organisation can access the site

Re: Getting a generator class to reload

2005-01-19 Thread Nouguier Olivier
Hi all, A very simple way is to start tomcat within eclipse ( sysdeo plugin http://www.sysdeo.com/eclipse/tomcatPlugin.html ). Tomcat must be started when last version of your classes lives in the WEB-INF/classes. ( using ant ) So the sequence *MUST* be: 1: copy classes in WEB-INF/classes 2:

RE: date in XSL

2005-01-12 Thread Nouguier Olivier
Hi, Depending on your cocoon.xconf syntax should be {date:date} (lowercase). Hih On Tue, 2005-01-11 at 12:12 +0600, Adriano Smith wrote: > i used the date input module in the sitemap, > but i get this > error. > > org.apache.avalon.framework.component.ComponentException: > input-modules: Component

Re: Struts Cocoon session passing

2005-01-11 Thread Nouguier Olivier
hi quite [OT] but...look at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html and single sign on On Tue, 2005-01-11 at 03:05 -0800, Asif Iqbal wrote: > Hi > We have an exsisting Struts application and now using Cocoon for > reporting mainly. Our users log into the struts application

Conversion - performance

2004-10-01 Thread Olivier Bleses
performance ? Thanks Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with " Resolving a source "

2004-09-06 Thread Olivier Billard
Hi Vladimir, I think it totally depends on the URI that called Cocoon. if you have several levels like http://server:/my/path/to/the/url, you must go back several times before getting the http://server:/pics URI... Have a look at Roman's answer. -- Olivier Vladimir Lisin wrot

Re: XSP Forms - Best Practice?

2004-09-06 Thread Olivier Billard
<parameters.length ; i++) { parameters[i] } [1] http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/environment/Request.html HTH, -- Olivier Billard Thomas Zehetbauer wrote: Hi, what is the current recommended practice for having a XSP output a HTML form showing the values of the l

Re: comparing strings in xsp

2004-09-06 Thread Olivier Billard
text, otherwise some people here may not be able to read it. -- Olivier Billard Adriano Smith wrote: how can strings be compared in xsp? is it possible to do if(s.equals(\"string\")) { } <http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.co

Re: Good practise for international site (URI-designing)

2004-08-17 Thread Olivier Lange
Upayavira wrote: Olivier Lange wrote: Perhaps one point to take into account to help deciding: The idea behind the URI scheme I used is that *every* page of the site is available in *each* language (even if it is not translated, I derive the text from another language). Once a user choosed a

Re: Good practise for international site (URI-designing)

2004-08-17 Thread Olivier Lange
completely transparent to the user, but he cannot put an explicit link on the french page for instance. It depends on the locale he defined in the browser. -- Olivier Upayavira wrote: Olivier Lange wrote: > Interesting. But if I set my browser's locale to French, that isn't taken into acco

Re: Good practise for international site (URI-designing)

2004-08-17 Thread Olivier Lange
rences with a parameter value ("fr" in the example above); 2) absolutizes the href="..." attribute contents. -- Olivier Upayavira wrote: Olivier Lange wrote: Hi Joose I used option 2 for a large site, with a complete user request space available in all langages. If some content is

Re: Good practise for international site (URI-designing)

2004-08-17 Thread Olivier Lange
age (a Flash animation). Then there is a homepage for each language. -- Olivier Upayavira wrote: Olivier Lange wrote: Hi Joose I used option 2 for a large site, with a complete user request space available in all langages. If some content is not available in some language, I put an explicit ment

Re: javascript in XSL

2004-08-16 Thread Olivier Lange
quot; language="JavaScript" src="tree.js">var thisGetsIgnoredButdoNotRemove; -- Olivier Siaw Ling Lo wrote: hi, I am using cocoon2 and trying to build a tree that can collapse and expand when click. I tried various methods in getting the javascri

Re: Good practise for international site (URI-designing)

2004-08-16 Thread Olivier Lange
: the linkmap gets translated in each language also, of course. The message catalogs are generated. -- Olivier Joose Vettenranta wrote: Hi, I came to think what would be the best way to make site accessible with several languages.. Option 1: Make a localeaction which saves locale information to se

Re: Create new form model for later binding

2004-08-13 Thread Olivier Billard
Paul Bowler wrote: I've got form binding working nicely for existing form documents in my XML database (thanks for all your help). However, this only works with data that alrady exists within the database. If I try to use it for a new form instance I get 'No cocoon form found' as there is no data

Re: Problem with " Resolving a source "

2004-08-13 Thread Olivier Billard
a great number of potential guy to read it. HTH -- Olivier Billard Vladimir Lisin wrote: Hi all, I have the next situation: There is directory D:\cocoon-2.1.5\build\webapp\html-xml\ There are two files : First is

Re: Action Sets

2004-08-12 Thread Olivier Billard
Hi Marco, The sitemap-variables scope change when you are in actions... try // here i can use the user id variable {ID} // the variable {../ID} is accessible ... HTH, -- Olivier Billard Marco Friedrich

Re: Read XML from DB

2004-08-12 Thread Olivier Billard
Some doc in the javadoc : http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/source/impl/BlobSource.html Stephan Coboos wrote: Olivier Billard wrote: Hi Stefan, You can use the FileGenerator with the blob: pseudoprotocol : Ahh, that looks good. Thank you. Is it documented

Re: Read XML from DB

2004-08-12 Thread Olivier Billard
Hi Stefan, You can use the FileGenerator with the blob: pseudoprotocol : HTH, -- Olivier Billard Stephan Coboos wrote: Hello, is there a generator (or other component) available, which reads a textfield (contains wellformed xml) form a db (relational, oracle) and includes the text as xml

Re: xml parsing problem

2004-08-12 Thread Olivier Billard
Hi, AFAIK, a well-formed XML file must begin with the '<' caracter of the If your file does start with an empty line, it is not a well-formed XML file, at the same level as a file that would have a closing tag different from the opening one. -- Olivier Billard [EMAIL PROTECTED] w

Re: passing sitemap parameters to XSP?

2004-08-11 Thread Olivier Billard
Try Jan's solution, I forgot the root element... Olivier Billard wrote: You must surroud your Java code with . Without it, it is considered to be output. HTH, -- Olivier Lars Huttar wrote: OK, I'm still struggling... I'm not used to putting raw Java code in an XSP page

Re: passing sitemap parameters to XSP?

2004-08-11 Thread Olivier Billard
You must surroud your Java code with . Without it, it is considered to be output. HTH, -- Olivier Lars Huttar wrote: OK, I'm still struggling... I'm not used to putting raw Java code in an XSP page. I tried: http://apache.org/xsp"; xmlns:xsp-request="http://apache

Re: passing sitemap parameters to XSP?

2004-08-11 Thread Olivier Billard
nt is _sitemap_ parameters : parameters.getParameter("id"); HTH, -- Olivier Billard PS : in general, you should have a look at the list archives before posting, you could have your answer more quickly :) ex for your question : http://marc.theaimsgroup.com/?t=10825536

Re: Problem with xsp/esql

2004-08-11 Thread Olivier Billard
time you call your XSP, I'm not sure there is a gain. But I'm not a JDBC pro. -- Olivier Billard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with xsp/esql

2004-08-11 Thread Olivier Billard
. -- Olivier PS : I personnaly don't user and escape them via a function... it avoids these brain-twisters... Thomas Zehetbauer wrote: In my opinion this does not look "simple" or "nice" and only allows me to execute 2 of the desired 3 queries, how should I reformat this o

Re: Problem with xsp/esql

2004-08-10 Thread Olivier Billard
This can be done using other variables : orderBy, parameter, etc, that you determine before the , which will look like : queryStart ... param ... sortBy -- Olivier Thomas Zehetbauer wrote: Unfortunately I need to use and although I request the same columns I use different select and

Re: Problem with xsp/esql

2004-08-10 Thread Olivier Billard
Thomas, There is no pb here, with the code I proposed : since you request the same columns, the code works without change... Thomas Zehetbauer wrote: Hi Olivier, this may explain why my -> -> construct does not work. But how then can I use the same block for different queries returni

Re: Url

2004-08-10 Thread Olivier Billard
PS : write your mails in plain text, please... -- Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Url

2004-08-10 Thread Olivier Billard
ht page cocoon.sendPage("cocoon:/url2"); return; } } more info here : http://wiki.apache.org/cocoon/Flow -- Olivier Billard Adriano Smith wrote: Olivier, This is what i intend to do: There will be three parameters sent in the url by the user. Something like: http://localhost:/mail

Re: Url

2004-08-10 Thread Olivier Billard
the sitemap will look like : (not sure about the mime type) or if you want to do something with the file : -- Olivier Billard Adriano Smith wrote: For the url: http://localhost:/mail/blue.wml?uid=key The sitemap snippet is However i get the error: Could not get resour

Re: Problem with xsp/esql

2004-08-10 Thread Olivier Billard
{ query = ""; } else ... query -- Olivier Billard Thomas Zehetbauer wrote: Hi, I would like to use the same block for currently three different queries that return the same fields but use distinct conditions and parameters. I tried to use a block for choosing the

Re: Url

2004-08-09 Thread Olivier Billard
requestParameter = cocoon.request.getParameter("MyParameter"); in sitemap : etc... You'll have more examples in the cocoon doc. -- Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: flowscript - pipeline has already been processed...

2004-08-09 Thread Olivier Billard
Page(page2) if (condition) { cocoon.sendPage(page1); // exit the function return; } // condition did not match cocoon.sendPage(page2) HTH, -- Olivier Billard [EMAIL PROTECTED] wrote: hi, i have an IllegalStateException when trying to aggregate a flowscript res

Re: Dynamic XMLs

2004-08-09 Thread Olivier Billard
Narasingarao, I think this link is what you need : http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html HTH, -- Olivier Billard Narasingarao Kommireddi wrote: Hi , I am new to Cocoon and woking on generating PDF documents on the fly. I have to generate PDF per user, based on userid

Re: Uploading directories

2004-08-02 Thread Olivier Billard
Scott, As far as I know, it is not possible. But you can upload a zip file containing the files of the directory. -- Olivier Billard Scott Yeadon wrote: Hi, I need to upload all files in a specified directory, however the Upload widget (or xhtml input type="file") does not allow sele

Re: changing request attributes in map:part

2004-07-30 Thread Olivier Billard
this by mapping request parameters to the right parameters... HTH -- Olivier Billard Rui Alberto L. GonÃalves wrote: > Hi all, > > I have this pipeline that dumps a XML file according the parameters > in the request. > > > > > > > >

Re: xml validation

2004-07-29 Thread Olivier Billard
] : http://wiki.apache.org/cocoon/ValidationTransformer [2] : http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2 PS : This question has been asked many times. Please take a look at the list archives [2] for more details Hope this helps, -- Olivier

Re: xml validation

2004-07-29 Thread Olivier Billard
Hi George, This is more a general XML parser question. You'll find what you want here : http://xml.apache.org/xerces2-j/ HTH, -- Olivier Billard George Singer wrote: Is it possible to validate an XML document using a DTD / W3C Schema (for development work only) ? If so can anyone give a s

Re: How can I extract values from XML within an Action?

2004-07-29 Thread Olivier Billard
Action must be Serviceable (ie must extend ServiceableAction) to get access to the cocoon component manager. -- Olivier Billard Jeff Jones wrote: I'm getting lost in Cocoon docs and could use a pointer or two. Could anyone help me out? I'm writing an Action to perform the following steps:

Re: woody: 1 form, multipe pages

2004-07-28 Thread Olivier Billard
cript that manages the flow between pages, with buttons like "next", "back". -- Olivier Billard Matthias Pekny wrote: Gunter D'Hondt wrote: Have you tried using multiple binding definitions (and multiple Binding instances)? You might also use 1 form and 1 binding but multip

Re: woody: 1 form, multipe pages

2004-07-28 Thread Olivier Billard
:fields in every page you don't want to use them. Otherwise, they won't be in the binding and their values would be set to "null". -- Olivier Billard *"Matthias Pekny" <[EMAIL PROTECTED]>* 28/07/2004 11:11 Please respond to [EMAIL PROTECTED] To [EMAIL P

Re: how to avoid 'generator already set' error in flowscript loop ? RE POST

2004-07-27 Thread Olivier Billard
Did you try the javascript debugger ? You should be able to trace the execution flow, look at the variables values and test conditions. -- Olivier [EMAIL PROTECTED] wrote: Guys, thanks for thinking along, but what I'd really like to do is: myFunction() { success = false; e

Re: Antwort: Re: jxtemplate: jx:if strange behaviour :)

2004-07-26 Thread Olivier Billard
the jx tags really interpreted (in other, you may have tags after your generation) ? It happened to me when I forgot to declare the jx namespace. -- Olivier Billard Stephane Delort wrote: Hi all, sorry to post with the same title as a previous thread but my problem is quite the same : I would

Re: jxtemplate: jx:if strange behaviour :)

2004-07-26 Thread Olivier Billard
Hi Stephane, Are you sure you set the correct namespace ? Are the jx tags really interpreted (in other, you may have tags after your generation) ? It happened to me when I forgot to declare the jx namespace. -- Olivier Billard Stephane Delort wrote: Hi all, sorry to post with the same title as

Re: how to avoid 'generator already set' error in flowscript loop? RE POST

2004-07-26 Thread Olivier Billard
Thomas Kjeldahl Nilsson wrote: Yes, I know this. It was meant as suggestion for the problems Helma has in the original question. :) Ok sorry, I didn't read the end... :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: how to avoid 'generator already set' error in flowscript loop? RE POST

2004-07-26 Thread Olivier Billard
Thomas, I think you're right. cocoon.sendPage() is not equivalent to return. You have to explicitly set a return after a cocoon.sendPage that is not at the end of a function. If not, Cocoon continues to execute the code after redirecting the request. I already experienced this type of error. In

Re: Singleton Cocoon Components

2004-07-26 Thread Olivier Billard
Hi Arnab, This question was already asked 10 days ago : http://marc.theaimsgroup.com/?t=10900108245&r=1&w=2 You'll find what you want. -- Olivier Billard Arnab Sengupta wrote: Hi everybody, I am facing a problem in cocoon and need some advice. In sitemap, there are 2 components

Re: Binding of boolean value (CForms)

2004-07-23 Thread Olivier Billard
Re-reading you binding, I think you've missed a "koordination-phasen-beginn" element, because that what the xpath engine is looking for : Katharina Geissler wrote: Hi Olivier, I've already tried that -

Re: Binding of boolean value (CForms)

2004-07-23 Thread Olivier Billard
Hi Katharina, Try to add the "checkbox" attribute in the "on-insert-row" : -- Olivier Billard Katharina Geissler wrote: Hi there, if got a problem with the binding of an boolean value. It displays well and also sets the attri

Re: Accessing authentication/ID through JX Generator

2004-07-23 Thread Olivier Billard
=10868059710&r=1&w=2 [2] http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionBindingListener.html -- Olivier Thanks Derek [EMAIL PROTECTED] 2004/07/23 11:07:39 AM >>> Derek Hohls wrote: ng You say: "Notice the authentication action, without it ID

Re: Linking SQL Transformer and XSL Transformer

2004-07-23 Thread Olivier Billard
Hi Derek, Derek Hohls wrote: Olivier I still disagree - the SQLtransfomer is a much better alternative than XSP-ESQL for simple cases; its possible that there are very complex cases that may not be handled but, even then, the JXTemplateGenerator will give you a lot of additional flexbility to

Re: Accessing authentication/ID through JX Generator

2004-07-23 Thread Olivier Billard
cleaning whith a "session-expiration-aware" attribute. -- Olivier Derek [EMAIL PROTECTED] 2004/07/22 03:52:59 PM >>> Hi Derek, Thank you very much for your reply. It seems like there is a neat alternative solutions. The user name (as well as other authentication info, like role) c

Re: Linking SQL Transformer and XSL Transformer

2004-07-22 Thread Olivier Billard
to do : - dynamically generate a query - display a table of results But I may be wrong on its intentions. -- Olivier Derek Hohls wrote: Sorry, I disagree - XSP is pretty much deprecated and certainly not necessary in this case... Derek [EMAIL PROTECTED] 2004/07/22 03:02:43 PM >>> Hi Matt, Usi

  1   2   3   4   >