Re: Cocoon Main Site - PDF missing images ?

2004-06-08 Thread David Crossley
Okay, the website is updated now to fix the PDF issue. --David David Crossley wrote: Derek Hohls wrote: Is it just a problem on my side, or has anyone else noticed that images do not appear in the PDF versions of the Cocoon site pages... this makes them essentially using for

Cocoon with existing Struts application

2004-06-08 Thread Struts Developer
Hi All, Our current application is using STXX with Struts1.0.2 and now we need to use cocoon for some other stuff in the same application. In order to use Cocoon with Struts we need to use cocoonplugin and STXX and Cocoonplugin doesn't work together coz of request processor chaining. Now the

Action Pooling

2004-06-08 Thread Ole Hildebrandt
Hi, I wrote my own Action extending AbstractAcion. I configured it in the sitemap like this; map:action name=dispatchaction pool-min=4 pool-grow=4 pool-max=20 src=de.test.cocoon.DispatcherAction/ Exploring the Logs i found out that the Action is not Pooled:

Re: Action Pooling

2004-06-08 Thread Rui Alberto L.
AFAIK, Action interface is designed so that implementations can be ThreadSafe, reducing memory usage. Note that AbstractAction is a Action. But if you really want your component to be Poolable you must implement interface org.apache.avalon.excalibur.pool.Poolable To mark you component as

Re: Problem running Cocoon 2.0.4 with Tomcat 5.0.25

2004-06-08 Thread adrian . dimulescu
The Tomcat logs would surely have stories to tell on this one ;) Irfan Hamid wrote: well one thing kinda bugs me. i type in http://localhost:8080/ and it works, so tomcat is working. but when i type http:/localhost:8080/cocoon it tells me that it couldnt find the application cocoon2, now why

Re: Cocoon hosting config hints

2004-06-08 Thread adrian . dimulescu
Upayavira wrote: Basically, you've got to get Jetty (or tomcat) to mount the webapp without the /cocoon/. Then, you mount your app on /, so that http://localhost:8080/ is your application, so that: http://mycocoonhost/ maps to http://localhost:8080/ Yes, that's what I thought. It's a pain

[ANN] How to use Groovy to get values of parameters from Forms ?

2004-06-08 Thread olivier demah
Hi, i've just adding this link http://wiki.cocoondev.org/Wiki.jsp?page=GroovyGetFormsParameters to the wiki and to the howto http://wiki.cocoondev.org/Wiki.jsp?page=HowTos i hope this could help... i'll continue to discover groovy and give you feedback ASAP. regards.

Problem with Cocoon and lenya

2004-06-08 Thread Jean-Yves Avenard
Dear all. I'm trying to run Lenya on a FreeBSD machine running Tomcat 4.1.30 and JDK 1.4.2. First of all: does lenya works with JDK 1.4? I keep reading about JDK 1.2 or 1.3 in the installation document and FAQ ; however with our site: www.hydrix.com which is based on struts, it doesn't work

Re: Cocoon hosting config hints

2004-06-08 Thread Upayavira
[EMAIL PROTECTED] wrote: Upayavira wrote: Basically, you've got to get Jetty (or tomcat) to mount the webapp without the /cocoon/. Then, you mount your app on /, so that http://localhost:8080/ is your application, so that: http://mycocoonhost/ maps to http://localhost:8080/ Yes, that's what I

Caching pipelines

2004-06-08 Thread Lionel Crine
Hi, I'd like to cache A pipeline, where can i find documentation implementing that. Thanks. Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70

Re: Problem with Cocoon and lenya

2004-06-08 Thread Thorsten Scherler
Hello Jean, wrong mailing list ;-). Use [EMAIL PROTECTED] but: Jean-Yves Avenard wrote: Dear all. I'm trying to run Lenya on a FreeBSD machine running Tomcat 4.1.30 and JDK 1.4.2. First of all: does lenya works with JDK 1.4? I keep reading about JDK 1.2 or 1.3 in the installation document and

xmlns=http://www.w3.org/TR/xhtml1/strict in HTML documents

2004-06-08 Thread Grange, John
Title: xmlns=http://www.w3.org/TR/xhtml1/strict in HTML documents I keep getting the following in my html documents from cocoon: tr xmlns=http://www.w3.org/TR/xhtml1/strict Also happens for *many* other html tags (but not all, funnyly enough) Any ideas how to turn it off as it

Re: [ANN] How to use Groovy to get values of parameters from Forms ?

2004-06-08 Thread Bertrand Delacretaz
Le 8 juin 04, à 13:01, olivier demah a écrit : ...http://wiki.cocoondev.org/Wiki.jsp?page=GroovyGetFormsParameters Groovy! thanks Olivier. -Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Exception handling

2004-06-08 Thread Oro smith
Im getting Unhandled exception type ParameterException for the statement: lang=parameters.getParameter(ups); try { }catch block gives error. is there any other way to handle exceptions? - Still single? Click here to find the perfect match.

RE: Problem running Cocoon 2.0.4 with Tomcat 5.0.25

2004-06-08 Thread Schultz, Gary - COMM
Try rebuilding Cocoon and redeploying. I've found that cocoon doesn't always build the same. I have Windows XP pro at work, 2.6 GHz Pentium 4 with 512 Meg Ram, and XP home at home, 2.4 GHz AMD Athlon with 786 Meg Ram. Same versions of Java (JDK 1.4.2_03)and Tomcat (5.0.18). Cocoon builds are not

Re: [ANN] How to use Groovy to get values of parameters from Forms ?

2004-06-08 Thread olivier demah
Bertrand Delacretaz wrote: Le 8 juin 04, à 13:01, olivier demah a écrit : ...http://wiki.cocoondev.org/Wiki.jsp?page=GroovyGetFormsParameters Groovy! thanks Olivier. -Bertrand i continue to try to do my best ;) - To unsubscribe,

Styling the fi:label ?

2004-06-08 Thread Derek Hohls
I know this is a trivial question, but... I want to style the fi:label, using a modified version of the forms-field-styling stylesheet, based on value and various other parameters, but I *cannot* find where the fi:label is transformed - clues please! Thanks Derek -- This message has been

Re: Caching pipelines

2004-06-08 Thread Jorg Heymans
In 2.0.x you need to make sure that the components your pipeline consists of implement Cacheable. I believe in 2.1.x it is enough to declare map:pipeline type=caching for your pipeline to be cached/cacheable. HTH Jorg Lionel Crine wrote: Hi, I'd like to cache A pipeline, where can i find

Re: Exception handling

2004-06-08 Thread Jorg Heymans
Oro smith wrote: Im getting Unhandled exception type ParameterException for the statement: lang=parameters.getParameter(ups); A more complete snippet would be in order. I would expect this Exception if the ups parameter does not exist. Try lang=parameters.getParameter(ups,defaultvalue) HTH Jorg

Re: Action Pooling

2004-06-08 Thread Jorg Heymans
Not sure why you decided to extend AbstractAction, there is the Action interface as well. My actions are usually declared as extends AbstractLogEnabled implements Action, Serviceable, ThreadSafe HTH Jorg Ole Hildebrandt wrote: Hi, I wrote my own Action extending AbstractAcion. I

Re: Styling the fi:label ?

2004-06-08 Thread Marc Portier
it's at various locations in this file http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/forms/samples/resources/forms-field-styling.xsl just search for 'label' there -marc= Derek Hohls wrote: I know this is a trivial question, but... I want to style the fi:label, using a modified version of

Re: Problem running Cocoon 2.0.4 with Tomcat 5.0.25

2004-06-08 Thread Jorg Heymans
versions of Java (JDK 1.4.2_03)and Tomcat (5.0.18). Cocoon builds are not the same file size. At home my apps auto deploy completely in about one different HD size could explain the different filesize, guess it depends on the blocksize. Jorg

Re: Caching pipelines

2004-06-08 Thread Lionel Crine
THanks. But how can I implements caching into my own transformer ? What would be the best to generate the key and to create the validity ? I took example from FileGenerator. I hope it will be enough to set the validity. I'll make some tests. Lionel At 14:52 08/06/2004 +0200, you wrote: In

Re: Exception handling

2004-06-08 Thread Oro smith
this is the entire code: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:util=http://apache.org/xsp/util/2.0; xmlns:xsp-session-fw=http://apache.org/xsp/session-fw/1.0; data xsp:logic String lang=loop;

Re: Exception handling

2004-06-08 Thread Ugo Cei
Oro smith wrote: Im getting Unhandled exception type ParameterException for the statement: lang=parameters.getParameter(ups); try lang=parameters.getParameter(ups, default value); if you can specify a default value. Otherwise, use try-catch try { }catch block gives error. is there any

[wiki] DeleteMe page

2004-06-08 Thread olivier demah
http://wiki.cocoondev.org/Wiki.jsp?page=DeleteMe i'm not agree to delete some of the pages listed of this page. for example : # FileUploadsWithFlow http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow *except* 'cocoon-upload.jar' # FileUploadsWithCocoon

[Caching] ANother question

2004-06-08 Thread Lionel Crine
Hi, How do I know if the cache is working ? Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70 - To unsubscribe, e-mail: [EMAIL

Re: Caching pipelines

2004-06-08 Thread Jorg Heymans
I created a caching requestgenerator for example that would only cache based upon certain requestparameters. Following logic was used (cocoon 2.0.x but should apply roughly to 2.1 as well), hope it helps your understanding public long generateKey() { StringBuffer cacheKey = new

Flow + Hibernate and lazy initialization

2004-06-08 Thread Nicolas Bielza
Hi, I ran into a small problem when using hibernate inside a flowscript and a velocity template to generate the XML from the hibernated objects. Here's what I'm doing: 1. Get a hibernate session and retrieve some objects from the DB. 2. Pass these objects to a velocity generator to create some

Re: [VOTE RESULTS] Cocoon PMC chair

2004-06-08 Thread Pier Fumagalli
On 7 Jun 2004, at 18:28, Steven Noels wrote: On 04 Jun 2004, at 10:32, Steven Noels wrote: Dear all, a nice set of people volunteered for taking on the PMC chair job and it's time we conclude this vote. :-) Thanks for your votes: this was a close call and we are bound to change the voting rules

Re: Accessing attributes in the sitemap

2004-06-08 Thread Craig Christophersen
Thanks for the reply. I had been messing with that module without success. In an action I have set the session attributes as session.setAttribute("docId", docId);session.setAttribute("userId", userId);session.setAttribute("fName", fName); (and I have no trouble getting those attributes in

Re: Flow + Hibernate and lazy initialization

2004-06-08 Thread Ugo Cei
Nicolas Bielza wrote: Hi, Now, when I serialize the velocity output to XML, there's no problem; if I add a XSL transform step and serialize to HTML, I get lazy initialization exceptions. snip/ Thanks for any idea or code sample, You might try the Open session in view pattern:

Re: Styling the fi:label ?

2004-06-08 Thread Derek Hohls
Marc Yes, thanks, that's what I did - none of the text that I entered alongside *any* of them seemed to make any difference - not sure why?? Ideally I'd like one central match that is called from each location so all the code processing can take place there (rather than the logic being

Re: Styling the fi:label ?

2004-06-08 Thread Marc Portier
Derek Hohls wrote: Marc Yes, thanks, that's what I did - none of the text that I entered alongside *any* of them seemed to make any difference - not sure why?? Ideally I'd maybe you could be more specific to what you did exactly (in template file as well)... and what you were expecting/trying

Re: [wiki] DeleteMe page

2004-06-08 Thread Joerg Heinicke
On 08.06.2004 15:57, olivier demah wrote: http://wiki.cocoondev.org/Wiki.jsp?page=DeleteMe i'm not agree to delete some of the pages listed of this page. for example : # FileUploadsWithFlow http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow *except* 'cocoon-upload.jar' #

Generated SVG - CSS/Stylesheet Processing Instruction Problem

2004-06-08 Thread Christoph Wieseke
hi all, i got some strange problem, maybe someone has made this experience before and know a solution. i generate a dynamic svg document via xsl-transformer and write it to disk with the source-write transformer, for later delivery to the client. so my problem is that i can't insert anything in

Re: Styling the fi:label ?

2004-06-08 Thread Derek Hohls
Okeydokey... some more digging into the code and docs to uncover the mysteries of cforms... What I have found is (probably old news to many): 1. Inserting a ft:widget-label tag in the form template causes 'untagged' label text, *as well as* the fi:label tag (arising from the form transform of

Re: Generated SVG - CSS/Stylesheet Processing Instruction Problem

2004-06-08 Thread Joerg Heinicke
On 08.06.2004 18:54, Christoph Wieseke wrote: i generate a dynamic svg document via xsl-transformer and write it to disk with the source-write transformer, for later delivery to the client. so my problem is that i can't insert anything in the svg file to reference an external css stylesheet. i

Re: [ANN] How to use Groovy to get values of parameters from Forms ?

2004-06-08 Thread Antonio Gallardo
olivier demah dijo: Hi, i've just adding this link http://wiki.cocoondev.org/Wiki.jsp?page=GroovyGetFormsParameters to the wiki and to the howto http://wiki.cocoondev.org/Wiki.jsp?page=HowTos i hope this could help... i'll continue to discover groovy and give you feedback ASAP. Great!

FLOWSCRIPT PROBLEM

2004-06-08 Thread ayana joseph
I am using cocoon 2.1.3 on windows XP. I have a woody form which when submitted should show an acknowledgement page (or error page if appropriate). The problem I am having is a very strange one, the first time I visit the form page I am immediately directed to the acknowledgment page. However,

call woody widget's method from outside of its widget definition?????

2004-06-08 Thread Christina
I want to call widget's method from outsideof the widget definition, for example from the linked _javascript_ code. but now I totally have no idea how, Would anybody throw me a light on it? Thank you very much!!

Cocoon 2.1.5-dev ?

2004-06-08 Thread Martín Mauri
Hi users! is the version that appears in http://apache.mesi.com.ar/cocoon/cocoon-2.1.5-src.tar.gz, the 2.1.5-dev one ? thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cocoon Main Site - PDF missing images ?

2004-06-08 Thread Derek Hohls
Much appreciated - this will help ease the learning curve a bit... btw, will it ever be possible to have this functionality in the distributed versions of Cocoon - the current off-line docs still have the ld look-and-feel. Derek [EMAIL PROTECTED] 06/08/04 8:33 AM Okay, the website is

RE: Flow + Hibernate and lazy initialization

2004-06-08 Thread Nicolas Bielza
Thanks, Unfortunately, this won't work for me as I'm not running cocoon in a servlet container. Nicolas. -Original Message- From: Ugo Cei [mailto:[EMAIL PROTECTED] Sent: 8 juin, 2004 11:22 To: [EMAIL PROTECTED] Subject: Re: Flow + Hibernate and lazy initialization Nicolas Bielza

Re: Cocoon Main Site - PDF missing images ?

2004-06-08 Thread Tony Collen
Derek Hohls wrote: Much appreciated - this will help ease the learning curve a bit... btw, will it ever be possible to have this functionality in the distributed versions of Cocoon - the current off-line docs still have the ld look-and-feel. Derek You need Forrest installed. I tried

Re: Bug in Forms v1, 2 3 using Cocoon v2.1.5, flow, javascript validation and debugging

2004-06-08 Thread Yatin Shah
I also have a similar problem. I upgraded to 2.1.5, and now my javascript(flow) based forms(Cocoon Forms - woody) validation is no longer supported. I searched the mail list but could not really find a suitable solution. My requirement: Perform business level validation to ensure the entered

Re: Styling the fi:label ?

2004-06-08 Thread Joerg Heinicke
On 08.06.2004 16:33, Derek Hohls wrote: Yes, thanks, that's what I did - none of the text that I entered alongside *any* of them seemed to make any difference - not sure why?? Maybe the stylesheet was simply not reloaded. Though the caching is based also on the included stylesheets by default

Re: Bug in Forms v1, 2 3 using Cocoon v2.1.5, flow, javascript validation and debugging

2004-06-08 Thread Joerg Heinicke
On 08.06.2004 23:20, Yatin Shah wrote: My requirement: Perform business level validation to ensure the entered data are valid before notifying the user that their form request is accepted and refreshing the web page with acceptance message. [business level: requires access to external database

Re: xmlns=http://www.w3.org/TR/xhtml1/strict in HTML documents

2004-06-08 Thread Joerg Heinicke
On 08.06.2004 13:34, Grange, John wrote: I keep getting the following in my html documents from cocoon: tr xmlns=http://www.w3.org/TR/xhtml1/strict; Also happens for *many* other html tags (but not all, funnyly enough) Any ideas how to turn it off as it substantially increases the download time of

Re: Link: Guide: Cocoon Overview, Recorded Webcast (French)

2004-06-08 Thread Joerg Heinicke
On 07.06.2004 10:37, Jean-Louis Benard wrote: A one hour recorded webcast for a complete Cocoon overview, animated by Sylvain Wallez, Cocoon Committer. Free but registration required. Do you have an URL? Joerg - To unsubscribe,

Re: Cocoon Main Site - PDF missing images ?

2004-06-08 Thread David Crossley
Tony Collen wrote: Derek Hohls wrote: Much appreciated - this will help ease the learning curve a bit... btw, will it ever be possible to have this functionality in the distributed versions of Cocoon - the current off-line docs still have the ld look-and-feel. You need Forrest

Re: Cocoon Main Site - PDF missing images ?

2004-06-08 Thread Joerg Heinicke
On 08.06.2004 22:54, Tony Collen wrote: Much appreciated - this will help ease the learning curve a bit... btw, will it ever be possible to have this functionality in the distributed versions of Cocoon - the current off-line docs still have the ld look-and-feel. You need Forrest installed.

Re: XMLDBTransformer namespaces

2004-06-08 Thread Joerg Heinicke
On 08.06.2004 15:47, Rui Alberto L. Gonalves wrote: Hi, I'm using cocoon 2.1.5 + tomcat 5.0.25. XMLDBTransformer is now working ok, but while saving documents with namespaces into the database, namespaces are lost!! Ideas?? Thanks for any help! Maybe you can find and provide additional information

Re: Problem running Cocoon 2.0.4 with Tomcat 5.0.25 (solved with older versions)

2004-06-08 Thread Irfan Hamid
Hi, I got a book by Lajos Moczar called Cocoon Developer's Handbook. In the book he has explained installation using Cocoon 2.0.3, Tomcat 4.0.5 and JDK 1.3. So I also downloaded Cocoon 2.0.3 and Tomcat 4.0.5. Well I followed it step by step and Cocoon is finally up and running. Since I only

{../0} {../../locale} - What is this stuff???

2004-06-08 Thread Terry Brick
Hi, I'm sure I'm being overlooking the obvious, but I just spent about 2 hours searching for documentation on this stuff and I just can figure it out. It's frustrating because I know when I first started playing with Cocoon, I saw some doc on this (although I didn't understand it at that time

Re: Cocoon Main Site - PDF missing images ?

2004-06-08 Thread Derek Hohls
Tony Thanks for the update - the discrepancy in presentation does not bother me that much; maybe for a newbie it might be a bit jarring (;-0) If its a major effort but not that critical, then its unreasonable to expect a change anytime soon. Derek PS Sorry about the cross=post - its this web

Re: {../0} {../../locale} - What is this stuff???

2004-06-08 Thread Antonio Gallardo
Hi: See http://wiki.apache.org/cocoon/SitemapVariableSubstitution Best Regards, Antonio Gallardo Terry Brick dijo: Hi, I'm sure I'm being overlooking the obvious, but I just spent about 2 hours searching for documentation on this stuff and I just can figure it out. It's frustrating