Only use serializers

2003-04-01 Thread Gunter D' Hondt
Title: Message Hello,   I've got a java webapp where I've got the DOM object with the XML transformed using XSLT but now I want to be able to serialize it to PDF. I know Cocoon has FOPSerializer etc but how can I call this serializer from java code with the only input being a transformer and

Re: esql not working at all, no connection ever created!

2003-04-01 Thread Christian Haul
On 01.Apr.2003 -- 01:48 PM, Christopher Painter-Wakefield wrote: > > Is this the whole XSP program? If so, the problem is that you don't have > the required single non-xsp child node of xsp:page. E.g., you have: > > > ... > > > > but you need to have: > > >

Cocoon 2.1 cache

2003-04-01 Thread zze-MORY Nicolas FTRD/DMI/REN
How can i turn off the cache under Cocoon 2.1 ? because : doesn't exist under Cocoon 2.1 Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Error message when starting cocoon

2003-04-01 Thread Marc Portier
Bart, at first sight, not that much there to make a sound suggestion only sensible reading about classloaders in tomcat has been http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html but it's not particulary helping me point out what the issue is, it only suggests trying out t

Re: database caching

2003-04-01 Thread Leszek Gawron
On wto, kwi 01, 2003 at 12:43:29 -0800, Kris Rasmussen wrote: > > How does cocoon handle caching of xsp pages with esql tags? It seems to me that > cocoon would have to generate the xml output of the xsp page every time the page is > called, and thus would be unable to cache any xsl translation

Re: DSML & Cocoon

2003-04-01 Thread Jeff Turner
On Tue, Apr 01, 2003 at 03:19:53PM +0400, Yury Mikhienko wrote: > Hi all! > > Does anyone know how to implement a DSML(Directory Service Markup > Language) into cocoon? There was once an LDAP taglib for Cocoon 1 that returned DSML: http://opensource.socialchange.net.au/ldaptaglib/ Probably wou

Re: bug Pdf Serialiser

2003-04-01 Thread Marc Portier
Carletta, there is very little in your message that gives me any clue towards the solution. Are there any stacktraces in the cocoon logs or the tomcat logs? Some other tests you might want to do: - can you let the browser-user do a right-click on the **PDFO*.jsp and then choose to - have you

RE: Unit test for Cocoon

2003-04-01 Thread Pham Thanh Quan
Title: RE: Unit test for Cocoon Dear Stephan, I would like to test on every separate action, generator, transformer... Please show me the test case for that. Thank you. Quan -Original Message- From: Stephan Michels [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 01, 2003 5:14 PM

Re: Question from a newbie

2003-04-01 Thread Sean McCormick
Jeff, You've made my day - thank you so much! I've just ordered both Cocoon books that are available from New Riders. Sean --- Digiteyesed Photography http://www.digiteyesed.com/ Free desktop wallpaper for download. - Original Message - From: "Jeff Sallade" <[EMAIL PROTECTED]> To: <[EMAI

JNDI datasource from Cocoon

2003-04-01 Thread David Kavanagh
I spent a bit of time getting this to work, so I thought I'd submit it to the list. Can someone add this to the CocoonWiki how-tos list? Switching from Cocoon managed datasource to JBoss JNDI datasource. Up til now, I've used the datasource defined in cocoon which managed pooling, etc. The a

RE: Question from a newbie

2003-04-01 Thread Jeff Sallade
Sean, This is exaclty the type of application that is demonstrated in the book, "Cocoon: Building XML Applications" by Matthew Langham and Carsten Ziegeler, published by New Riders. There are 3 versions of a news portal that increase in complexity. I have found the book to be a great resource f

Application Server Connection Pooling w/ Cocoon

2003-04-01 Thread Vennera, Michael R.
I'm deploying a Cocoon app on WebSphere 4. However, rather than using Cocoon built in connection pool, I need to use WebSphere's connection pooling. This would normally be accessed in Java via a JNDI lookup, but I'm using XSP and the ESQL syntax. Does anyone have suggestions on how to get use the

database caching

2003-04-01 Thread Kris Rasmussen
How does cocoon handle caching of xsp pages with esql tags? It seems to me that cocoon would have to generate the xml output of the xsp page every time the page is called, and thus would be unable to cache any xsl translation latter? Is this true? If so would it not be a better idea to have the pag

RE: 2.1-dev Logs at WEB-INF/logs/

2003-04-01 Thread Robert Koberg
You /could/ use it as a distinguisher between an XSL that is used strictly for 'styling' or an XSL that is used to 'transform' a tree. You can use two different root elements in an XSL: - xsl:transform boo.xslt - xsl:stylesheet boo.xsl It doesn't really matter, but it can keep things more 'sepa

Re: esql not working at all, no connection ever created!

2003-04-01 Thread Not Available
Haha, I'm sorry about that. My normal email account was down last night and I needed to ask a question quick. My real name is Kris as I have been signing my emails with. I'll unsubscribe from this account and use my regular account in the future ;) Kris  jcplerm <[EMAIL PROTECTED]> wrote: Perha

Re: Failed to execute pipeline.: Errors in XSLT transformation

2003-04-01 Thread Joerg Heinicke
Hello Don, there is nothing wrong the XSLT itself, so "Errors in XSLT" is not a correct message. But I can't tell you, what the error is. I "refactored" the stylesheet using templates instead of for-each. If there is a bug in Xalan 2.3.1 (this should be the version used in Cocoon 2.0.4), it wi

Re: 2.1-dev Logs at WEB-INF/logs/

2003-04-01 Thread Joerg Heinicke
e nio wrote: Also just wondering why the welcome.xslt has the extension of "xslt" instead of xsl? Not that it matters what extension as long as it matches the structure and namespaces declared in it, but more of curiousity to a changing trend? It's like *.jpeg vs. *.jpg ... the old DOS 8.3 file na

Re: 2.1-dev Logs at WEB-INF/logs/

2003-04-01 Thread Tony Collen
On Tue, 1 Apr 2003, e nio wrote: > Hello, > How to enable the logs at WEB-ING/logs/ ? I have tried by > enabling by setting true for the cocoon id > elements "sitemap", "access", "core" and "error" but still > nothing is appended in any of these files. Anywhere else I need > to enable anythin

2.1-dev Logs at WEB-INF/logs/

2003-04-01 Thread e nio
Hello, How to enable the logs at WEB-ING/logs/ ? I have tried by enabling by setting true for the cocoon id elements "sitemap", "access", "core" and "error" but still nothing is appended in any of these files. Anywhere else I need to enable anything? Also just wondering why the welcome.xs

Re: Failed to execute pipeline.: Errors in XSLT transformation

2003-04-01 Thread Charles Yates
Sorry I can't be much help here, but I will say that this Exception and your tale of woe does look vaguely familiar to me. The voices of my memory are whispering 'namespaces'. I find dealing with namespaces one of the more gnarly parts of xml, especially with SAX. My suggestion is (and th

Re: 2.1 dev - CVS whats the new steps to build

2003-04-01 Thread Tony Collen
On Tue, 1 Apr 2003, e nio wrote: > Hi Alex, >I was able to get a download and was able to compile and > created a working samples war file. Thanks for your help. Now > when I need to update (for the delta) I type exact same command > or is there another option? Also there is no need for the H

Re: esql not working at all, no connection ever created!

2003-04-01 Thread Christopher Painter-Wakefield
Is this the whole XSP program? If so, the problem is that you don't have the required single non-xsp child node of xsp:page. E.g., you have: ... but you need to have: ... If that isn't the problem, write ba

Re: 2.1 dev - CVS whats the new steps to build

2003-04-01 Thread e nio
Hi Alex, I was able to get a download and was able to compile and created a working samples war file. Thanks for your help. Now when I need to update (for the delta) I type exact same command or is there another option? Also there is no need for the HEAD? Thanks again in advance, e nio --- Ale

Re: esql not working at all, no connection ever created!

2003-04-01 Thread jcplerm
Perhaps this message is inappropriate for this mailing list, but what I want to say is that I wonder why people would participate without showing their real names, but instead conceal their identity by means of fake yahoo or hotmail addresses.   I joined recently, so maybe this has always

Error message when starting cocoon

2003-04-01 Thread BREMMER1
Title: Error message when starting cocoon Dear helper, When I start cocoon, I get the attached error message (see log). As far as I know, this error was not listed in the faq. Basically, the error root is java.lang.NoClassDefFoundError: org/apache/log/Logger I don't understand how this

bug Pdf Serialiser

2003-04-01 Thread CARLETTA ANGELO
--- Reçu de INFETUDE.G145193 02/250.96.71 01-04-03 14.22 Hi, I have a application whith cocoon 2.04 and tomcat 4.1.12 When i start whithout user defined in tomcat (web.xml of application) the serialize fo2pdf run fine (the acrobat reader run)

Re: esql not working at all, no connection ever created!

2003-04-01 Thread Not Available
The part that says db_pool was pointing to another pool i was trying with no luck. I had it as antiques as it should be and it still does not work.  Not Available <[EMAIL PROTECTED]> wrote: Here is my xsp code: http://apache.org/xsp"    xmlns:esql="http://apache.org/cocoon/SQL/v2">   db_p

Re: esql not working at all, no connection ever created!

2003-04-01 Thread Not Available
Here is my xsp code: http://apache.org/xsp"    xmlns:esql="http://apache.org/cocoon/SQL/v2">   db_pool   select * from antiques                      Here is my web.xml:   load-class            

Question from a newbie

2003-04-01 Thread Sean McCormick
Hi folks, I apologize in advance if this mailing list is not the appropriate place for this question, but I think I've nearly worn out Google trying to find the solution to my problem. I have been asked to locate software that can dynamically create a newsletter from numerous RSS feeds according t

Re: Problem with indent

2003-04-01 Thread J.Pietschmann
g[R]eK wrote: Problem is caused by the entites like "ó" because its size is 8 bytes, but character ó have size 1 or 2 bytes. It is big difference, when ó character is repeating much times. I hope, you know what I say? An "encoding problem" usually refers to mismatches regarding the mapping of Unico

Re: esql not working at all, no connection ever created!

2003-04-01 Thread Christopher Painter-Wakefield
Please post your xsp code, or at least the portion with esql in it. Very hard to help, otherwise. -Christopher |-+> | | Not Available| | | <[EMAIL PROTECTED]| | | hoo.com> | | |

Re[2]: Problem with indent

2003-04-01 Thread g[R]eK
Hello Joerg, March 13, 2003, 08:22:55 AM, you wrote: JH> g[R]eK wrote: >> Hi J.Pietschmann, >> >> JP> Try >> JP>yes >> >> It isn't working, the output is same :-( JH> Of course it changes nothing with encoding, you wrote "Problem with indent" JH> in the mail subject. I remind to you. I h

Re: XSP Problem

2003-04-01 Thread cocoon user
Hi Lionel As of now I have no logic in XSP at all. The content is not very meaningful since I am only trying to learn the concepts. Actually I need to generate a legal document in PDF. The document mainly consists of "numbered" paragraphs that may or may not be displayed depending on certain criter

Re: Ant:NoClassDefFoundError after Cocoon install

2003-04-01 Thread a847356549/mail . h7 . dion . ne . jp
Thanks for your tip of info. I am getting ready for installing ANT-1.5.3Beta1. In my next mail I will tell the result. ttkaya Helmut Tammen <[EMAIL PROTECTED]> wrote: > Download the newest release of Ant (1.5.1 or higher), install it and

Re: JSP Again

2003-04-01 Thread Sushil Bhattarai
Newer version of JBoss (JBoss Web) comes with Jetty. I'm using JBoss 3.0.4 and I'm trying to get JSP work in my cocoon. Rest of the Cocoon stuff work fine, only JSP seems to be giving problem. I added jasper-compiler.jar because I read in one of the discussion list that it is needed for JSP to

Re: Struts in Cocoon

2003-04-01 Thread Kavitha Ramesh
Thank you so much,,,  Derek Hohls <[EMAIL PROTECTED]> wrote: Have at a look at the wiki page: http://wiki.cocoondev.org/Wiki.jsp?page=Struts (a link to integrating the two)   Apart from that, browse through the mail archives; someone may have picked up this specific point before.>>> [EMAIL PROTEC

Re: Struts in Cocoon

2003-04-01 Thread Derek Hohls
Have at a look at the wiki page: http://wiki.cocoondev.org/Wiki.jsp?page=Struts (a link to integrating the two)   Apart from that, browse through the mail archives; someone may have picked up this specific point before.>>> [EMAIL PROTECTED] 01/04/2003 03:16:11 >>> Hi, I have a loginpage which r

Re: SourceWritingTransformer, namespaces problem with Cocoon 2.1

2003-04-01 Thread Murad Jura
Bruno Dumon wrote: On Sat, 2003-03-01 at 17:52, Mark H wrote: I'm trying to write an XSP to a file using SourceWritingTransformer but the latest DOMStreamer (v2.1) with setNormalizeNamespacesOn to true adds a namespace to every element rather than to the xsp:page element (so that the logicsheets d

Struts in Cocoon

2003-04-01 Thread Kavitha Ramesh
Hi, I have a loginpage which runs with cocoon 2.0 and Tomcat 4.1.12.But I have problems in restoring the sessions of the users.So I would like to use Struts for solving the session problems.Now I would like to make the Struts work inside Cocoon without affecting my design using xslt.I would like to

Re: cocoon and application configuration (maybe not long but short not also)

2003-04-01 Thread Helmut Tammen
I´m not very experienced with Cocoon yet but have a detailed look at the portal-fw and authentication-fw. I think you´ll find the answer there. The portal loads it´s configuration from a set of xml files when a user logs on and saves it in the user session. There are some configuration items tha

Re: Ant:NoClassDefFoundError after Cocoon install

2003-04-01 Thread Helmut Tammen
Download the newest release of Ant (1.5.1 or higher), install it and set the ANT_HOME environment variable to the installation - dir. In addition you can set the PATH variable to the installation/bin - dir. After that it should (hopefully) work. Helmut On Tue, 01 Apr 2003 10:30:16 +0900, a84735

Re: XSP Problem

2003-04-01 Thread Lionel Crine
hi, Can we see the code in the and the pipeline. Lionel At 14:18 31/03/2003 -0800, you wrote: I use Cocoon 2.0.4 for JDK1.3 on Weblogic 7.0 SP1. I need to use Xalan Extensions to write javascript in my XSL. I use Xalan 2.5.D1 and the XercesImpl that comes with it. If I add the xalan.jar, xer

DSML & Cocoon

2003-04-01 Thread Yury Mikhienko
Hi all! Does anyone know how to implement a DSML(Directory Service Markup Language) into cocoon? -- Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: XMLForm: how to retrieve URL parameter?

2003-04-01 Thread Lionel Crine
You can also see the source of the request generator. It's almost the same thinglook the setup method. Lionel At 23:15 31/03/2003 +0200, you wrote: Sure: public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) throws java.lang.E

Re: Authentication - Accessing The Context

2003-04-01 Thread tdawber
Problem with DEBUG message fixed, cvs client still pointing at xml-cocoon2 instead of cocoon2.1 therefore not running on latest version.  Thanks Bruno Still have problem trying to access the 'authentication' context With the DEBUG message fixed I can see the following message when my authenticat

Re: Failed to execute pipeline.: Errors in XSLT transformation

2003-04-01 Thread Don Saxton
Geoff this pipe works and results in the p1.xml attached. generate type="session-attr" serialize type="xml" result is p1.xml (attached) Yet this pipe does not generate type="session-attr" transform src="person.xsl" (attached ) serialize type="html" (never gets here) result is this error Origin

cocoon and application configuration (maybe not long but short not also)

2003-04-01 Thread Leszek Gawron
I started to learn web development some years ago with PHP. Up till now some habits are still vivid. Some days ago I came up with a problem while developing simple application with cocoon that I cannot overcome. If you ever used php you should be familar with the way that PHP gives you a possibilit

Re: Unit test for Cocoon

2003-04-01 Thread Stephan Michels
On Tue, 1 Apr 2003, Pham Thanh Quan wrote: > Hi, > > Do you know any unit-test tool for Cocoon? Please tell me. > Thanks and regards What do you prefer to test? There exist a testcase for generators and transformer. And writing a test case for complete pipelines shouldn't be difficult. The onl

Re: escaping, still not clear

2003-04-01 Thread Sanne de Roever
Hi Jelle, It's not a complete answer but not all special characters need encoding. Actually ë is valid UTF8 even I think (137 <<< 255 == 2^8 -1 !!). Make sure that your encoding tags are properly set in the files (utf8/iso 88 ...). I've generated a whole book with cocoon last year, with special ch

unable to serialize XHTML in ISO encoding

2003-04-01 Thread Goetz Botterweck
WHAT I WANT     serialize XHTML in ISO-8859-1 encoding   PROBLEM     Even if I tell the serializer to use ISO-8859-1 encoding, it keeps generating UTF-8 encoding   WHAT I DID   1) Sitemap: Configured a XHTML serializer         name="xhtml"     pool-grow="2" pool-max="64" pool-min="2"     sr

escaping, still not clear

2003-04-01 Thread Alten, Jelle Paul (sds-sp)
Hi all, I searched through the mail archives but can't find the answer to my escaping problem. The thing is that my original xml file has escaped characters like ë or ë After going through cocoon it arrives as the ascii 137 character (ë) not the escaped code. This is not valid HTML or XHTML or XM

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-04-01 Thread Tony Collen
On 1 Apr 2003, Bruno Dumon wrote: > I've tried out your sample, and had the same problem. After putting in a > logtransformer, I noticed that the endDocument SAX event was called > twice. > > I've updated CVS to correct this behaviour. Bruno, Thank you so very much for your help!! I was starti

esql not working at all, no connection ever created!

2003-04-01 Thread Not Available
I have been trying to get esql to work now for about 3 days with no luck. I beleive i have configured everything correctly but when I run any xsp page with esql it returns a duplicated page of my xsp page except that it stops at the esql:connection tag. When I look at the error log it says there wa

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-04-01 Thread Bruno Dumon
On Tue, 2003-04-01 at 09:42, Tony Collen wrote: > On Mon, 31 Mar 2003, Geoff Howard wrote: > > > While you're waiting for someone who has the foggiest clue what is > > going on (which I don't) I'd suggest two experiments: > > > > 1) saving the output of the output from the noaa.gov site to a local