Re: State of the documentation effort

2005-04-13 Thread Derek Hohls
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 Reference Docs (obviou

CocoonAndHibernateTutorial precisions

2005-04-13 Thread Sebastien Arbogast
Hi, I'm following wiki CocoonAndHibernateTutorial ti integrate Hibernate into Cocoon and just before creating the servlet filter when I restart my Tomcat instance I obtain those messages : Hibernate factory instance created Hibernate service called Hibernate configure called instead of Hiberna

Re: Flows & Continuation

2005-04-13 Thread Philippe Guillard
Hi, I had something a bit similar but can't know if it is the same situation, i don't know what error message you get. But i'll suggest not calling via a pipeline form.sendPageAndWait("editChild.html"); but do a editChild() call. You still have separation with 2 methods, but one flow. Hope it

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread Brent Johnson
Yeah this is exactly the problem I'm having.  If I close the session and then call sendPageAndWait() I get the LazyInitializationException.  So it's been difficult for me to decide exactly where I should close the session.  But this is why I can't figure where to make the close call. For example:

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread beyanet.com
beyanet.com wrote: Brent, the way I use hibernate with flowscript is to simply call the method from flowscript and allow the java method to handle all transaction-session open and closing processes. I place no hibernate code in cocoon. All the hibernate code is self contained within the java me

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread Jakub Kaniewski
beyanet.com wrote: Brent, the way I use hibernate with flowscript is to simply call the method from flowscript and allow the java method to handle all transaction-session open and closing processes. I place no hibernate code in cocoon. All the hibernate code is self contained within the java me

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

2005-04-13 Thread uzo
I guess i should add that my lists look like: ${orderz.getOrderDate()} JD, thanks for that heads up. And just as I thought I had a nice easy solution! ;-) regards Uzo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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

2005-04-13 Thread JD Daniels
I guess i should add that my lists look like: ${orderz.getOrderDate()} JD Daniels wrote: I am curently doing it like this, although I am having some binding issues... in my form definition, I make a string value like beanId, and I have a business method in my java service to look it up, so

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

2005-04-13 Thread JD Daniels
I am curently doing it like this, although I am having some binding issues... in my form definition, I make a string value like beanId, and I have a business method in my java service to look it up, so the flow looks like: function some_form() { var bean = new Packages.com.whatever.Bean();

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread beyanet.com
Well, I tried adding in a hibernate close to get around the issue of two different sessions monkeying around with the POJO objects, causing an exception to be thrown (and when those get thrown the whole application flakes out). Brent, the way I use hibernate with flowscript is to simply call th

Problem getting an object out of a drop down list

2005-04-13 Thread beyanet.com
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: ${orderz.getOrderDate()} The rendered html page looks like so: 2005-04-13 17:23:05.663 2

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread JD Daniels
I use the open Session in view model. The session lasts the duration of the request. I can't find the article I used to get up to speed on it, but this should get you going: http://www.jroller.com/page/cardsharp/Weblog/open_session_in_view_pattern?catname= Brent Johnson wrote: Well, I tried addi

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread JD Daniels
This is also a good idea because it ensures that you won't try to access a session that has already been closed, which seemed to happen to me quite a bit using the hibernate methods in flow. the following works very well: // Global Data Access Objects var appCtx = cocoon.context.getAttribute(We

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread Brent Johnson
Well, I tried adding in a hibernate close to get around the issue of two different sessions monkeying around with the POJO objects, causing an exception to be thrown (and when those get thrown the whole application flakes out). But, I'm running into a "chicken-or-the-egg" problem.  If I close the

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread Leszek Gawron
Brent Johnson wrote: Yeah, it just didn't feel right accessing the Hibernate calls directly from flow. I've heard a lot about Spring, so it works well with Cocoon and Hibernate? What kind of learning curve? I'm about halfway through this project which has a development end date in about 2 wee

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread Brent Johnson
Yeah, it just didn't feel right accessing the Hibernate calls directly from flow.  I've heard a lot about Spring, so it works well with Cocoon and Hibernate?  What kind of learning curve?  I'm about halfway through this project which has a development end date in about 2 weeks.  I've got the POJO o

Re: Using Hibernate via Java, not Flow

2005-04-13 Thread Leszek Gawron
Brent Johnson wrote: This is probably a simple question. I've read the Wiki about using Hibernate and most of that uses Hibernate directly in Flow. I'd rather not do that. I've created some "Wrapper" type classes that are intended to be used from Flow, and they handle the hibernate sessions.

Using Hibernate via Java, not Flow

2005-04-13 Thread Brent Johnson
This is probably a simple question.  I've read the Wiki about using Hibernate and most of that uses Hibernate directly in Flow.  I'd rather not do that.  I've created some "Wrapper" type classes that are intended to be used from Flow, and they handle the hibernate sessions.  All they really do is r

Flows & Continuation

2005-04-13 Thread stefan pickschneider
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 figure out how one can return t

How to go with Cocoon forms

2005-04-13 Thread MSYM
Hi all, I try to use cocoon forms for a simple (as I think) application. It consists of  viewing a form for users who have to fill it and the instance must be saved on the server as an XML file which will be placed on a directory depending on the value of some field in the form.   I am reall

Lepido: come in, it's open!

2005-04-13 Thread Sylvain Wallez
Hi all, The awaited Lepido [1] newsgroup has been created at Eclipse. If you're interested and want to participate to this new project, please join news://news.eclipse.org/eclipse.technology.lepido Remember, registration is required to access the newsgroup [2]. See you there! Sylvain [1] http://

Re: Building cocoon 2.1.7 on Windows

2005-04-13 Thread Michel SALAIS
Hi again I don't really understand! I built it on another machine with the same OS (Windows XP Pro) without any problem. The machine which doesn't work is at home and have a lot of things on it. The translation of the french message is (I hope it is exact): "The asked operation couldn't be complet

Flows & Continuation

2005-04-13 Thread stefan pickschneider
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 figure out how one can return t

Using InputModule

2005-04-13 Thread Lionel Crine
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 me" sending par

Flows & Continuations

2005-04-13 Thread stefan pickschneider
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 figure out how one can return t

Re: Starting background thread?

2005-04-13 Thread Aurélien DEHAY
Hi. Le mercredi 13 avril 2005 Ã 16:43 +0200, Kai Hessing a Ãcrit : > Hi folks, > > I wonder if it is possible to start something like a cocoon background > thread. Our problem is, that large SQL-Queries take some time and after > a few minutes the browser returns a timeout. So the idea is to star

Re: Starting background thread?

2005-04-13 Thread Reinhard Poetz
Kai Hessing wrote: Hi folks, I wonder if it is possible to start something like a cocoon background thread. Our problem is, that large SQL-Queries take some time and after a few minutes the browser returns a timeout. So the idea is to start a background thread which generates the output files (may

Starting background thread?

2005-04-13 Thread Kai Hessing
Hi folks, I wonder if it is possible to start something like a cocoon background thread. Our problem is, that large SQL-Queries take some time and after a few minutes the browser returns a timeout. So the idea is to start a background thread which generates the output files (may take some hours) i

ThreadSafe Marker On InputModules?

2005-04-13 Thread Thomas . Zirnsack
[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 only one thread loc

Re: State of the documentation effort

2005-04-13 Thread Reinhard Poetz
Derek Hohls wrote: Reinhard This looks good - what still seems to be missing is an overall information structure - the "wood" and not the "trees" - for me, assessing the detail is much easier if I can see the big picture. I also think it makes it easier to see if new pages eg. from the wiki, need

Flow: Typeof with Checkboxes

2005-04-13 Thread Brent Johnson
I'm sure this is a simple question, I've searched the mailing list and haven't seen anything at least related to my keywords. I have a set of checkboxes like this: Something 1 Something 2 Something 3 If I select multiple checkboxes the flowscript returns a java.util.Vector when accessing cocoon.r

RE: [FYI] Lepido

2005-04-13 Thread angeloimm
Ok, thanks to all i have configured my outlook express client. Thanks for your tips ;-). -- Initial Header --- >From : "Matthew Langham" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Wed, 13 Apr 2005 15:26:39 +0200 Subject : RE: [FYI] Lepido

Re: Modifying Attributes in JXTemplate

2005-04-13 Thread Brent Johnson
Yeah, I didn't figure so :) If it was easy it probably would already be in there. Thanks, - Brent On 4/13/05, Leszek Gawron <[EMAIL PROTECTED]> wrote: > Yes there are plans but this is not that easy to implement as it looks like. > > -- > Leszek Gawron

Re: Modifying Attributes in JXTemplate

2005-04-13 Thread Leszek Gawron
Brent Johnson wrote: I dont know about anyone else, but I find myself having to do a lot of entries just for doing things like using a "checked" attribute on an . This has become quite annoying. Here's an example: ${typ

Modifying Attributes in JXTemplate

2005-04-13 Thread Brent Johnson
I dont know about anyone else, but I find myself having to do a lot of entries just for doing things like using a "checked" attribute on an . This has become quite annoying. Here's an example: ${type.getName()} Since

RE: [FYI] Lepido

2005-04-13 Thread Matthew Langham
> > Hi all; i'ld like to join to join to this project (Lepido)... what > > should i do? How can i sign to the newsgroup? > > I have gone to http://www.eclipse.org/newsgroups/index.html > and i have > > had a password... but now? You need to configure your newsreader to use the username and pass

Re: [FYI] Lepido

2005-04-13 Thread Antonio Gallardo
On Mie, 13 de Abril de 2005, 7:06, angeloimm dijo: > Hi all; i'ld like to join to join to this project (Lepido)... what should > i do? How can i sign to the newsgroup? > I have gone to http://www.eclipse.org/newsgroups/index.html and i have had > a password... but now? You need a newsgroup reader

Re: [FYI] Lepido

2005-04-13 Thread angeloimm
Hi all; i'ld like to join to join to this project (Lepido)... what should i do? How can i sign to the newsgroup? I have gone to http://www.eclipse.org/newsgroups/index.html and i have had a password... but now? Thanks -- Initial Header --- >From : [EMAIL PROTECTED] To

Re: [FYI] Lepido's newsgroup is ready

2005-04-13 Thread Upayavira
Leszek Gawron wrote: [EMAIL PROTECTED] wrote: as i have notice today Lepido's newsgroup is ready news://news.eclipse.org/eclipse.technology.lepido is the server restricting access to registered users? where do I sign in? go to www.eclipse.org, follow the links there to get a username/password for

Re: [FYI] Lepido's newsgroup is ready

2005-04-13 Thread gounis
request for a passwd here http://www.eclipse.org/newsgroups/index.html On Wed, 13 Apr 2005, Leszek Gawron wrote: > [EMAIL PROTECTED] wrote: > > as i have notice today > > > > Lepido's newsgroup is ready > > > > news://news.eclipse.org/eclipse.technology.lepido > is the server restricting ac

Re: [FYI] Lepido's newsgroup is ready

2005-04-13 Thread Leszek Gawron
Leszek Gawron wrote: [EMAIL PROTECTED] wrote: as i have notice today Lepido's newsgroup is ready news://news.eclipse.org/eclipse.technology.lepido is the server restricting access to registered users? where do I sign in? never mind -- Leszek Gawron Mo

Re: [FYI] Lepido's newsgroup is ready

2005-04-13 Thread Leszek Gawron
[EMAIL PROTECTED] wrote: as i have notice today Lepido's newsgroup is ready news://news.eclipse.org/eclipse.technology.lepido is the server restricting access to registered users? where do I sign in? -- Leszek Gawron MobileBox [EMAIL PROTECTED]

[FYI] Lepido's newsgroup is ready

2005-04-13 Thread gounis
as i have notice today Lepido's newsgroup is ready news://news.eclipse.org/eclipse.technology.lepido regards stavros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Fwd: problem withs sessions running JSPs in COCOON (ver. 2.1.4)]

2005-04-13 Thread Miguel Angel Marín Moreno
NOdody ahs tried to call an external file I need your help a lot... Thanks again Miguel Angel Marín Moreno escribió: Hi you all again! I've moved to cocoon 2.1.7 and I persist trying to run up a JSP file that uses the session information. Beginning with the idea that it's the C

Re: [CROSSPOST] Apache Cocoon in Action suggestion

2005-04-13 Thread Reinhard Poetz
Sebastien Arbogast wrote: NB : this is a crosspost from Cocoon dev list. If you want to read the answers to this first message please go there and if you have comments or answers for this message, please post your answers to dev@cocoon.apache.org as it will keep only one thread for this suggestion.

[CROSSPOST] Apache Cocoon in Action suggestion

2005-04-13 Thread Sebastien Arbogast
NB : this is a crosspost from Cocoon dev list. If you want to read the answers to this first message please go there and if you have comments or answers for this message, please post your answers to dev@cocoon.apache.org as it will keep only one thread for this suggestion. Hi, I may have somethin

Re: CHS with Cocoon 2.1.7

2005-04-13 Thread Ugo Cei
Il giorno 13/apr/05, alle 00:17, Jonny Becker ha scritto: I'm trying to get CHS running with Cocoon 2.1.7 on Jetty. Compiles, but cannot start Cocoon then. I get following error on startup: org.mortbay.util.MultiException[org.xml.sax.SAXParseException: The content of element type "web-app" must

Re: Something I don't understand in i18n sample

2005-04-13 Thread Sebastien Arbogast
Thank you very much. On 4/13/05, Leszek Gawron <[EMAIL PROTECTED]> wrote: > Sebastien Arbogast wrote: > > Hi, > > > > In the i18n sample sitemap there is a resource declaration like this : > > > > > > > > > > > > > > > > > > > > > >

Re: Something I don't understand in i18n sample

2005-04-13 Thread Leszek Gawron
Sebastien Arbogast wrote: Hi, In the i18n sample sitemap there is a resource declaration like this : I don't understand the references to {../0}. What does this mean exactly ? I don't understand the

Re: [Fwd: problem withs sessions running JSPs in COCOON (ver. 2.1.4)]

2005-04-13 Thread Miguel Angel Marín Moreno
Hi you all again! I've moved to cocoon 2.1.7 and I persist trying to run up a JSP file that uses the session information. Beginning with the idea that it's the CINCLUDE TRANSFORMER the one who don't pass the session to the called JSP file, I've tried to execute the file directly from the JSP g