RE: upgrading to Cocoon2 and debugging

2002-05-16 Thread Graaf, Edgar de (fin)
Thanks Konstantin! But what I don't understand is if this is faster and better, why is it commented out? I didn't do that Regards, Edgar -Oorspronkelijk bericht- Van: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 16 mei 2002 13:19 Aan: [EMAIL PROTECTED] Onderw

mount + file:// problem.

2002-05-16 Thread TREGAN Fabien
Hi, According to the FAQ this should works, but does not : I have a cocoon app under [cocoondir]/caw I have the SAME (copy-paste) under C:\caw My webapp use only file generator, xslt and cinclude transformers, xml and html serializers, and readers. Tomcat 4.0.1, winnt 4, cocoon 2.0.2 release, 2.

RE: XSP Function to get URL

2002-05-16 Thread Darrell Cumming
Hi Zack, You can get all that kind information from the request object. So maybe have a look at the Request Logic sheet. In the samples its http://localhost:8080/cocoon/xsp/request And the docs are here. http://xml.apache.org/cocoon/userdocs/xsp/request.html Hope that helps. Darrell > ---

Symbol euro

2002-05-16 Thread Eric Basley
Hello Im trying to convert charactere euro (€) into html symbol (&euro) using cocoon 2.0.2 on linux with tomcat 4.0.4b3. Serializers in sitemap are setup with "ISO-8859-15". characteres ¤ (euro) are correctly read from the form, insert in a database using iso-8859-15 encoding, correctly read

[doc] draft howto-bugzilla

2002-05-16 Thread David Crossley
Andreas, sorry i missed this part of your recent post ... http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102115463104554 > I understand. So in the future I'll do it that way and will > document that in the howto. I recently started work on a "How-to Bugzilla" in true opensource fashion ... d

Re: livesites: www.nzetc.org

2002-05-16 Thread David Crossley
> http://www.nzetc.org/ (currently redirects to http://nzetc.vuw.ac.nz/ but > that is only a temporary url) > > This is the site of the "New Zealand Electronic Text Centre". > Thanks ... added to CVS. Note that the Cocoon website does not get updated automatically (yet). So the changes will onl

XSP Function to get URL

2002-05-16 Thread Zack Angelo
Is there an XSP or Java class I can access that will give me the URL of the current page? TIA, Zack - Please check that your question has not already been answered in the FAQ before posting.

esql v1.22 multiple returned update counts and ResultSets

2002-05-16 Thread neil
Hi, it seems that a few cocoon users like me, are hacking about with esql to get it to do what we need. I'm working on the change shown below and am happy to share it if anyone wants it. JDBC can handle a sequence of values returned from a stored procedure, where the values can be update counts a

Re: Cocoon 2 + Access

2002-05-16 Thread cyril vidal
Tom, I've tried this and it was runnig well. That's why I'm surprised. I think the problem comes perhaps from my Cocoon configuration, because my access.log file looks like this: DEBUG (2002-05-16) 09:15.48:230 [access] (Unknown-URI) Unknown-thread/CocoonServlet: getRealPath for /: C:\tomcat\

RE: Reuse of matches or pipelines

2002-05-16 Thread Vadim Gritsenko
> From: Matthew Hailstone [mailto:[EMAIL PROTECTED]] > > Vadim: > > Thank you for that simple suggestion. Here is my final modification in > the sub sitemap that worked. > One simple part that I didn't understand that I do now that I'll pass > along is the map:parameter name attribute needs to b

RE: Connection problem to DB2

2002-05-16 Thread Kelly Cole
Christian, Thanks for the quick response... I am using Cocoon 2.0.2, Tomcat 4.0.1 and JDK 1.3.1_03. Now that I got the driver in the right place... and modified cocoon.xconf to include a logger attribute: jdbc:db2:tdb2

Re: Cocoon 2 + Access:it runs now well!!!

2002-05-16 Thread cyril vidal
Hy Christopher! Thanks for your help!!! The > was indeed the origin of my problem... Without code errors, Cocoon2 and Access, it runs well!! Thanks again for your help, Regards, Cyril. - Original Message - From: "Christopher Watson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursd

livesites: www.nzetc.org

2002-05-16 Thread Conal Tuohy
http://www.nzetc.org/ (currently redirects to http://nzetc.vuw.ac.nz/ but that is only a temporary url) This is the site of the "New Zealand Electronic Text Centre". The site publishes books that have been scanned and marked up in "TEI" format - http://www.tei-c.org/Guidelines2/index.html THere

Re: Connection problem to DB2

2002-05-16 Thread Christian Haul
On 16.May.2002 -- 12:50 PM, Kelly Cole wrote: > I am a new user to Cocoon, just trying to test drive it... One of the things > I would like to do is to connect to our database (db2 on os390 connecting > via DB2/Connect). Unfortunately, I get this entry in the sitemap.log: Things you didn't tell u

RE: Reuse of matches or pipelines

2002-05-16 Thread Matthew Hailstone
Vadim: Thank you for that simple suggestion. Here is my final modification in the sub sitemap that worked. One simple part that I didn't understand that I do now that I'll pass along is the map:parameter name attribute needs to be "parameter-selector-test" and the map:when attribute has to be "te

Re: Jserv

2002-05-16 Thread Carlos
Bob: Use Tomcat instead of JServ... I don't think Jserv is maintained anymore Carlos On 5/16/02 12:18 PM, "Bobrs" <[EMAIL PROTECTED]> wrote: > Hello ALL !! > > I would like to know if have to like to install cocoon with JSERV > ?!?!?! > > Thanks.. > > -- > Robert Siqueira > > > > > --

Cocoon PDF creation problems

2002-05-16 Thread Spectron International, Inc.
I'm having some problems with PDF creation in cocoon. I have the following sitemap (simplified, removed i18n stuff): My problem is test1 and test2 work perfectly. test3 does not. I hope someone can explain me what is wrong. BTW, if I use the test.xml with just

Connection problem to DB2

2002-05-16 Thread Kelly Cole
I am a new user to Cocoon, just trying to test drive it... One of the things I would like to do is to connect to our database (db2 on os390 connecting via DB2/Connect). Unfortunately, I get this entry in the sitemap.log: DEBUG (2002-05-16) 10:51.03:468 [sitemap.transformer.sql](/cocoon/db/test.

Jserv

2002-05-16 Thread Bobrs
Hello ALL !! I would like to know if have to like to install cocoon with JSERV ?!?!?! Thanks.. -- Robert Siqueira - Please check that your question has not already been answered in the FAQ before posting.

Cocoon 2 + Access:it runs now well!!!

2002-05-16 Thread cyril vidal
- Original Message - From: "cyril vidal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 5:17 PM Subject: Re: Cocoon 2 + Access:it runs now well!!! > Hy Christopher! > > Thanks for your help!!! The > was indeed the origin of my problem... >

Re: Cocoon 2 Builtin-Logicsheet Definitions

2002-05-16 Thread Mark Gaither
- Original Message - From: "Torsten Curdt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 11:53 AM Subject: Re: Cocoon 2 Builtin-Logicsheet Definitions > Thanks for the quick response. You are correct about the set of values > for the . I verified them by slogg

Re: Cocoon 2 Builtin-Logicsheet Definitions

2002-05-16 Thread Torsten Curdt
> Thanks for the quick response. You are correct about the set of values > for the . I verified them by slogging through the > EsqlQuery.java and EsqlConnection.java source code. Thanks. no problem :-) > As for the ESQL schema, maybe as an after effect of researching the ESQL > logichsheet, I sh

Re: Cocoon 2 Builtin-Logicsheet Definitions

2002-05-16 Thread Mark Gaither
Torsten: Thanks for the quick response. You are correct about the set of values for the . I verified them by slogging through the EsqlQuery.java and EsqlConnection.java source code. Thanks. As for the ESQL schema, maybe as an after effect of researching the ESQL logichsheet, I should rewrite the

Re: DatabaseSelectAction, get results

2002-05-16 Thread Christian Haul
On 15.May.2002 -- 09:05 PM, Hiloliddin Karimov wrote: > Hi, > > I try use DatabaseSelectAction for selection. I have searched in the > archive, but I haven't found solution, please help. > If I want select all, I try: > > > > > > > > then SQL is: SELECT username, balance, s

Re: Form validation

2002-05-16 Thread Christian Haul
There is new foms support underway for cocoon using an XForms related syntax. FormvalidatorAction will stay but large additions might not be worthwile On 14.May.2002 -- 08:59 PM, Paul Pattison wrote: > I'm trying to find a way to get the if-else if statements out of the page > and put them i

Re: Pagination support

2002-05-16 Thread Christian Haul
On 13.May.2002 -- 09:31 AM, Evan Sho wrote: > Just skim thur the suggestions. However, I have a > question very fundamental to that in the pipeline > process. If the pagination is done in transformer, it > means the generator will have all result generated and > the transformer just cut out the un

Re: MS Excel

2002-05-16 Thread Andrew C. Oliver
Already done. Download a recent nightly build of cocoon and install. Documentation is in User Guide and samples are under "Legacy Formats". (or add /samples/poi/ to the blabla:port/cocoon context) I've no idea how to get it updated on the site or whether the site follows the release or the

RE: MS Excel

2002-05-16 Thread Chitharanjan Das
Hello there, This seems very interesting... Andrew, could u please guide me to the necessary documentation for setting up the pipeline entries for cocoon and MS Excel. The sitemap entries Samples and Some documentaion. That would be awesome Thanks in advance.. Regds, Chiths --

RE: ProcessingException on xml file

2002-05-16 Thread Vadim Gritsenko
> From: Pete Carapetyan [mailto:[EMAIL PROTECTED]] > > This is the error I am getting, while attempting to transform an xml file and > display it as html: > -- > The org.apache.cocoon.www.file_.C_.dev.webapps.cocoon.sitemap_xmap notifies > that org.apache.cocoon.Pr

RE: upgrading to Cocoon2 and debugging

2002-05-16 Thread Vadim Gritsenko
> From: gorillacommunications [mailto:[EMAIL PROTECTED]] > > Hi all. > > I am upgrading an application from Cocoon1 to Cocoon2 and am > having some problems. I get the error "Exception in creating Transform > Handler: > java.lang.NullPointerException". Usually this means you have an error in t

Re: Cocoon 2.0.3 branch very unstable

2002-05-16 Thread Bertrand Delacretaz
On Thursday 16 May 2002 14:31, Dude wrote: >. . . > if all students processing a simple adressbook > transformation from xml to html using xsl at once the server gives > a NullPointer exceptions and all mounted sitemaps > are unuseable. >. . . Do you have to restart Cocoon to get it to work agai

Cocoon 2.0.3 branch very unstable

2002-05-16 Thread Dude
Hello! im teaching xml/xsl/esql at university and around 20 students working at once on one cocoon server. every student has his own sitemap.xmap which are mounted. if all students processing a simple adressbook transformation from xml to html using xsl at once the server gives a NullPointer exc

Re: what is good way to output XML from Java objects?

2002-05-16 Thread Werner Guttmann
Phong, I think you've got various options here (some of which I've used in the past 9 months). a) Use a XML binding framework such as JAXB, Castor, etc. Whilst this helps you in creating XML from a hierarchy of Java objects, most of these frameworks serialize the object hierarchy as an XML Strin

RE: XIndice and Caching

2002-05-16 Thread Vadim Gritsenko
> From: Alex McLintock [mailto:[EMAIL PROTECTED]] > > Hi folks, > > I have a XIndice backed Cocoon website which I want to speed up. It is far > too slow. > > One thing I need to reduce is the number of XSLT for loops, but that's for > another time. > > The second thing I am looking at is tryi

ProcessingException on xml file

2002-05-16 Thread Pete Carapetyan
This is the error I am getting, while attempting to transform an xml file and display it as html: -- The org.apache.cocoon.www.file_.C_.dev.webapps.cocoon.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Could not read resource [file blah.xml

Re: upgrading to Cocoon2 and debugging

2002-05-16 Thread Konstantin Piroumian
From: "Graaf, Edgar de (fin)" <[EMAIL PROTECTED]> > That I don't know because I never upgraded from C1. However when I adapt the > sitemap while Cocoon is running it takes 10 > seconds at least before cocoon is ready and the nullpointerexception > dissapears. I can't remember that I've experienc

RE: upgrading to Cocoon2 and debugging

2002-05-16 Thread Graaf, Edgar de (fin)
That I don't know because I never upgraded from C1. However when I adapt the sitemap while Cocoon is running it takes 10 seconds at least before cocoon is ready and the nullpointerexception dissapears. If there is nothing in the log or in your tomcat dos prompt do the following: call the url, wa

Re: XHTML browser based editor

2002-05-16 Thread Bert Van Kets
editor is Xopus (http://q42.nl). > >Unfortunately, it works decently only in IE 5.5+ at the moment. But tihs >is going to change soon. See >http://www.beblogging.com/blog/20020516-114700 for more info. > > > Ugo > >-- >Ugo Cei - http://www.beblogging

RE: [OT] XHTML browser based editor

2002-05-16 Thread Derek Hohls
Manos Apologies - I am not being impatient or trying to point fingers! I am always amazed with the effort and enthusiasm that goes into open-source and am very grateful for the great work that is produced ... I was just noticing that this *seems* to be one area where work seems somewhat fragment

Re: XHTML browser based editor

2002-05-16 Thread Ugo Cei
r is Xopus (http://q42.nl). Unfortunately, it works decently only in IE 5.5+ at the moment. But tihs is going to change soon. See http://www.beblogging.com/blog/20020516-114700 for more info. Ugo -- Ugo Cei - http://www.beblogging.com/blog/

RE: [OT] XHTML browser based editor

2002-05-16 Thread Manos Batsis
Derek, I absolutely agree, but give me a break; I just registered with sourceforge and no files have been committed. Is it so bad I want to present a solid code base first? Besides, I haven't seen any other (cross) browser based XML editor (meaning not based on java or activeX). Have some patien

RE: XHTML browser based editor

2002-05-16 Thread Derek Hohls
Is it not possible to contribute efforts towards: http://editxml.sourceforge.net/ or http://media4.obspm.fr/jaxe/Jaxe_en.html Everywhere you look, there seem to be a hundred projects all more or less doing the same type of thing; sure, diversity is needed, but for something so basic...? Would we

Re: Cocoon only for men

2002-05-16 Thread Nicola Ken Barozzi
From: "Windler, Sarah" <[EMAIL PROTECTED]> > Since weeks I am working hard to understand the ideas of cocoon and to > build my application. Today I downloaded cocoon V2.02-dev. Thank you > very much. > > I read on the main page of Cocoon version 2.0.2-dev: > (...) > Samples - Are you being served

JDK1.4 & Connection pooling

2002-05-16 Thread Jeremy Aston
Hi, After hitting the infamous database connection pool problem with JDK1.4 I've been trawling through the lists to try and resolve it.  I couldn't really tell what the most current situation is so I ended up compiling the latest CVS excalibur HEAD against 1.4 and that works like a dream.  I'm on W

Cocoon only for men

2002-05-16 Thread Windler, Sarah
Hello Since weeks I am working hard to understand the ideas of cocoon and to build my application. Today I downloaded cocoon V2.02-dev. Thank you very much. I read on the main page of Cocoon version 2.0.2-dev: (...) Samples - Are you being served,sir? (...) And the women? Such things are bad f

RE: XHTML browser based editor

2002-05-16 Thread Manos Batsis
I've been preparing one for some time with very good features but it needs some work (which I constantly leave for the next month). I just reserved a seat on sourceforge [1] but I don't expect source release for about a month since my final exams just got started plus I got tons of other work to

RE: Cocoon 2 + Access

2002-05-16 Thread Christopher Watson
Cyril, If you MUST use access (I do while testing !) ... looking at your example ... http://apache.org/xsp";> xmlns:esql="http://apache.org/cocoon/SQL/v2";> you've got an extra > after the xmlns:xsp="http://apache.org/xsp"; it should be http://apache.org/xsp"; xmlns:esql="

XHTML browser based editor

2002-05-16 Thread Bert Van Kets
I'm looking for a good open source xhtml browser based editor. I have been looking at XS-DHEdit from SourceForge (http://sourceforge.net/projects/xsdheditor/) but this one only supports html. Catching the HTML and converting it to xhtml need some coding I'd like to avoid. Any info welcome,

Re: XIndice and Caching

2002-05-16 Thread Ugo Cei
Alex McLintock wrote: > The second thing I am looking at is trying to use Cocoon/Avalon caching > and I am not sure I understand it. > > Do I cache the database results, or the xml/html which we get from them > after being processed by XSLT ? > > My XML database changes very infrequently - ca

Re: ESQL Update problem

2002-05-16 Thread Bert Van Kets
I am using ESQL update and delete queries Here's a snip of the code I'm using successfully: preQuery + " " + postQuery preQuery and portQuery are built up in the xsp and concatenate into the complete query. The tag is empty in an update and delete query (s

calling a servlet (?)

2002-05-16 Thread Pierfranco Ferronato
Hi all, I'm really new to cocoon I'm trying something I think it is preatty easy: calling a servlet with some parameters http://localhost:8088/pino/servlet/fetish.reposimpl.HTTPFTRepository?action=all"; /> http://localhost"/> It does not wor

Re: Cocoon 2 + Access

2002-05-16 Thread Bert Van Kets
This is a very good suggestion and will proof that Java and Access don't mix. BTDT The best solution for this problem I have found (been given) is the use of DBTools on top of MySQL. Install MySQL locally and add DBTools (www.dbtools.com.br). This gives you an interface with all the Access lik

Re: ESQL Update problem

2002-05-16 Thread Giuseppe Di Pierri
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 05, 2002 5:09 PM Subject: ESQL Update problem > I have been developing an application for a few months now and up till > now I haven't need to use the SQL UPDATE command, but when I added the > code