[ANN] Myotis 0.90

2005-04-14 Thread Aurélien DEHAY
Bonjour tous. Je suis heureux de vous annoncer la sortie de Myotis 0.90 sous licence GPL. Myotis est un CMS (pourquoi ne pas avoir pris Lenya ou Daisy me direz-vous, voir les archives ;) ) bas sur Cocoon et reposant sur une base de donnes postgresql. Ses principales fonctionnalits sont: *

Re: CocoonAndHibernateTutorial precisions

2005-04-14 Thread Johannes Textor
Hi Sebastien, which version of hibernate are you using ? Nothing seems wrong with these messages though, Hibernate would complain explicitly if anything went wrong. Greetings, Johannes Sebastien Arbogast schrieb: Hi, I'm following wiki CocoonAndHibernateTutorial ti integrate Hibernate into Cocoon

Re: CocoonAndHibernateTutorial precisions

2005-04-14 Thread Sebastien Arbogast
So far I intend to use Hibernate 2.1.8 as AndroMDA, which I plan to use for code generation doesn't integrate with Hibernate 3 yet. On 4/14/05, Johannes Textor [EMAIL PROTECTED] wrote: Hi Sebastien, which version of hibernate are you using ? Nothing seems wrong with these messages though,

WAR file deploys without sitemap.xmap files?

2005-04-14 Thread Derek Hohls
I have just run a Cocoon build on a new machine, using: Cocoon 2.1.5.1, Tomcat 4.1.31 and Java 1.4.2 When I access Cocoon via the Jetty servlet all is well; however, when I drop the war file into Tomcat and restart it, the error message: 'Resource not found: requested resource /cocoon/ could not

Re: WAR file deploys without sitemap.xmap files?

2005-04-14 Thread [EMAIL PROTECTED]
Derek Hohls wrote: I have just run a Cocoon build on a new machine, using: Cocoon 2.1.5.1, Tomcat 4.1.31 and Java 1.4.2 When I access Cocoon via the Jetty servlet all is well; however, when I drop the war file into Tomcat and restart it, the error message: 'Resource not found: requested resource

Re: WAR file deploys without sitemap.xmap files?

2005-04-14 Thread Derek Hohls
The war file does contain the sitemap.xmap files... so it looks like these files have not been extracted after the Tomcat restart ... very strange as I have not seen this before. Not a Cocoon problem, then, but I am not sure what to do now? [EMAIL PROTECTED] 2005/04/14 10:22:59 AM Derek Hohls

Cocoon and eXist integration

2005-04-14 Thread Arsen A. Gutsal
Hello all. I'm interested in integrating eXist XML DB and Cocoon. Who knows about that? -- Sincerely, Arsen A. Gutsal SOFTSKY Ltd CEO/Executive SOFTSKY - Cost effective Software Development - To unsubscribe, e-mail: [EMAIL

Re: Cocoon and eXist integration

2005-04-14 Thread Ben Pope
Arsen A. Gutsal wrote: Hello all. I'm interested in integrating eXist XML DB and Cocoon. Who knows about that? Start here: http://wiki.apache.org/cocoon/HowTos Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Cocoon and eXist integration

2005-04-14 Thread wim den ouden
http://wiki.exist-db.org/space/CocoonInstall http://exist.sourceforge.net/devguide.html#N1048E gr wim On 4/14/05, Arsen A. Gutsal [EMAIL PROTECTED] wrote: Hello all. I'm interested in integrating eXist XML DB and Cocoon. Who knows about that? -- Sincerely, Arsen A. Gutsal SOFTSKY Ltd

CHS and asm-errors

2005-04-14 Thread Jonny Becker
Hi, I'm experimenting to move the CHS from Hibernate2 to Hibernate3. Thanks to the help of this list, I got the CHS with Hibernate2 finally running on Cocoon 2.1.7. Now I'm experiencing errors with my Hibernate3 implementation. It compiles normally. But on startup I'm always getting this kind

Problems creating a drop down selection box

2005-04-14 Thread beyanet.com
Hi, I am trying to create a form selection box as follows: ft:widget id=some name fi:styling list-type=listbox/ /ft:widget Used in conjunction with forms-advanced-field-styling.xsl in my sitemap I should get: select option value=XX/option /select right? If so, why is an input

Re: Problem getting an object out of a drop down list

2005-04-14 Thread Leszek Gawron
beyanet.com wrote: Ok, let me explain. I have a html page which presents a selection of previous orders made by a client. In the option value section I place the associated order objects of a user like so: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option

Re: Problems creating a drop down selection box

2005-04-14 Thread Leszek Gawron
beyanet.com wrote: Hi, I am trying to create a form selection box as follows: ft:widget id=some name fi:styling list-type=listbox/ /ft:widget Used in conjunction with forms-advanced-field-styling.xsl in my sitemap I should get: select option value=XX/option /select right? If so, why is

Re: Flows Continuations

2005-04-14 Thread Leszek Gawron
stefan pickschneider wrote: Hello everybody, we have a problem using continuations... we have two forms: editParent and editChild - both use flowscript. in the editparent form is a repeater that shows the assigned child. if the user adds an child the editChild form is opened. so far we couldn't

Re: CHS and asm-errors

2005-04-14 Thread Leszek Gawron
Jonny Becker wrote: Hi, I'm experimenting to move the CHS from Hibernate2 to Hibernate3. Thanks to the help of this list, I got the CHS with Hibernate2 finally running on Cocoon 2.1.7. Now I'm experiencing errors with my Hibernate3 implementation. It compiles normally. But on startup I'm always

[ANN] Myotis 0.90

2005-04-14 Thread Aurélien DEHAY
Hello. I'm proud to announce the release of myotis 0.90. Myotis is a CMS based on cocoon/postgresql. Its main features are: * content type based (articles, news, tips, howtos, etc.) * comments on all contents * wiki syntax for content * web based administration interface

Re: State of the documentation effort

2005-04-14 Thread Reinhard Poetz
Derek Hohls wrote: Reinhard The broad structure seems fine; and I think the brutus site should reflect this i.e. there is currently a 'Tutorial', 'Documentation' and 'Blocks' tabs; maybe add/change these to : 'Getting Started','Tutorials', 'Reference Docs' (with blocks being a subtopic under

Live site.

2005-04-14 Thread Aurélien DEHAY
Hi all. http://logicielslibres.info (fr) is powered by cocoon 2.1.7. Rather empty for the moment, the aim is to provide informations about free software (news, articles, tips). It's based on myotis (http://myotis.org) which is powered by cocoon. Hosted by john compagnies

Re: State of the documentation effort

2005-04-14 Thread Reinhard Poetz
Reinhard Poetz wrote: Upayavira and I rewored the ref docs so that they reflect Cocoon 2.2 and not a mixture of Cocoon 2.0 and Cocoon 2.1 uups, strange typo: read reworked instead of rewored -- Reinhard Pötz Independent Consultant, Trainer (IT)-Coach {Software Engineering, Open

Re: ThreadSafe Marker On InputModules?

2005-04-14 Thread Leszek Gawron
[EMAIL PROTECTED] wrote: [Posted for a colleague] Hello, can anyone explain, how the org.apache.avalon.framework.thread.ThreadSafe marker interface modifies the instantiation handling for classes derived from org.apache.cocoon.components.modules.input.AbstractInputModule ? Does Cocoon ensure that

Re: Using InputModule

2005-04-14 Thread Leszek Gawron
Lionel Crine wrote: Hi all, I am a little bit annoying with an XMLFile InputModule that I have created. I'm using some information of this file in the sitemap doing : {myconf://somevalue} - that's fine But I've many components (own JAVA transformers,...) using those parameters and I don't see

Re: WAR file deploys without sitemap.xmap files?

2005-04-14 Thread [EMAIL PROTECTED]
Derek Hohls wrote: The war file does contain the sitemap.xmap files... so it looks like Extracting cocoon.war should yield cocoon/ cocoon.war these files have not been extracted after the Tomcat restart ... very strange as I have not seen this before. Not a Cocoon

[Job] Cocoon developers wanted

2005-04-14 Thread Matthew Langham
Hi, We are looking to expand our team of Cocoon developers ASAP -- insert emphasis here. We are working on various Cocoon based projects for large German-speaking corporations in cities such as Düsseldorf, Frankfurt, Vienna and of course Paderborn :). Freelance work may also be an option. So,

Re: CHS and asm-errors

2005-04-14 Thread Jonny Becker
Hi, It should help. did you exclude BSF block during cocoon build? No. Should I? Backing out asm-1.5.2.jar and asm-util-1.5.2.jar to asm-1.4.3.jar and asm-util-1.4.3.jar didn't help for me (when I had BSF included) for my Hibernate3 solution. Has someone got Spring-Hibernate3 experiences?

Re: CHS and asm-errors

2005-04-14 Thread Leszek Gawron
Jonny Becker wrote: Hi, It should help. did you exclude BSF block during cocoon build? No. Should I? Backing out asm-1.5.2.jar and asm-util-1.5.2.jar to asm-1.4.3.jar and asm-util-1.4.3.jar didn't help for me (when I had BSF included) for my Hibernate3 solution. Has someone got Spring-Hibernate3

Re: CHS and asm-errors

2005-04-14 Thread Jonny Becker
Hi, thanks for the quick response. But: It should help. did you exclude BSF block during cocoon build? No. Should I? thanks Jonny From: Leszek Gawron [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: Re: CHS and asm-errors Date: Thu, 14 Apr 2005 12:31:35

Re: Problem getting an object out of a drop down list

2005-04-14 Thread beyanet.com
beyanet.com wrote: Ok, let me explain. I have a html page which presents a selection of previous orders made by a client. In the option value section I place the associated order objects of a user like so: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option

Re: CHS and asm-errors

2005-04-14 Thread Leszek Gawron
Jonny Becker wrote: Hi, thanks for the quick response. But: It should help. did you exclude BSF block during cocoon build? No. Should I? I read a post some days ago that bsf relies on asm. If you remove bsf from your cocoon build you are free to put any asm version into cocoon lib directory and

Re: Live site.

2005-04-14 Thread Antonio Gallardo
On Jue, 14 de Abril de 2005, 4:55, Aurélien DEHAY dijo: Hi all. http://logicielslibres.info (fr) is powered by cocoon 2.1.7. Some advises: Cheking the request headers the site tell: X-Cocoon-Version: 2.1.6. 4 errors on the w3c validation for XHTML 1.0 compliance:

Re: Problem getting an object out of a drop down list

2005-04-14 Thread Leszek Gawron
beyanet.com wrote: beyanet.com wrote: Ok, let me explain. I have a html page which presents a selection of previous orders made by a client. In the option value section I place the associated order objects of a user like so: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option

Re: Live site.

2005-04-14 Thread Aurélien DEHAY
Le jeudi 14 avril 2005 06:55 -0500, Antonio Gallardo a crit : On Jue, 14 de Abril de 2005, 4:55, Aurlien DEHAY dijo: Hi all. http://logicielslibres.info (fr) is powered by cocoon 2.1.7. Some advises: Cheking the request headers the site tell: X-Cocoon-Version: 2.1.6. Oops. Ok.

Re: Problem getting an object out of a drop down list

2005-04-14 Thread uzo
beyanet.com wrote: beyanet.com wrote: Ok, let me explain. I have a html page which presents a selection of previous orders made by a client. In the option value section I place the associated order objects of a user like so: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option

Re: Problem getting an object out of a drop down list

2005-04-14 Thread beyanet.com
beyanet.com wrote: beyanet.com wrote: Ok, let me explain. I have a html page which presents a selection of previous orders made by a client. In the option value section I place the associated order objects of a user like so: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option

Re: CHS and asm-errors

2005-04-14 Thread Jonny Becker
Hi, I commented out BSF and used the latest asm-jars. Now I get following (differnent) errors on startup: ... CGLIB Enhancement failed: org.apache.cocoon.petstore.model.Country java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given at

Re: Problem getting an object out of a drop down list

2005-04-14 Thread Leszek Gawron
uzo wrote: beyanet.com wrote: beyanet.com wrote: Ok, let me explain. I have a html page which presents a selection of previous orders made by a client. In the option value section I place the associated order objects of a user like so: jx:forEach var=orderz items=${userGlobal.getUserOrders()}

Re: CHS and asm-errors

2005-04-14 Thread Leszek Gawron
Jonny Becker wrote: Hi, I commented out BSF and used the latest asm-jars. Now I get following (differnent) errors on startup: ... CGLIB Enhancement failed: org.apache.cocoon.petstore.model.Country java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given

Re: Flows Continuations

2005-04-14 Thread stefan pickschneider
Hi, we have a problem using continuations... [...] function editParent() { [...] } function addChild( parent ) { [...] } We'll tried it this way - looks promising. Thanks a lot! stefan. - To unsubscribe, e-mail: [EMAIL PROTECTED]

[SOLVED] Re: WAR file deploys without sitemap.xmap files?

2005-04-14 Thread Derek Hohls
Thanks; the manual extract into the Tomcat directory worked. [EMAIL PROTECTED] 2005/04/14 12:10:25 PM Derek Hohls wrote: The war file does contain the sitemap.xmap files... so it looks like Extracting cocoon.war should yield cocoon/ cocoon.war these files have not been

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Brent Johnson
I searched the Wiki for servletfilter, servlet-filter, servlet filter and didn't find anything. Is there an example of closing Hibernate sessions using a servlet filter on the Wiki? I checked out the link someone posted earlier, and it describes using a class in the Spring framework to handle

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Leszek Gawron
Brent Johnson wrote: I searched the Wiki for servletfilter, servlet-filter, servlet filter and didn't find anything. Is there an example of closing Hibernate sessions using a servlet filter on the Wiki? I checked out the link someone posted earlier, and it describes using a class in the Spring

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Brent Johnson
So can I just use the OpenSessionInViewFilter class from the Spring framework without having to implement and/or use the complete framework? I'm giving a demo today of the web application so I'm taking out all my hibernate session closes, and I'll just tiptoe around the app to make sure I don't

Transform Custom Generated Output

2005-04-14 Thread Rajesh Aravindakshan
Hi, I am able to get an xml output from a custom generator.It displays in the browser as XML tree. But, I am not able to transform the output with an xsl stylesheet. It displays the data as text. What am I doing wrong. Please help. Thank you. Here is my sitemap: map:match pattern=mygenerator.xml

Re: How to go with Cocoon forms

2005-04-14 Thread Jorge Davila
Well, there are some task that will be accomplished to get cocoon work. Basically the process to create a form is: 1.- Create the form definition file (mapping the fields that exists in the db tables) 2.- Create the binding file (mapping the fields that exists in the java beans) This points (1

Re: How to go with Cocoon forms

2005-04-14 Thread Jorge Davila
Sorry ... other thing is the crucial concept of pipeline used in cocoon. You must read the docs. related to cocoon pipelines. Sitemap concepts: http://cocoon.apache.org/2.1/userdocs/index.html Jorge Dvila. El jue, 14-04-2005 a las 10:01 -0600, Jorge Davila escribi: Well, there are some task

Re: CocoonAndHibernateTutorial precisions

2005-04-14 Thread Sebastien Arbogast
And that's when another problem appears. I moved on to the next step : setting a servlet filter to close open Hibernate session at the end of any request. I double checked everything and still, when I load my application, here are the last messages I get : - ServletContext

Re: CHS and asm-errors

2005-04-14 Thread Jonny Becker
Hi, I have a default constructor without parameters for Country. But Hibernate needs an empty constructor, doesn't it? Could you give me a hint what and where to look for. (This is the CHS with Hibernate3 modifications.). This Exception tells me nothing. thanks jonny From: Leszek Gawron

Transform Custom Generated Output [Scanned]

2005-04-14 Thread Rajesh Aravindakshan
Sorry forgot to add the following: Cocoon: 2.1.6 on Windows Hi, I am able to get an xml output from a custom generator.It displays in the browser as XML tree. But, I am not able to transform the output with an xsl stylesheet. It displays the data as text. What

Re: Scalability, Performance, Stability

2005-04-14 Thread beyanet.com
First, I've been working with Cocoon (on and off) since the 1.x days, starting around maybe 5-6 years ago. I've just recently (in the past year or so) moved away from XSP and into the wonderful world of Flow and JXTemplates. Brent, cocoon, hibernate, and postgreSQL have been used to develop our

Authentication framework and user bean

2005-04-14 Thread Martin Rusnak
Dear all, I use authentication framework with my own Authenticator class derived from org.apache.cocoon.webapps.authentication.components.Authenticator. Authenticatioin framework needs user data to be stored as XML in the session context, but the business logic part of my application works with

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Leszek Gawron
Brent Johnson wrote: So can I just use the OpenSessionInViewFilter class from the Spring framework without having to implement and/or use the complete framework? I'm giving a demo today of the web application so I'm taking out all my hibernate session closes, and I'll just tiptoe around the app to

Re: CHS and asm-errors

2005-04-14 Thread Leszek Gawron
Jonny Becker wrote: Hi, I have a default constructor without parameters for Country. But Hibernate needs an empty constructor, doesn't it? hibernate needs a default constructor public class Country { public Country() { // some initialization here } } Could you give me a hint

Re: Scalability, Performance, Stability

2005-04-14 Thread Leszek Gawron
Brent Johnson wrote: First, I've been working with Cocoon (on and off) since the 1.x days, starting around maybe 5-6 years ago. I've just recently (in the past year or so) moved away from XSP and into the wonderful world of Flow and JXTemplates. I've been writing a web application (intranet

[CocoonInAction] Opening announce

2005-04-14 Thread Sebastien Arbogast
Hi there, Here we are. Cocoon In Action tutorial writing community process is officially lauched and to make it easy we setup a basic community collaboration website at this address : http://www.epseelon.org/cocooninaction Nothing is final. It's merely a prototype for now but I think it is

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Jakub Kaniewski
beyanet.com wrote: I use hibernate within JBoss 4 as follows: InitialContext ctx = new InitialContext(); sessionfactory = (SessionFactory)ctx.lookup(java:/hibernate/SessionFactory); session = sessionfactory.openSession(); transaction =

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Jakub Kaniewski
Brent Johnson wrote: I searched the Wiki for servletfilter, servlet-filter, servlet filter and didn't find anything. Is there an example of closing Hibernate sessions using a servlet filter on the Wiki? Here is the wiki article I mentioned before -

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread JD Daniels
I didn't see the need for a cocoon component. I looked again, but still can't find the article that got me going... basically here is my setup: web.xml: !-- Location of the application context configuration file -- context-param param-namecontextConfigLocation/param-name

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Jakub Kaniewski
JD Daniels wrote: I didn't see the need for a cocoon component. I looked again, but still can't find the article that got me going... basically here is my setup: I use cocoon component put method, that gets JDBC connection from cocoon pool. My flow looks like described in article : function

Re: Scalability, Performance, Stability

2005-04-14 Thread Brent Johnson
I haven't tried it with Jetty yet. I've just been using Tomcat. I'll definitely give Jetty a try next week and see how that works out. Thanks for the reply, - Brent On 4/14/05, Leszek Gawron [EMAIL PROTECTED] wrote: Have you tried setting up your site with Jetty container? I have never had

Re: Using Hibernate via Java, not Flow

2005-04-14 Thread Brent Johnson
I'll definitely take a look at this closer next week. After doing some reading it looks like using a Filter is really the only way to go at this point. As for Jakub's example, I'm using sendPageAndWait() so I don't know if that makes a difference or not. But as I mentioned before, I definitely

AbstractJispFilesystemStore: store(..): Exception

2005-04-14 Thread Walter, Matt
Hi, Im seeing this error periodically in our error log. Was wondering what the cause is and if its something I need to be concerned about. Thanks. ERROR (2005-04-14) 00:12.49:898 [core.manager] ([.the/url/the/user/was/hitting]) TP-Processor14877/AbstractJispFilesystemStore: store(..):

Cocoon live site

2005-04-14 Thread Jakub Kaniewski
Because we recently presented english version to public(before was only polish) i present link below - http://www.e-teatr.pl/en/index.html Solution - Apache 2 + connectors + Java 1.5 + Jetty 4 + Cocoon 2.1.7 + PostgreSQL (with OJB)

Re: Authentication framework and user bean

2005-04-14 Thread JD Daniels
I wrote my own user/role beans and use them in the auth fw. when the login is successful, i just store the bean in the session and use it everywhere. I dont use the xml in the session much except to use the auth fw is_logged_in type stuff. JD Martin Rusnak wrote: Dear all, I use authentication

Redirect within handle-errors block

2005-04-14 Thread Adam Ratcliffe
Hi I'd like to redirect from within an error handler for certain types of exception. The cocoon user docs illustrate this example using a redirect action: map:handle-errors map:select type=exception map:when test=connection map:act type=redirect src=cocoon:/error/

Re: Redirect within handle-errors block

2005-04-14 Thread Ralph Goers
FWIW http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105231353428562w=2 Ralph Adam Ratcliffe wrote: Hi I'd like to redirect from within an error handler for certain types of exception. The cocoon user docs illustrate this example using a redirect action: map:handle-errors map:select

[Newbie question] XSL select with parameter isn't working w/ full XPATH expression

2005-04-14 Thread Werner Rudolf
Hello, this simple example below is working w/ Cocoon: URL:http://localhost:/c2/systems.html?xpa=Active XSL:xsl:for-each select=/systems/system[status=$xpa] For a simple application, it would be very usefull, if I could pass full XPATH expressions with the URL to gain better

RE: Redirect within handle-errors block

2005-04-14 Thread Adam Ratcliffe
Hi Ralph Thanks for the link, I can appreciate the reasoning behind disallowing redirection in this context. Looks like my first contribution to the documentation effort should be to re-write this page: http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html The particular use-case I

Re: AbstractJispFilesystemStore: store(..): Exception

2005-04-14 Thread Antonio Gallardo
Hi: Please upgrade cocoon, jisp is not longer shipped of cocoon. Best Regards, Antonio Gallardo On Jue, 14 de Abril de 2005, 15:29, Walter, Matt dijo: Hi, I'm seeing this error periodically in our error log. Was wondering what the cause is and if it's something I need to be concerned