Re: Espace ou tabulation dans les tags

2005-04-13 Thread Sylvain Wallez
douentza douentza wrote: j'ia une XSP qui me genere un document XML de la forme userarea areaname DF /areaname groups groupMontrouge /group groupBlois /group /groups /userarea Comment faire

Re: State of the documentation effort

2005-04-13 Thread Derek Hohls
Hi There have been a quite a few suggestions in the past on other ways to restructure the documentation - I think they are all housed on the Wiki. Some effort did go into those ideas and I hope they will be taken into account... Thanks Derek [EMAIL PROTECTED] 2005/04/12 09:16:50 PM Le 12

Re: State of the documentation effort

2005-04-13 Thread Derek Hohls
Upayavira Is there any possibility of putting drafts of the new framework on the Wiki (perhaps with notifications of major updates on the mailing lists)? - I think this is the easiest and fastest way to get people's comments. Thanks Derek [EMAIL PROTECTED] 2005/04/12 09:37:45 PM Sebastien

Re: State of the documentation effort

2005-04-13 Thread Reinhard Poetz
Derek Hohls wrote: Upayavira Is there any possibility of putting drafts of the new framework on the Wiki (perhaps with notifications of major updates on the mailing lists)? - I think this is the easiest and fastest way to get people's comments. See - general information

AW: JXTemplate, Xpath and Namespace

2005-04-13 Thread Messing, Elad
Thank you conal , for your answer. I now understand. Elad -Ursprüngliche Nachricht- Von: Conal Tuohy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. April 2005 05:20 An: users@cocoon.apache.org Betreff: RE: JXTemplate, Xpath and Namespace Hi Elad In XSLT 1.0 you cannot match a

Re: State of the documentation effort

2005-04-13 Thread Derek Hohls
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 to be added in to

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

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 : map:resource name=composite map:aggregate element=root map:part src=cocoon:/menu/{../0}/ map:part src=cocoon:/content/{../0} label=content/ /map:aggregate

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 : map:resource name=composite map:aggregate element=root map:part src=cocoon:/menu/{../0}/

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

[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

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

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 Marn 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

[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: [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]

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

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 access 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

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

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 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 password you

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 jx:choose entries just for doing things like using a checked attribute on an option. This has become quite annoying. Here's an example: jx:forEach items=${types} var=${type} jx:choose jx:when

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 jx:choose entries just for doing things like using a checked attribute on an option. This has become quite annoying. Here's an example: jx:forEach items=${types} var=${type} jx:choose jx:when

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

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: input type=checkbox name=types value=someidcode1/Something 1 input type=checkbox name=types value=someidcode2/Something 2 input

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 to

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

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

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 start a

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

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

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]

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 anXMLfile whichwill be placed on a directory depending on the value of some field in the form. I am really

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

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 return

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.

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

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

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 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 =

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

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: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option

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

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: 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: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option value=${orderz/id}${orderz.getOrderDate()}/option /jx:forEach JD Daniels wrote: I am curently doing it like this, although I am having some binding issues... in my form definition, I

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: jx:forEach var=orderz items=${userGlobal.getUserOrders()} option value=${orderz/id}${orderz.getOrderDate()}/option /jx:forEach JD, thanks for that heads up. And just as I thought I had a nice easy solution! ;-) regards Uzo

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

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

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: 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

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

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