Re: Problems with uploading files (woody)

2004-05-06 Thread Marc Portier
just to make sure: you didn't forget to enable uploads as the text in the sample is suggesting? quote from=http://cocoon.apache.org/2.1/userdocs/forms/widget_upload.html; This widget allows to upload files by using Cocoon's file upload features. For this reason, this widget won't function

Directory Generator/Image Directory Generator

2004-05-06 Thread anand.vasudevan
Hi, We need to implement a Tree Structure which will have directories of images as their nodes and on clicking the directory node its subdirectories (if it is the last then the images) are displayed on the browser. We came to know that Cocoon provides Directory Generator which

Re: Dynamic connection to the database

2004-05-06 Thread Derek Hohls
Replies below. [EMAIL PROTECTED] 2004/05/06 12:27:58 AM On 05 May 2004, at 13:56, Derek Hohls wrote: Perhaps mixing was the wrong word - I do understand what are trying to achieve- all I was trying to say is that you can use the sitemap to pass information on the currently logged-in user

Re: Binding to xmldb

2004-05-06 Thread Marc Portier
Upayavira wrote: Upayavira wrote: Timur Izhbulatov wrote: Hi all! I use woody binding framework as shown in the corresponding sample (cocoon 2.1.4) with an XML file and it works just fine. But when I change the file URL to xmldb one my non-us (UTF-8 encoded) data are getting corrupted.

Re: JXTemplates - what's in a name?

2004-05-06 Thread Derek Hohls
Ugo Maybe you could start a working draft on the Wiki: even the smallest match-flame is a light to the unenlightened ! For starters, I would like to see an example of what a POJO would/could look like; where and how it would/should be placed in a Cocoon app; and how it is pulled (or pushed??)

SQL in Cocoon (Was: Re: Vote: to unify, or not to unify - results)

2004-05-06 Thread Derek Hohls
Tony Thanks for helping to clarify; perhaps what is then missing from the docs is, for us oldies with bad habits, a guide to Migrating apps from XSP to For example; you say the approach to replacing ESQL in XSP would be: JXT Generator - SQLTransformer - Whatever BUT; in my XSP, the SQL

Coplet simple form help

2004-05-06 Thread grofcik.lan
Hello, I am trying to make simple coplet with html form. but I can not make correct request at the second time. the first form in the coplet is: .. form method=POST action=view name=form_createUser . input value=create name=cocoon-action-create type=submit ... /form but after submit I

RE : JSP Generator question, once again

2004-05-06 Thread zze-e-photo FRAS E ext FTRD/DMI/REN
On 03.05.2004 09:35, zze-e-photo FRAS E ext FTRD/DMI/REN wrote: After more investigation, the use case is the following : To improve performance in Tomcat, it is possible to disable the checking system for JSP file modification. I would like to do exactly the same with the

Cocoon Docs - The Next Generation

2004-05-06 Thread Derek Hohls
There's been a lot of discussion on the mailing list about *what* to improve. Time to start putting fingers to the keyboard and work on doing it I *assume* that the Wiki is the logical place to start; and that the Doc Team will work from there to update the main site... right? At the

Re: RE : JSP Generator question, once again

2004-05-06 Thread Joerg Heinicke
On 06.05.2004 09:30, zze-e-photo FRAS E ext FTRD/DMI/REN wrote: It seems that Tomcat configuration about check for file modification is ignored by Jasper but I guess this is normal. The JSP Generator uses the JSPEngineImpl to compile the jsp and this engine calls the Jasper servlet in its own

Woody/CForms: Extending bound XML through pipeline

2004-05-06 Thread Askild Aaberg Olsen
I have a document bound to a form, and whenewer a specific event occurs, I would like to: * pass the bound document to a pipeline * transform it * redisplay the form again with the transformed document. This is my current approach to the on-action in the model: wd:on-action javascript

Issue with portal-html-eventlink and navigation.

2004-05-06 Thread Simon Hutchinson
Hi, As part of a portal we are working on I have written a coplet, whose initial uri invokes a flow script using the following matcher map:match pattern=coplet map:call function=handleForm map:parameter name=function value=assistance/ map:parameter name=form-definition

Issue with portal-html-eventlink and navigation

2004-05-06 Thread Simon Hutchinson
Hi, As part of a portal we are working on I have written a coplet, whose initial uri invokes a flow script using the following matcher map:match pattern=coplet map:call function=handleForm map:parameter name=function value=assistance/ map:parameter name=form-definition

Re: JXTemplates - what's in a name?

2004-05-06 Thread Ugo Cei
Derek Hohls wrote: Ugo Maybe you could start a working draft on the Wiki: even the smallest match-flame is a light to the unenlightened ! That's an idea, but I still need a few days to have something working. For starters, I would like to see an example of what a POJO would/could look like;

Advanced Control Flow Tutorial not working?

2004-05-06 Thread Derek Hohls
As a flow newbie I have been trying to recreate and run this tutorial from: http://cocoon.apache.org/2.1/userdocs/flow/tutor.html I have changed the sitemap here: !-- use JXtemplate to generate page content -- map:match pattern=*.jxt map:generate type=jx src=documents/{1}.jxt/

Re: Cocoon Docs - The Next Generation

2004-05-06 Thread Upayavira
Derek Hohls wrote: There's been a lot of discussion on the mailing list about *what* to improve. Time to start putting fingers to the keyboard and work on doing it I *assume* that the Wiki is the logical place to start; and that the Doc Team will work from there to update the main site...

Re: Directory Generator/Image Directory Generator

2004-05-06 Thread Joerg Heinicke
On 06.05.2004 08:19, [EMAIL PROTECTED] wrote: Hi, We need to implement a Tree Structure which will have directories of images as their nodes and on clicking the directory node its subdirectories (if it is the last then the images) are displayed on the browser. Sounds like a simple explorer view.

Business Objects vs Data Objects [was Re: JXTemplates - what's in a name?]

2004-05-06 Thread Derek Hohls
Bertand Is there not a difference between a Java business object (which I assume in a Cocoon app will be a POJO - even though I do not now know where and how to create this...) and data access object - at least that what the Core J2EE patterns imply

RE: Cocoon Docs - The Next Generation

2004-05-06 Thread H . vanderLinden
Sorry I'm currently too swamped to work on Cocoon215TOC, but my first idea was to copy the main page to the wiki and modify there, keeping a link to the original page in the docs. It's easier to read and comment on the results than switch back and forth to view the differences. Do add the

Re: Woody + Upload Widget

2004-05-06 Thread laurent_rorive
Thx ! I worked with cocoon 2.1.3 and in this version it fails. I also installed 2.1.4 and effectively the sample works But when I couple this with my simple woody application . Actually no way. There is a missing doc on this ! Is there someone who has doc on it or url Laurent

Re: Problems with uploading files (woody)

2004-05-06 Thread laurent_rorive
No ! but it still doesn't work I have to say that I changed my release from 2.1.3 to 2.1.4 and that the woody upload sample works So it must be a configuration ! I will investigate Thx Marc Portier [EMAIL PROTECTED] 06/05/2004 07:37 Please respond to users To: [EMAIL

Re: Binding to xmldb

2004-05-06 Thread Timur Izhbulatov
Marc Portier wrote: transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.ENCO DING, utf-8); It works. Thanks a lot. alternatively you could find some way to check the encoding during 'load' and then reuse the same for the 'save' I think it would be more elegant but more

Re: Business Objects vs Data Objects [was Re: JXTemplates - what's in a name?]

2004-05-06 Thread Bertrand Delacretaz
Le 6 mai 04, à 09:44, Derek Hohls a écrit : Bertand Is there not a difference between a Java business object (which I assume in a Cocoon app will be a POJO - even though I do not now know where and how to create this...) and data access object - at least that what the Core J2EE patterns imply

Cocoon and Lenya-User meeting in Spain - Conferencia de usuarios de Lenya e Cocoon en España

2004-05-06 Thread Thorsten Scherler
Hello groups, hola a todos, How about a user meeting for Cocoon and Cocoon-Lenya in Spain with a workshop (Users support Users)? Hacemos una conferencia de usuarios de cocoon y cocoon-lenya en España. http://wiki.cocoondev.org/Wiki.jsp?page=LenyaUserMeetingSpain2004 Please feel free to use

Re: Binding to xmldb

2004-05-06 Thread Timur Izhbulatov
Upayavira wrote: How good is your Java? Unfortunately, I have never programmed Java before. But I have some experience in reading Java code and programming other OO languages. And there are few guys who could help me with this, I hope. Timur

RE: Business Objects vs Data Objects [was Re: JXTemplates - what' s in a name?]

2004-05-06 Thread Ralph Goers
In my environment a DAO is the object that is the result of reading from the database (or some other source). This doesn't necessarily have any relationship to the business objects - they can contain information from one or many DAOs. Finally DataTransferObjects are the objects sent to the

Re: Business Objects vs Data Objects [was Re: JXTemplates - what' s in a name?]

2004-05-06 Thread Ugo Cei
Ralph Goers wrote: In my environment a DAO is the object that is the result of reading from the database (or some other source). You can call them anything you like, but the accepted meaning of DAO is an object that is used to read/store Value Objects from/to a persistent storage. A DAO has no

RE: Business Objects vs Data Objects [was Re: JXTemplates - what' s in a name?]

2004-05-06 Thread Ralph Goers
Isn't what you wrote just a restatement of what I wrote? Perhaps my statements just weren't clear. Ralph -Original Message- From: Ugo Cei [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 9:40 AM To: [EMAIL PROTECTED] Subject: Re: Business Objects vs Data Objects [was Re:

Re: Woody/CForms: Extending bound XML through pipeline

2004-05-06 Thread Bruno Dumon
On Thu, 2004-05-06 at 15:44, Askild Aaberg Olsen wrote: I have a document bound to a form, and whenewer a specific event occurs, I would like to: * pass the bound document to a pipeline * transform it * redisplay the form again with the transformed document. This is my current approach

Session: forbid cookies

2004-05-06 Thread Nils
Hi there, How can I forbid to use cookies on the server-side? I now have both cookies and url-rewriting. But me and my users don't like cake or cookies an so I'd like to turn the cookies of entirely. Thanx and bye, Nils - To

Re: Business Objects vs Data Objects [was Re: JXTemplates - what' s in a name?]

2004-05-06 Thread Ugo Cei
Ralph Goers wrote: Isn't what you wrote just a restatement of what I wrote? Perhaps my statements just weren't clear. I don't think so. You said: In my environment a DAO is the object that is the result of reading from the database (or some other source). To me this means (more or less) that

Newbie: Generating XML before rendering HTML

2004-05-06 Thread anand.vasudevan
Hi, I have the sitemap.xmap configured as below. What we are tyring to do is to get data from the database, store it into session and render it as HTML. I would like to know how we can generate a xml file to a local directoy before it gets rendered to the brower. I need this ,

How to make a simple news/updates list

2004-05-06 Thread Anders Forsgren
Hi Im trying to add a simple list of text/xml chunks to my cocoon site. (which could be used for example as a list of news/site updates/guestbook posts etc.). Doing this with esql seems relatively easy, but it also seems overkill to run a database process just to keep a single list of xml

RE: Business Objects vs Data Objects [was Re: JXTemplates - what' s in a name?]

2004-05-06 Thread Ralph Goers
OK. Your definition is much clearer than mine. Thanks. Ralph -Original Message- From: Ugo Cei [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 10:24 AM To: [EMAIL PROTECTED] Subject: Re: Business Objects vs Data Objects [was Re: JXTemplates - what' s in a name?] Ralph Goers

AW: How to make a simple news/updates list

2004-05-06 Thread Marco Rolappe
hi anders, based on these requirements I don't see why you'd currently need more than a raw xml data files solution. if you can foresee a need for more flexilibility in the future you might want to hide that access mechanism behind a corresponding contract/interface. never forget: KISS ;-)

esql xsp page caching?

2004-05-06 Thread Lars Huttar
Hi all, I have the following simple XSP page: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:sil=http://www.sil.org/namespace/cocoon-sql-logicsheet; footer

Re: Advanced Control Flow Tutorial not working?

2004-05-06 Thread John Shea
Hi Derek, you have probably worked out by now that it is something to do with the mixing of jx and jxt in the tutorial - which at point had jxt references in it and seems to be slowly moving towards having jx refrerences. Unfortunately as a beginner i have no idea why one cant swap in jx for

Re: Woody/CForms: Extending bound XML through pipeline

2004-05-06 Thread Askild Aaberg Olsen
Bruno Dumon wrote: I have a document bound to a form, and whenewer a specific event occurs, I would like to: * pass the bound document to a pipeline * transform it * redisplay the form again with the transformed document. This is my current approach to the on-action in the

LDAPTransformer

2004-05-06 Thread Marc Kramis
Hi I recently used the LDAPTransformer. Two issues that are not clear to me: 1st Username and Password Auth: If I use it for user authentification (I send a username and a password, the ldap server sends me a user for valid password and an error for a invalid password), I get a correct

Re: [Reminder] FirstFriday

2004-05-06 Thread David Crossley
Today is the next FirstFriday - start is 6.5 hours away. http://wiki.cocoondev.org/Wiki.jsp?page=FirstFriday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Business Objects vs Data Objects [was Re: JXTemplates - what' s in a name?]

2004-05-06 Thread Danny Bols
Could in your example valueObject be a BO (Business Object) or is valueObject a DTO which is used to populate a BO? When using the Flow/CForm solution who is used (BO or DTO) to bind data to the form? -- Danny -Original Message- From: Ugo Cei [mailto:[EMAIL PROTECTED] Sent: donderdag