??: Separation of Logic and Content

2001-08-29 Thread ZYTAN
Title: ??: Separation of Logic and Content hello, it there any one can answer my question? 1. in my site(powered by c1), article.xml has one tag as that article_default.xsl how to set sitemap, then to use the xml file's tag template, to show the pages that is to say, if article.xml's ta

New Cocoon2 LiveSite http://e-profin.net

2001-08-29 Thread Karol Pokojowczyk/POKOJOWCZYK.COM
Hello cocoon-users, have just fininsed the basic framework of a C2 powered website. Coocoon2 runs on FreeBSD/JDK 1.3.1/Tomcat 3.2. Thanks to all people involved in this fantastic project!!! -- Best regards, Karol mailto:[EMAIL PROTECTED] ---

Problem installing cocoon

2001-08-29 Thread G Crawshaw
I am having problems installing cocoon - I have tried both downloading the latest official release of cocoon2 and also following the cvs instructions for unix - both end in the same error message when I attempt to install cocoon2. When I attempt to execute the following: >./build.sh -Dinclude

RE: printable documentation

2001-08-29 Thread Jhansen Cayabyab
Hi Catalin,   you can try the following places:   http://www.webslingerz.com/balld/xsl/designer_manual.xml for xml and xsl http://www.w3.org/TR/1999/REC-xslt-19991116 for xsl http://www.nwalsh.com/docs/tutorials/xsl/xsl/slides.html this one is really good   happy cocooning :-)     Jhansen.

C2 slow?

2001-08-29 Thread Bernie Lee
hi i was just wondering (newbie question). C2 seems slow loading a page. on my p2-500, 192MB RAM, running w2kpro, T4b7 and C2b2, it takes about 3 secs to load dynamic content. i'd imagine from the net, it might take 4-5 secs. doesnt that seem a tad slow?

Re: Tried just about everything

2001-08-29 Thread Matt Jezorek
doing the easy way out giving up - Original Message - From: "Matt Jezorek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 29, 2001 1:14 PM Subject: Re: Tried just about everything > Yes but it says in the cocoon instructions to add it to the > cocoon/webapps/WEB-IN

RE: logic

2001-08-29 Thread Mark S. Kent
Do I get counted off points as a newbie poster when I'm just stupid?? Bad coding on my part in another page: While trying to get the xsp:logic to work, I mistakenly placed it in a sub XSL file and didn't close it. Argh. -Original Message- From: Mark S. Kent [mailto:[EMAIL PROTECTED]] S

xsp:logic

2001-08-29 Thread Mark S. Kent
I'm trying to add an "xsp:logic" section in my XML file using the xml.apache.org sample and keep getting the error: org.apache.xalan.xslt.XSLProcessorException: Element type "xsp:logic" must be followed by either attribute specifications, ">" or "/>". I have the closing tag for the xsp:logic in

Formatting dynamic xml to PDF

2001-08-29 Thread sudhir kumar
Hi All! I am evaluating the use of cocoon in our application. I ran some samples which generate pdf files. But the xml files here are all static and are available on the server. What if I generate an xml dynamically from the html forms and want to format it to pdf. Please suggest me on to how

Re: Separation of Logic and Content

2001-08-29 Thread Liam MacQuarrie Morley
It would be nice if you were to mention whether you are using Cocoon 1 or Cocoon 2, as I'm not sure if there are differences. The following is what I do for Cocoon 2 to seperate the XSL from the XML in the stylesheet (which is fairly common in the examples): As yo

Re: only cocoon and XML ?

2001-08-29 Thread Liam MacQuarrie Morley
Currently, we use our own transformer to pass the http request on to data sources, which then interpret this and send the appropriate SAX events.   I'm interested in hearing the different ways of wrapping java apps within Cocoon.   Liam Morley - Original Message - From: Catal

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-29 Thread Nicolai P Guba
On 29 Aug 2001 14:28:08 -0400, [EMAIL PROTECTED] wrote: > > Minor Update, > > I took Cygwin out of the picture. Removed and reinstalled everything > entirely via DOS. I got the same results as while under Cygwin as far as I > can tell: with jdk1.4 it throws a class not found exception on > org

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-29 Thread IBrandt
Minor Update, I took Cygwin out of the picture. Removed and reinstalled everything entirely via DOS. I got the same results as while under Cygwin as far as I can tell: with jdk1.4 it throws a class not found exception on org.apache.xerces.parsers.SAXParser. I can't understand how it is not fi

Re: Tried just about everything

2001-08-29 Thread Marcus Crafter
Hi Matt, Thanks for the pointer, with Tomcat 4.0b7 this was not needed for me, Cocoon worked out of the box. I'll test this a bit further and clarify the Cocoon documentation. Cheers, Marcus On Wed, 29 Aug 2001, Matt Jezorek wrote: > Yes but it says in

The requested resource (/welcome) is not available

2001-08-29 Thread Roger I Martin PhD
when accessing cocoon at   http://localhost:8080/cocoon   using tomcat 4.0 build 8 and Cocoon-2.0b2 on Windows 2000, I get   HTTP Status 404 - /welcome The requested resource (/welcome) is not available.   However   http://localhost:8080/cocoon/xsp/simple works and yields the "A Simple XSP

Re: Tried just about everything

2001-08-29 Thread Matt Jezorek
Yes but it says in the cocoon instructions to add it to the cocoon/webapps/WEB-INF/web.xml Quote: "Tomcat 4.0 does not expose the servlet.jar file to Apache Cocoon by default, so before you build the Apache Cocoon webapp you will need to add the following to the Apache Cocoon servlet definition

Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-29 Thread Samuel ARNOD-PRIN
what do you think of such a configuration ? for a small web site. thank you - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-

Rif: JBoss and Cocoon 2 : Null pointer exception

2001-08-29 Thread michele bianchi
did you try using tomcat separately? i run without probs jboss 2.4.0, tomcat 3.2.3 and cocoon2b2. m > > Da: Jesper Rasmussen <[EMAIL PROTECTED]> > Data: 29/08/2001 15:57 > A: [EMAIL PROTECTED] > Oggetto: JBoss and Cocoon 2 : Null pointer exception > > > I know people before me have asked ab

Rif: JBoss and Cocoon 2 : Null pointer exception

2001-08-29 Thread michele bianchi
did you try using tomcat separately? i run without probs jboss 2.4.0, tomcat 3.2.3 and cocoon2b2. m > > Da: Jesper Rasmussen <[EMAIL PROTECTED]> > Data: 29/08/2001 15:57 > A: [EMAIL PROTECTED] > Oggetto: JBoss and Cocoon 2 : Null pointer exception > > > I know people before me have asked ab

a very strange behaviour related to getting pages thru port 80 (amazingly solved)

2001-08-29 Thread Enric Staromiejski
Solution: BY MISTAKE (mistakes are very productive sometimes) we had the following lines in the public box's tomcat/conf/my-mod_jk.conf: JkMount /cocoon/servlet/* ajp12 JkMount /cocoon/*.jsp ajp12 JkMount /cocoon/*xml ajp12 When we added the last file to the my-mod_jk.conf we intended to write

Re: Tried just about everything

2001-08-29 Thread Matt Jezorek
I have opened the disk wide open on those directories to 0777 I am running Linux on a Cobalt RAQ3 with most current jdk and jre. I have absolutly nothing extra in the class path only what is default to jdk , jre, tomcat, and cocoon. I will try to get both tomcat and cocoon from cvs and just make

Re: Tried just about everything

2001-08-29 Thread Marcus Crafter
Hi Matt, On Wed, 29 Aug 2001, Matt Jezorek wrote: > edited the web.xml in the webapps/WEB-INF from the cvs checkout to include > the path to the servlet.jar This shouldn't be necessary as tomcat comes with it's own servlet.jar, which is available to all webapps, putting your own

Re: Q: DB-password clear text?

2001-08-29 Thread Mariano Kamp
Michael, to prevent unauthorised pesonnel to look at the password you could probably unset the read flag of their group. Mariano On Tuesday 28 August 2001 22:38, Martin Man wrote: > On Tue, Aug 28, 2001 at 11:21:45AM +0200, Enke Michael wrote: > > Hi! > > Is there a possibility or would it b

Re: Tried just about everything

2001-08-29 Thread Peter Royal
At 11:15 AM 8/29/2001 -0400, you wrote: >java.security.AccessControlException: access denied (java.io.FilePermission >/home/jakarta-tomcat-4.0-b7/work/localhost/cocoon read) > at >java.security.AccessControlContext.checkPermission(AccessControlContext.java >:272) > at >java.security.AccessContro

Re: Tried just about everything

2001-08-29 Thread Sergio Carvalho
Please, when posting a new thread to the list, don't reply to an existing thread. It confuses message threading on mail clients. Now, about your problem, please tell us which OS are you using, and which JVM. Do you have any extra JARs on the JRE's ext directory? I had C2b2 running out of the b

Re: How to use Jfor with Cocoon 1.8.2 ?

2001-08-29 Thread Sébastien Lefebvre
Bertrand, Reading the README file, I thought it was much more complicated than it is. I'll keep you informed of my experience when I'll use more complicated features of jfor (images, tables ...) I had no problem installing jfor on my system (I ran the minimum fo file successfully). FYI, I use A

Re: [Offtopic] HTML content (was: Separation of Logic and Content)

2001-08-29 Thread Sergio Carvalho
On Wed, 29 Aug 2001 16:51:55 +0200 (CEST), Arnaud Vandyck wrote: From: Arnaud Vandyck <[EMAIL PROTECTED]> -- > Date: Wed, 29 Aug 2001 14:14:39 > From: "Beat De Martin" <[EMAIL PROTECTED]> > > > # # ## # # ### # # # > > ### ## # #### ## # > > # #

Re: Tried just about everything

2001-08-29 Thread Gianugo Rabellino
On Wed, Aug 29, 2001 at 11:15:31AM -0400, Matt Jezorek wrote: > ran the ./startup.sh in the bin dir > > and hit > > http://www.bluelinux.org:8080/cocoon/ > > this is what i got > > java.security.AccessControlException: access denied (java.io.FilePermission > /home/jakarta-tomcat-4.0-b7/work/l

Re: Separation of Logic and Content

2001-08-29 Thread Beat De Martin
Hello Arnaud I like to have three files content.xml, logic.xsl and style.xsl. But I don't know how to process them ? Cheers Beat >From: Arnaud Vandyck <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: Separation of Logic and Content >Date: Wed, 29 Aug 2001 1

Tried just about everything

2001-08-29 Thread Matt Jezorek
Cocoon 2 from CVS Tomcat 4 beta 7 no extra jars no extra anything. edited the web.xml in the webapps/WEB-INF from the cvs checkout to include the path to the servlet.jar used ./build.sh -Dinclude.webapp.libs=yes webapp copyed the cocoon.war file to the /home/jakarta-tomcat/webapps directory r

One agan .. in plain text ( Access File-Date with Cocoon ? )

2001-08-29 Thread Christofer Dutz
Hi again. How can I get the date of a xml-file that is beeing accessed automaticaly with any of the Cocoon technologies ? Thanx in advance, Christofer Dutz - Please check that your question has not already been answered in

Re: Separation of Logic and Content

2001-08-29 Thread Arnaud Vandyck
Date: Wed, 29 Aug 2001 14:14:39 From: "Beat De Martin" <[EMAIL PROTECTED]> > # # ## # # ### # # # > ### ## # #### ## # > # # # ## # ### # # # # > # # # ## ##### # # # > # # # ## # ###

Re: Problem installing cocoon

2001-08-29 Thread Raphaël Goulais
On Wed, 29 Aug 2001, Parry, Alan wrote: > ./build.sh: CP=/home/oracle734/jdbc/lib/classes111.zip: is not an identifier Please give us the command line you used to get this output :o) > ./build.sh: /home/alapar/Cocoon-2.0b2/bin/ant: No such file or directory I had this problem with the first v

Problem installing cocoon

2001-08-29 Thread Parry, Alan
Hi, I'm a newcomer to java and cocoon and I'm having a bit of a problem installing cocoon. I get the following message when I try and run the build.sh script and I'm unable to determine why. ./build.sh: CP=/home/oracle734/jdbc/lib/classes111.zip: is not an identifier I've tried unsetting my cl

Separation of Logic and Content

2001-08-29 Thread Beat De Martin
Hello If I want to separate logic (XSL) and content (XML) how will the sitemap look like ? I know I could handle the logicsheet like a taglib and make a new entry in the cocoon.xconf. Is there another way ? Thanks Beat  Get your FREE download of MSN Explorer at http://explorer.msn.com --

Cocoon 1: Properties: Database Settings

2001-08-29 Thread Derek Hohls
In the Cocoon 1properties file there is a setting:   # processor.xsp.pool.database.default.driver=oracle.jdbc.driver.OracleDriver # processor.xsp.pool.database.default.url=jdbc:oracle:thin:@localhost: # processor.xsp.pool.database.default.username=dbUser # processor.xsp.pool.database.default.p

JBoss and Cocoon 2 : Null pointer exception

2001-08-29 Thread Jesper Rasmussen
I know people before me have asked about this, but none seem to have replied to the list, so i tri again in hope thouse people might have solved it at that time. Here is the problem: I have installed newest jboss (with tomcat) and cocoon2 I have bould and instaled both without problems, except i

Please, NO HTML...

2001-08-29 Thread Arnaud Vandyck
Cocooners, Is there a lot of new members in this list? I am here for some month and it seems to me that more and more emails are sent in html. Can you please stop this and send them in plain text. Thank you, --Arnaud - Pl

RE: a very strange behaviour related to getting pages thru port 80

2001-08-29 Thread Luca Morandini
> -Original Message- > From: Enric Staromiejski [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 29, 2001 3:27 PM > To: [EMAIL PROTECTED] > Subject: a very strange behaviour related to getting pages thru port 80 > > > Any idea...? Eric, how about the proxy-server settings ? Us

RE: a very strange behaviour related to getting pages thru port 80

2001-08-29 Thread Raphaël Goulais
On Wed, 29 Aug 2001, Enric Staromiejski wrote: > We forgot explaining that both boxes work ok when cocoon is invoked thru > port 8080. Are you using apache and mod_jk on port 80 ? And in this case, how do you configure apache (auto, manually) ... ?

RE: a very strange behaviour related to getting pages thru port 80

2001-08-29 Thread Enric Staromiejski
We forgot explaining that both boxes work ok when cocoon is invoked thru port 8080. Thanks -Mensaje original- De: Enric Staromiejski [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 29 de agosto de 2001 15:27 Para: [EMAIL PROTECTED] Asunto: a very strange behaviour related to getting p

a very strange behaviour related to getting pages thru port 80

2001-08-29 Thread Enric Staromiejski
We've got Cocoon installed on 2 Redhat 7.0 boxes: box 1 (production box, public on Internet): OS: RedHat 7.0 jdk1.3.1 Tomcat 3.2.1 Cocoon 2.b02 box 2 (experimental box, inside a Lan) OS: RedHat 7.0 jdk1.3.1 Tomcat 3.2.3 Cocoon 2.b

RE: DB-password clear text - what alternatives?

2001-08-29 Thread Chris Newland
Hi Derek, I didn't get as far as ESQL when I used to use Cocoon 1 but I'm almost certain that it supports connection pooling. I think there is an option in cocoon.properties but I'd recommend you check the Cocoon 1 FAQ and the mailing list archive. Regards, Chris -Original Message- Fro

Re: Another successful story about Cocoon C2b2 (with Tomcat4 onW2KPro)

2001-08-29 Thread Raphaël Goulais
On Wed, 29 Aug 2001, Matt Jezorek wrote: > I have went to tomcat 4 b7 and the cvs version of C2 but still getting this > error any help? > > message The sitemap handler's sitemap is not available. Please check > /home/jakarta-tomcat-4.0-b7/bin/./../webapps/cocoon/WEB-INF/logs/cocoon.log > for th

Acces File-Date with Cocoon ?

2001-08-29 Thread Christofer Dutz
Hi again.   How can I get the date of a xml-file that is beeing accessed automaticaly with any of the Cocoon technologies ?   Thanx in advance,     Christofer Dutz

RE: DB-password clear text - what alternatives?

2001-08-29 Thread Derek Hohls
Chris   Thanks - the code is very clear... just one small problem : I am still using Cocoon 1.8 (and am likely to for a while, for various reasons) - would this also work in that version?   Derek>>> [EMAIL PROTECTED] 29/08/2001 10:55:23 >>>Hi Derek,The cocoon.xconf file is the main cocoon 2

Re: Sample's Working Explanation

2001-08-29 Thread Mario Muja
The beginning of the sitemap file contains the declaration of the transformers and serializers used in this sitemap / sub sitemap. The name of the transformer / serializer used in a particular pipeline can be found in the type attribute. For example: type="svg2png" for the svg2png serializer.

RE: Sample's Working Explanation

2001-08-29 Thread java guru
And please DO NOT post same message multiple times... Thanks --- Ankush Anand <[EMAIL PROTECTED]> wrote: > It's not in the faq's > > -Original Message- > From: Ankush Anand > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 29, 2001 6:19 PM > To: [EMAIL PROTECTED] > Subject: RE: Sa

RE: Sample's Working Explanation

2001-08-29 Thread java guru
Hi., Cocoon framework is three layers(in simple explanation).. generator-->transformer-->serializer. Generator generates xml:-) Transformer transformes xml:-) and Serializer serializes:-) Please dont laugh at the explanation 'coz the terms stand for themselves. Its like input(feeder), trans

RE: Sample's Working Explanation

2001-08-29 Thread Ankush Anand
It's not in the faq's -Original Message- From: Ankush Anand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 6:19 PM To: [EMAIL PROTECTED] Subject: RE: Sample's Working Explanation -Original Message- From: Ankush Anand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Au

Re: Another successful story about Cocoon C2b2 (with Tomcat4 on W2KPro)

2001-08-29 Thread Matt Jezorek
I have went to tomcat 4 b7 and the cvs version of C2 but still getting this error any help? message The sitemap handler's sitemap is not available. Please check /home/jakarta-tomcat-4.0-b7/bin/./../webapps/cocoon/WEB-INF/logs/cocoon.log for the exact error. description org.apache.cocoon.Processi

RE: Sample's Working Explanation

2001-08-29 Thread Ankush Anand
-Original Message- From: Ankush Anand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 6:15 PM To: [EMAIL PROTECTED] Subject: Sample's Working Explanation Hi I have installed Cocoon2.0-b2 on tomcat4.0-b7 & run the samples provided with it. Could anyone pl tell me how is th

Sample's Working Explanation

2001-08-29 Thread Ankush Anand
Hi I have installed Cocoon2.0-b2 on tomcat4.0-b7 & run the samples provided with it. Could anyone pl tell me how is the sample(let's say multimedia Hello World) actually working.I edited the hello-page.xml and the same is reflected on different o/p formats. But I am not sure how this xml file is

Re: only cocoon and XML ?

2001-08-29 Thread Mario Muja
018601c13083$3125e2a0$0b01a8c0@w2k"> is there possible to make an web application that has a sql backend and uses lots of forms and file uploads to be done only using XMl and Cocoon ?   Yes. I am building such applications only using C2, my little Java knowledge and my relatively good

only cocoon and XML ?

2001-08-29 Thread Catalin Constantin
is there possible to make an web application that has a sql backend and uses lots of forms and file uploads to be done only using XMl and Cocoon ?   is there necesary to make aditionals beans (.class) or to use aditional jakarta software such as struts for the form processing and file uploadi

Does CAPTURE.XSL work with C2 Beta 2 ???

2001-08-29 Thread Mario Muja
Hi, the latest developer snapshot contains a logicsheet called capture.xsl that can be used to store a stream of SAX events to an XMLFragment variable. I would like to use this to store the results of an ESQL call to a static variable for later usage. Does this logicsheet work with C2 Beta 2?

Re: printable documentation

2001-08-29 Thread Mario Muja
Hi, to learn something about XSP, I used the documentation available on the C2 homepage. To learn about the syntax of ESQL, I browsed the esql.xsl file delivered with C2. To learn XSLT, I can recommend Michael Cay XSLT Programmers Reference 2nd Edition Wrox Publishing ISBN: 1861005067 Regards,

printable documentation

2001-08-29 Thread Catalin Constantin
Hi everybody,   I'm new using cocoon and i would appreciate if any of you can give me some link from where I can download some printable documentation regarding Cocoon.   I'm intrested in a detailed documentation of xsl tags, xsp tags and esql tags.   Any other documentation is highly apprec

Re: Dynamic form handler

2001-08-29 Thread Mario Muja
You can have a hidden field in the form, which tells the processing logic behind it, which action to perform. For example, you could use the hidden field values "process_edit" and "process_display" or corresponding numbers. The processing logic can be an XSP page, which generates content depe

Dynamic form handler

2001-08-29 Thread Mamadou Bobo Sylla
I have a page which contains a form that has been handled according which link has clicked. In another word if some click on edit, the form action attribute will have to be inside XSL as (for example) if the user click on display , the form action attribute would look like this (using the

RE: DB-password clear text - what alternatives?

2001-08-29 Thread Chris Newland
Hi Derek, The cocoon.xconf file is the main cocoon 2 configuration file and it is located in the /webapp directory. I use connection pooling to access my database and I describe the connection in my cocoon.xconf file: jdbc:mysql://localhost:3306/my_database_name

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-29 Thread Nicolai P Guba
On 28 Aug 2001 22:32:28 +0200, Gianugo Rabellino wrote: > > Hmmm, on Jboss 2.4 with latest coccon-2 build and IBM jdk1.3 I get this > > little surprise: > > > > java.lang.InternalError: Can't connect to X11 window server using ':0.0' > > as the value of the DISPLAY variable. > > Why on earth does

Re: Cocoon2 + SSL.

2001-08-29 Thread Giacomo Pati
Wrong list, Please post to tomcat-users Giacomo Quoting [EMAIL PROTECTED]: > I use Tomcat with Cocoon2. But now i need SSL. I've tried with > tomcat > but i can't. Someone can tell me how to do it properly. > I've done all with tomcat papers but it doesn't work well. Some > questions:

Re: How to use Jfor with Cocoon 1.8.2 ?

2001-08-29 Thread Bertrand Delacretaz
Bonjour Sébastien, > I'd like to use jfor in order to produce RTF file format. Actually jfor is independent of FOP, and has to be configured as a separate processor for Cocoon (1.x only, there is no jfor adaptor for Cocoon 2 yet). There are (sparse) instructions on how to configure jfor with C

RE: How to log from a Java class ?

2001-08-29 Thread Bentley, Tim
You need to be careful with this - I've had problems with the compiler not recognising getLogger() if the code below is inside a class in your XSP page (which becomes an inner class of the page class). Presumably a bug in the JDK (1.3.1, running on Win2K), as it should work. Tim Bentley >