Re: Cocoon Docs - The Next Generation

2004-05-07 Thread Derek Hohls
Upayavira What you say makes sense... I guess I will have to figure out the mysteries of xdoc and patches and CVS now - unless there is a simple guide to this on the Wiki ? ;-) BUT I still think there is a case for people who spot mistakes and want to see things changed but are too busy to go

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

2004-05-07 Thread Derek Hohls
Yes; this confused me too - are there now: DAO - used to read data from DB DTO - to transfer data to app BO - to store/manipulate data for a particular thing and how do any/all these interrelate with each and the Forms framework... If someone can post a reasonably clear explanation of all this,

Re: Cocoon Docs - The Next Generation

2004-05-07 Thread Bertrand Delacretaz
Hi Derek, ...BUT I still think there is a case for people who spot mistakes and want to see things changed but are too busy to go the route above... bugzilla (http://nagoya.apache.org/bugzilla/index.html) is your friend in this case: if you spot a (code or documentation) mistake that you cannot

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

2004-05-07 Thread Ralph Goers
You should take a look at the J2EE patterns either at Sun's website or in the book. ValueObjects were renamed TransferObjects in the latest revision. I seem to recall that my copy of the Patterns book has them named DataTransferObjects, but I could be wrong - I don't have it handy. Generally,

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

2004-05-07 Thread Bertrand Delacretaz
Le 7 mai 04, à 08:18, Derek Hohls a écrit : Yes; this confused me too - are there now: DAO - used to read data from DB DTO - to transfer data to app BO - to store/manipulate data for a particular thing and how do any/all these interrelate with each and the Forms framework... IMHO you shouldn't

Re: JXTemplates - what's in a name?

2004-05-07 Thread Bertrand Delacretaz
Le 7 mai 04, à 08:23, Derek Hohls a écrit : ...In the meantime, a tiny question - is it likely that for most apps; a POB (plain old bean) would the most common object that I would need to be able to understand and know how to build in order to do the other wonderful things with Hibernate,

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

2004-05-07 Thread Ralph Goers
This link has a great picture of where the objects fit in a J2EE application. http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 11:18 PM To: [EMAIL PROTECTED] Subject: RE:

Help with Cocoon 2.1.2 + MySQL 3.23.58

2004-05-07 Thread sameer nanda
Hello Everybody I am having problems with integrating my application using Cocoon 2.1.2 and MySQL 3.23.58. I read a lot of questionaries realted to this topic but could not find anything reletaing to the problem I am having . lets start with the environment in which I am working. System

Re: Cocoon Docs - The Next Generation

2004-05-07 Thread David Crossley
Derek Hohls wrote: What you say makes sense... I guess I will have to figure out the mysteries of xdoc and patches and CVS now - unless there is a simple guide to this on the Wiki ? ;-) See various HowTo docs, especially: http://cocoon.apache.org/community/contrib.html#cvshowto

Re: Sendmail Action HTML-Mail Attachment

2004-05-07 Thread Christian Haul
Joerg Heinicke wrote: On 04.05.2004 13:07, Nils Köster wrote: I'm trying to send mail via the sendmail action with html-body and pdf-attachment, my sitemap looks like this: map:act type=sendmail map:parameter name=smtphost value=some.smtp.de/ map:parameter name=from value=[EMAIL

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

2004-05-07 Thread Derek Hohls
Antonio Thanks, this is great - maybe we can open a Wiki page and add this as an attachement (maybe refine it to make a little more generic; or have a general version and then variants for more speciifc cases). 2 questions - a. I assume Hibernate can be used in place of JDO (and is it any

AW: Sendmail Action HTML-Mail Attachment

2004-05-07 Thread Nils
Hi Christian, Thanks for your answer. The lack of the Body-part wasn't the real problem. The problem ist, that it throws an exception as soon as i have an attachment and a html-mail. As far as I know the body-part is only used, when theres no src etc. Regards, Nils -Ursprüngliche

Cocoon Stammtisch, Jena, Germany

2004-05-07 Thread Meyer, Christian
After our trip to Vienna to meet the cocoon interested people there we plan to make a Stammtisch in Jena on June 14th or 28th. If you want to meet people interested in cocoon and have some fun please add your name in the list on http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUserGroupThuringia

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

2004-05-07 Thread Derek Hohls
Thanks, I have added a link to this from the MVC page on the Wiki... Derek [EMAIL PROTECTED] 2004/05/07 09:01:59 AM Derek Hohls dijo: Yes; this confused me too - are there now: DAO - used to read data from DB DTO - to transfer data to app BO - to store/manipulate data for a particular

RE: Newbie: Generating XML before rendering HTML

2004-05-07 Thread Lars Huttar
Hi Anand, As Derek mentioned, it is unusual to want to write the XML to a file before processing it. If you really want to do this, you can use the SourceWritingTransformer (we have used this successfully). But if you just want to see the XML for the sake of debugging or knowing what's coming down

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

2004-05-07 Thread Antonio Gallardo
Derek Hohls dijo: Antonio Thanks, this is great - maybe we can open a Wiki page and add this as an attachement (maybe refine it to make a little more generic; or have a general version and then variants for more speciifc cases). 2 questions - a. I assume Hibernate can be used in place

Re: Cocoon Stammtisch, Jena, Germany

2004-05-07 Thread John L. Webber
Aren't there any other Munich Cocoon users out there? I added a Wiki link in January, but no one else seems to have added their name. http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUserGroupMunich John Meyer, Christian wrote: After our trip to Vienna to meet the cocoon interested people

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

2004-05-07 Thread Derek Hohls
Thanks - I assume that if one is NOT working in a J2EE application, that the principles and approaches will be the same ie. is there more info that discusses how to move from an ordinary set of Java objects to a full-blown J2EE approach? Derek [EMAIL PROTECTED] 2004/05/07 08:37:38 AM This link

Re: Cocoon Stammtisch, Jena, Germany

2004-05-07 Thread Jorg Heymans
oops missed that one :) John L. Webber wrote: Aren't there any other Munich Cocoon users out there? I added a Wiki link in January, but no one else seems to have added their name. http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUserGroupMunich John Meyer, Christian wrote: After our trip to

Flow time-to-live

2004-05-07 Thread John L. Webber
Hello, Couldn't find an answer to this on the wiki or by Googling: how does the Flow time-to-live parameter work? Is it reset every time there's a click during a continuation, or does a time-to-live of 30 minutes mean that a continuation expires automatically after 30 minutes, regardless of

Re: Dynamic connection to the database

2004-05-07 Thread Yves Vindevogel
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 to the database. How would I achieve that ? With database actions ? As sitemap parameters, would be one way.

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

2004-05-07 Thread Ugo Cei
Derek Hohls wrote: Thanks - I assume that if one is NOT working in a J2EE application, that the principles and approaches will be the same ie. is there more info that discusses how to move from an ordinary set of Java objects to a full-blown J2EE approach? It's quite difficult to say what

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

2004-05-07 Thread Ugo Cei
Bertrand Delacretaz wrote: Of course, in a complex java app it would be good to have a clean structure using these concepts, but if you're trying to understand the relationship between Forms and java code, you should not worry about them. To Derek: I couldn't come up with a better explanation

HELP! using authentication from session context!

2004-05-07 Thread H . vanderLinden
Hi, could someone please help? I built the authentication along the lines of the various examples, but using flow scripts instead of actions. All this works well and a authentication section is added to the session context. I retrieve this with session:getxml context=authentication path=// and a

Re: esql xsp page caching?

2004-05-07 Thread Yves Vindevogel
Hi Lars, I bumped into the same problem too, but, I found out that it was not Cocoon who was caching. My client had a Mickeysoft Isa Server as proxy and even with the meta tags like pragma no cache, Isa kept caching the URL. I found out that it was based on the URL, so when I gave another URL

RE: HELP! LOSING authentication from session context!

2004-05-07 Thread H . vanderLinden
Oops, noticed an error in the subject. Hope this makes it clearer. Bye, Helma -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 07 May 2004 11:04 To: [EMAIL PROTECTED] Subject: HELP! using authentication from session context! Hi, could

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

2004-05-07 Thread Derek Hohls
I just found an interesting quote from a paper on JDO: http://www.jdocentral.com/pdf/eigner_jdo.pdf With the availability of JDO, it makes you wonder when and if you would ever need an EJB container at all within your application architecture if you use it only as a front-end to your

RE: HELP! LOSING authentication from session context!

2004-05-07 Thread John Spackman
AFAIK, the authentication context is only available inside the action protecting a page - which means that all pages must be explicitly protected. You can protect multiple pages within a single protection action, and there is an example in the docs

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

2004-05-07 Thread Ugo Cei
Derek Hohls wrote: I just found an interesting quote from a paper on JDO: http://www.jdocentral.com/pdf/eigner_jdo.pdf With the availability of JDO, it makes you wonder when and if you would ever need an EJB container at all within your application architecture if you use it only as a

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

2004-05-07 Thread Derek Hohls
Ugo I thought I understood this, but now is not the point made by this article that one can have business logic coded in the classes persisted by JDO... to encapsulate the model of the application - why do we need DAOs and Service Objects as well ?? does this not just add complexity for

RE: HELP! LOSING authentication from session context!

2004-05-07 Thread H . vanderLinden
Hi, I've got it working like that in a subsitemap (my app consists of one subsitemap under the default root sitemap). Maybe you're right. The problem with the result of the search page was solved once I added the public url, rather than the internal. The about page is outside of the protected

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

2004-05-07 Thread Antonio Gallardo
Derek Hohls dijo: Antonio 1. What books are good? Hehe. As I told you before I am not a guru here :-D. I just bought 1 book of JDO: Core Java Data Objects: http://www.amazon.com/exec/obidos/tg/detail/-/0131407317/ It was enought to me. But there are other books:

Create an error report from a pipeline

2004-05-07 Thread Lionel Crine
Hi, I'd like to know how to create an error report from a pipeline. This pipeline should make several tasks that send information (errors, etc ...) that I want to dispaly to the users. Then, when the users accept th report, I'd like to obtain the flow that I have manipulated. What is the best

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

2004-05-07 Thread Ralph Goers
Antonio, People who say Cocoon is just a web publishing framework are nuts. We use very little flowscript and find it to be a very powerful presentation framework. I saw a comparison of various frameworks a while ago and Cocoon easily came out on top except that it had no built in support for

Flowscript, continuations, reloading

2004-05-07 Thread Samuel Tribehou
Hello there. I'm a new cocoon user, so please bear with my ignorance ;) Here is my problem : Say I have page which contains a main form. This form contains not only traditionnal form elements, but also some data displayed as lists which is gathered form a database. To add/remove items from

MVC-Design issues - use Struts for M and C?

2004-05-07 Thread Hildebrandt, Ole
Hi, I followed parts of the discussion about where to locate business logic, or more generally speaking, how to apply MVC in Cocoon. I am quite new to cocoon and i don't want to step on anyones toes, but i think that the C capabilities in Cocoon are not satisfying. I do think that the V parts in

65K limitation

2004-05-07 Thread Nils
Does that mean, that a xml-file is only allowed to be less than 65k in file size (s. below)? Regards, Nils org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling projects_xml: ERROR 1

RE: HELP! LOSING authentication from session context!

2004-05-07 Thread H . vanderLinden
AAARGH that was it! Thanks for pointing to it, I must have overlooked about a dozen times. :-( Bye, Helma -Original Message- From: John Spackman [mailto:[EMAIL PROTECTED] Sent: Friday, 07 May 2004 12:04 To: [EMAIL PROTECTED] Subject: RE: HELP! LOSING authentication from session

Re: Javascript in Woody in Coplets

2004-05-07 Thread Philippe Guillard
Hi, I come back on the problem i post weeks ago: i still not manage to include the javascript from Woody(sorry now passed to CForms!)to the head of my portal pages. I understand i should include javascripts in th header of my pages in portal-page.xsl to have Cforms working fully. But as the

Sending parameter in a resource

2004-05-07 Thread Lionel Crine
Hi all, I'm trying this in a pipeline : map:call resource=display_modif_carryout map:parameter name=message value=coucou/ /map:call I have an xsl stylesheet in the resource to get the parameter but it is empty. Why that ? Lionel Lionel CRINE Ingénieur Systèmes

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

2004-05-07 Thread Ugo Cei
Derek Hohls wrote: Here is another thought (not mine - 'scuse the blunt language!) on DAO design pattern isn't from the thread: http://www.theserverside.com/news/thread.tss?thread_id=25695#120732 snip/ Well, in my book it's OK to put business logic in your persistent beans. It's not OK to put

Re: MVC-Design issues - use Struts for M and C?

2004-05-07 Thread Ugo Cei
Hildebrandt, Ole wrote: So i was searching the documentation and also posting in the list to find a useful solution for having a most flexible controller in cocoon. Regarding to the documentation and some postings in the list the best approach would be to use Flowscript as controller. But this

Re: 65K limitation

2004-05-07 Thread Ugo Cei
Nils wrote: Does that mean, that a xml-file is only allowed to be less than 65k in file size (s. below)? No, this means that the bytecode for a compiled method cannot exceed 64k bytes. If you're having this problem with an XSP doc, you might try to factor out some tags into helper methods, but

Problem Intergrating Cocoon2.1.2 MySQL 3.23.58

2004-05-07 Thread sameer nanda
Hello Everybody I am having problems with integrating my application using Cocoon 2.1.2 and MySQL 3.23.58. I read a lot of questionaries realted to this topic but could not find anything reletaing to the problem I am having . lets start with the environment in which I am working. System

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

2004-05-07 Thread Klaus Bertram
Hi Derek Have you seen this implementation of JDO http://tjdo.sourceforge.net/index.html TriActive JDO (TJDO) it's Apache License Klaus Derek Hohls wrote: I just found an interesting quote from a paper on JDO: http://www.jdocentral.com/pdf/eigner_jdo.pdf With the availability of JDO, it makes

Zip Archive Serializer

2004-05-07 Thread anand.vasudevan
Hi, I want to zip the entire directory contents and if there are subdirectories then their contents also using Zip Archive Serializer. ?xml version=1.0 encoding=iso-8859-1? zip-archive:archive xmlns:zip-archive=http://apache.org/cocoon/zip-archive/1.0; zip-archive:entry name= src=

Re: Zip Archive Serializer

2004-05-07 Thread Jorg Heymans
In the above code do I have to tediously mention all the files in the directory and the subdirectories(this would again contain so many files) for zipping the contents of the docs directory? have you looked at using the directorygenerator for this? Cheers Anand Jorg

Help! Question on authentication + flow + passing on data

2004-05-07 Thread H . vanderLinden
Hi, I'm using the authentication-fw with flowscripts (as in the sample). But I have a problem now: I want to pass on viewData/bizData to the resulting page. If this page is in an internal pipeline (i.e. user is logged in), I get an error on missing authentication context. If the resulting page is

Sitemap Auto-Mount challenge

2004-05-07 Thread Rob Gregory
Hi People I have a requirement to automount sub sitemaps but don't want sub sites! To explain a little I have a single application that is growing very large day by day and the sitemap has been divided into multiple sub-sitemaps currently using the map:mount approach as follows:- !-- map

Re: Re: Problem rebuilding Cocoon 2.1.2

2004-05-07 Thread sameer nanda
Hello Geoff, When you say runs of cocoon, what do you mean by that??? Actually what I interpret is Cocoon is not running as a service, nor am I deplying the cocoon war file in the servlet engine, which in my case would ne Tomcat, so how do I find out where and how is cocoon running on my