cocoon : message d'erreur java.lang.OutOfMemoryError

2005-02-01 Thread Cathérine GOURGUET
Bonjour, je travaille sur cocoon depuis quelques mois, pour développer une application web paramétrable. Je développe donc un back office avec Cocoon forms qui permet d'enregistrer une css et des données dans un fichier xml. Lorsque j'enregistre souvent les paramètres que je modifie, j'arrive à

Cocoon development on Mac OSX

2005-02-01 Thread Adam Ratcliffe
Hi, I'm switching to Mac OSX as my primary development platform. Does anyone have any tips relating to Cocoon development on the mac? In particular I'm interested in recommendations on an IDE, I've been a devoted Eclipse user for some time on Windows and Linux and would probably stick with it

Re: Cocoon development on Mac OSX

2005-02-01 Thread Ugo Cei
Il giorno 01/feb/05, alle 09:12, Adam Ratcliffe ha scritto: I'm switching to Mac OSX as my primary development platform. Does anyone have any tips relating to Cocoon development on the mac? Get lots or RAM. 1GB is recommended. Get a fast CPU and a big screen. In particular I'm interested in

Re: Cocoon development on Mac OSX

2005-02-01 Thread beyaRecords
Hi, I'm switching to Mac OSX as my primary development platform. Does anyone have any tips relating to Cocoon development on the mac? In particular I'm interested in recommendations on an IDE, I've been a devoted Eclipse user for some time on Windows and Linux and would probably stick with it if

RE: Cocoon development on Mac OSX

2005-02-01 Thread Adam Ratcliffe
Performance is acceptable if: a) you have lots of RAM b) you have a fast CPU c) you use a 3.1 milestone instead of a 3.0 release Having said that, I occcasionally use Eclipse on a 1.25GHz, 15 PowerBook with 512MB RAM. I can stand it, but I wouldn't use it as my primary development

Re: [Portal] menus and i18n

2005-02-01 Thread David Duhme
Hi, I don't know what you mean by more dynamic contents, ok sorry, I admit that it's not clear what that means. I was talking about content coming from a database (relational or in my case lotus notes database). I'm working on a solution to translate view headers that are defined on

Link Hosting:

2005-02-01 Thread StartCom Ltd.
Hi, Could you change the underlying link of page http://cocoon.apache.org/link/hosting.html at the entry: "MediaHost Developer Accounts - from Cocoon 1.8.2 up to latest Cocoon 2.1" to point to http://www.mediahost.org/ and not to http://dev.startcom.org/ ? Thanks a lot! -- Regards Signer:

Re: Link Hosting:

2005-02-01 Thread beyaRecords
Title: Re: Link Hosting: Hi, Could you change the underlying link of page http://cocoon.apache.org/link/hosting.html at the entry: MediaHost Developer Accounts - from Cocoon 1.8.2 up to latest Cocoon 2.1 to point to http://www.mediahost.org/ and not to http://dev.startcom.org/ ? Thanks a lot!

Re: XSP output

2005-02-01 Thread Leszek Gawron
Mygrp wrote: I have some java code in an XSP inside the xsp:logic tag. If i try and do a system.out.println inside the java code, where can i see the output. I would like to print the exception that is being thrownwhere can this exception be seen? md

Re: How to set HTTP response status code

2005-02-01 Thread Leszek Gawron
Adam Ratcliffe wrote: I'm implementing a REST style web service using Cocoon. In the event that a consumer of the service requests a resource that doesn't exist the service should return a 404 error. Ideally I would do this from within the flow layer, something like: cocoon.sendError(404, No

Re: Link Hosting:

2005-02-01 Thread Stefan Geelen
Hi, Checkout http://www.kattare.com They have 1. Jboss (check version on there website) 2. postgresql (check version on there website) 3. cocoon 2.X.X (you can install your own versoin in your own environment). Last year we moved to Tomcat, Cocoon and MSSql and we needed there support . There

Re: Link Hosting:

2005-02-01 Thread beyaRecords
Hi, Checkout http://www.kattare.com They have 1. Jboss (check version on there website) 2. postgresql (check version on there website) 3. cocoon 2.X.X (you can install your own versoin in your own environment). Last year we moved to Tomcat, Cocoon and MSSql and we needed there support . There

RE: javac install problem

2005-02-01 Thread Martinson, Theresa
This is a known bug. Check out the workaround at the bottom of this link. http://issues.apache.org/bugzilla/show_bug.cgi?id=30883 Theresa David Delmar wrote: On build i get the following error msg: javac: target release 1.3 conflicts with default source release 1.5 BUILD FAILED (i have java

mysql error

2005-02-01 Thread Adriano Smith
I get the error when i try to make a connection to aDB. java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver whatis the possible cause of this ? Do i need to have the classpathpointing to some driver? where r the drivers usually incocoon? regds smith

Re: mysql error

2005-02-01 Thread beyaRecords
Title: Re: mysql error I get the error when i try to make a connection to a DB. java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver what is the possible cause of this ? Do i need to have the classpath pointing to some driver? where r the drivers usually in cocoon? regds smith Adriano,

AW: mysql error

2005-02-01 Thread José Ferreiro - TSSAG
http://cocoon.apache.org/2.1/developing/datasources.html (introduction about DBs) more detailed information about drivers here: http://wiki.apache.org/cocoon/DatabaseConnectionOverview and specific explanations for your mysql driver here (connection, installing, settings):

Rhino interpreter / continuations source code

2005-02-01 Thread Surj Singh
Hi there, Does anyone know where I can find the source code to the Rhino interpreter used by Cocoon? (I'm trying to find out how the class NativeJavaClass works). All the leads I have so far point to the old CVS server, which clearly is not online anymore. Thanks, Surj -- Merlin Information

Re: Rhino interpreter / continuations source code

2005-02-01 Thread Reinhard Poetz
Surj Singh wrote: Hi there, Does anyone know where I can find the source code to the Rhino interpreter used by Cocoon? (I'm trying to find out how the class NativeJavaClass works). All the leads I have so far point to the old CVS server, which clearly is not online anymore. Thanks, Surj

RE: Rhino interpreter / continuations source code

2005-02-01 Thread Bart Molenkamp
Maybe you're looking for this: http://cocoondev.org/main/117/31.html SVN: http://svn.cocoondev.org/repos/rhino+cont/ Bart. -Original Message- From: Surj Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 2:05 PM To: users@cocoon.apache.org Subject: Rhino interpreter /

Re: [Portal] coplet transformer links

2005-02-01 Thread David Duhme
Hi, Are you using CachingURICoplet or URICoplet ? I'm using the CachingURICoplet David. Hi David, Just a hint: i keep cl:links for URI coplets, with cachingURI coplets i usually use cl:links and bookmarks to transfer some data to another coplet or pass

Re: loops in XSP

2005-02-01 Thread Andreas Hartmann
[EMAIL PROTECTED] wrote: Well, you maybe right... Sometimes i get confused of when i should use the xsp:content tag... I think only when you want to write a tag with a xsp:expr in between, is that right? You use it to denote that you want a text snippet to be generated as XML, not compiled as

how to extract XML-Excel transformation from cocoon?

2005-02-01 Thread Ruslan Cheremin
Good day, I'm searching the way to easy transformate data in xml file to excel format. Cocoon does the thing, but I need to intergate this feache in may application -- I don't want to run cocoon only for make fo transformation. So, my question is: I can make xsl transformation and get xml with

Re: [Cocoon-Users] how to extract XML-Excel transformation from cocoon?

2005-02-01 Thread irv
You can use the POI project directly if you want: http://jakarta.apache.org/poi/ The other option we have used on our projects (not sure if it works for you) is that you can send simple XHTML to excel and it will read it fine. You can even put in specific xml things for excel in it. (For

Re: [Cocoon-Users] how to extract XML-Excel transformation from cocoon?

2005-02-01 Thread Ruslan Cheremin
Thanks for your reply... As I can see, POI project give me the possibility to read, create, modify .xls files. We use now POI in our project to create .xls output. But we do it by series of call like createCell(..), setCellStyle(...) etc. Thing what I need, is ablility to use xsl to

Trouble getting fop to work with cocoon CLI

2005-02-01 Thread Peter Gustafsson
Hi. I have this strange problem with fop in combination with cocoon. What I try to do is to make a offline archive of my cocoon pdf files. I use the cocoon command line interface (CLI) to accomplish this. The problem however is that fop fail's to render images. It prints out the error message

Re: [Cocoon-Users] how to extract XML-Excel transformation from cocoon?

2005-02-01 Thread irv
Ok, if you want that out of cocoon, you need to look in src/blocks/poi The end class that is used in cocoon is org.apache.cocoon.serialization.HSSFSerializer. It extends through two classes, both are in the same directory. They make use of helper components that are in

jxtemplate formatNumber question

2005-02-01 Thread Thorsten Scherler
Hello list, I am trying to format some numbers, but it seems that I make an error. I would like to have e.g. 30,00¤ or 56,60¤. I mean I want 2 decimal behind the coma. I am using something like the following: jx:formatNumber value=#{order/net_sum * 1.16} type=currency currencyCode=EUR

Re: jxtemplate formatNumber question

2005-02-01 Thread Carlos Chávez
Thorsten Scherler Escribio :-) Hello list, I am trying to format some numbers, but it seems that I make an error. I would like to have e.g. 30,00¤ or 56,60¤. I mean I want 2 decimal behind the coma. I am using something like the following: jx:formatNumber value=#{order/net_sum * 1.16}

Re: jxtemplate formatNumber question

2005-02-01 Thread Carlos Chávez
Carlos Chávez Escribio :-) Thorsten Scherler Escribio :-) Hello list, I am trying to format some numbers, but it seems that I make an error. I would like to have e.g. 30,00¤ or 56,60¤. I mean I want 2 decimal behind the coma. I am using something like the following: jx:formatNumber

Re: [Cocoon-Users] how to extract XML-Excel transformation from cocoon? -- solution

2005-02-01 Thread Ruslan Cheremin
Thanks for all for your help, I've found what I need in POI users list The code sniplet is: File infile = new File( c:/jtrump/test/test.xml ); File outfile = new File( c:/jtrump/test/test.xls ); try { outfile.createNewFile(); OutputStream fos = new FileOutputStream( outfile );

[Fwd: Re: jxtemplate formatNumber question]

2005-02-01 Thread Thorsten Scherler
-- thorsten Together we stand, divided we fall! Hey you (Pink Floyd) ---BeginMessage--- El mar, 01-02-2005 a las 17:23, Carlos Chávez escribió: Carlos Chávez Escribio :-) Thorsten Scherler Escribio :-) Hello list, I am trying to format some numbers, but it seems that I make an

Re: mysql error

2005-02-01 Thread WHIRLYCOTT
Incidentally, that's a very old version of Mark Matthew's driver. You may want to the latest MySQL JDBC driver (I believe he works for mysql now): http://www.mysql.com/products/connector/j/ phil. Adriano Smith wrote: I get the error when i try to make a connection to a DB.

Re: creating a source protocol

2005-02-01 Thread Lionel Crine
That's fine. I take example from the xmldbSource and zipsource. Thanks Bertrand Delacretaz wrote: Le 28 janv. 05, à 11:47, Lionel Crine a écrit : ...I'd like to create a source component in the cocoon. Is there any technical documentation to do that ? Dunno about docs but CVSSource might be a

[Jobs] Cocoon / XSLT People Needed

2005-02-01 Thread Agile Jack
[Duplicate of post to dev list] Agile Partners is a 17-person professional services firm, working with Really Big Companies. About 80% of our work revolves around Cocoon. We're based in the U.S., in the New York City / New Jersey area. We're growing and are looking to add several full-time

Cocoon install

2005-02-01 Thread IT - Williams, Katherine
Title: Message Hello, I'm a complete newbie to Cocoon, so please bear with me. I've downloaded all of the Cocoon files into my C drive, and now I'd like to install them. I've looked through all of your documentation, including your INSTALL.txt file, but I'm completely lost. I want to use

Re: [Portal] coplet transformer links

2005-02-01 Thread Philippe Guillard
David Duhme wrote: Hi, Are you using CachingURICoplet or URICoplet ? I'm using the CachingURICoplet David. Hi David, Just a hint: i keep cl:links for URI coplets, with cachingURI coplets i usually use cl:links and bookmarks to transfer some data to another coplet or pass

Re: Cocoon development on Mac OSX

2005-02-01 Thread Bertrand Delacretaz
Le 1 févr. 05, à 09:12, Adam Ratcliffe a écrit : I'm switching to Mac OSX as my primary development platform. Does anyone have any tips relating to Cocoon development on the mac?... The default character encoding for the JVM on the mac is usually not what you expect. I always set the encoding

Re: Cocoon install

2005-02-01 Thread WHIRLYCOTT
Katherine, If you just want to transform XML using XSLT, you don't *necessarily* need Cocoon, although Cocoon will do this. If your needs are just as simple doing XSLT transforms, you could use Xalan or something else instead. phil. IT - Williams, Katherine wrote: Hello, I'm a complete

Re: Cocoon install

2005-02-01 Thread Jens Maukisch
Hi,   Can you give me or forward me to a very simple instruction list for installing Cocoon? Thanks.   First of all you have to compile cocoon. This is normally very simple if you have set the JAVA_HOME correct. Just go to the directory where you have unzipped cocoon an type build webapp or

open a new browser in flowscript

2005-02-01 Thread Paul Joseph
Hi, In my flowscript, I would like to open a brand new browser and make an http call whose results will go into this new browser... Is this possible? Any tips on how to do this will be much appreciated! thx Paul = This communication, including attachments, is for the exclusive use of the

Re: open a new browser in flowscript

2005-02-01 Thread WHIRLYCOTT
I'm not sure how you envision this working, but flow is server side. f you can figure out how to open a new browser with flow, it would be very interesting since it would result in a new browser window being created on the server You could do something like what you ask by using a

Re: open a new browser in flowscript

2005-02-01 Thread Paul Joseph
I hear what you are saying re. flow being server side. I can open the new browser using client side JS, but the url is dynamic and obtained from the flow logic. so yes, a) i can throw up a new browser using client side js and b) the flow creates the new url. I am not clear on how to get the

Re[2]: open a new browser in flowscript

2005-02-01 Thread Jens Maukisch
Hi Paul Joseph, I can open the new browser using client side JS, but the url is dynamic and obtained from the flow logic. so yes, a) i can throw up a new browser using client side js and b) the flow creates the new url. I am not clear on how to get the flow to send the new url to the

Re: Re[2]: open a new browser in flowscript

2005-02-01 Thread Paul Joseph
Yes, thank you, this helped me finish the task! brgds Paul --- Jens Maukisch [EMAIL PROTECTED] wrote: Hi Paul Joseph, I can open the new browser using client side JS, but the url is dynamic and obtained from the flow logic. so yes, a) i can throw up a new browser using client

RE: How to set HTTP response status code

2005-02-01 Thread Adam Ratcliffe
Thanks Leszek, using the status-code attribute of the serializer is sufficient for my task. Cheers Adam -Original Message- From: Leszek Gawron [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 February 2005 12:49 a.m. To: users@cocoon.apache.org Subject: Re: How to set HTTP response

Accessing the Cocoon flow context from JAVA

2005-02-01 Thread Matt Robinson
Hello. Can anyone tell me how to obtain a reference to the Cocoon Flow Context from within a Source Factory? I have created a custom Source Factory called WebMetricsSourceFactory and I can get the Cocoon Environment Context with this call in the contextualize() method: this.envContext =

how to use JXTemplateTransformer?

2005-02-01 Thread Conal Tuohy
I have searched without success for documentation about the JXTemplateTransformer. Is there any? I want to transform an XHTML document, and for each hyperlink in the XHTML, I want to use JXPath to look it up in a Java model, and add some resulting data as a title attribute for the link. e.g.

Re: Cocoon install

2005-02-01 Thread Roberto
Title: Message Hi Katherine, well I wrote some instruction about how to install Cocoon, but are took from the Cocoon web site some other book, unfortunately are wrote in italian. So if you know italian I can send they, but trust me is very clear how is explained in the Cocoon web site.

Re: how to use JXTemplateTransformer?

2005-02-01 Thread gioni
Conal Tuohy wrote: I have searched without success for documentation about the JXTemplateTransformer. Is there any? http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html I want to transform an XHTML document, and for each hyperlink in the XHTML, I want to use JXPath to look it up in a Java