Re: Excel Generator

2004-01-10 Thread Johan Kok
Two other possibilities: 1. To take an XML output from excell and tranform the format. 2. To take a CSV output and convert that. I've used Chaperon to some extend on the latter. - still a little buggy. Hopefully the new chaperon release will overcome a number problems within chaperon's grammar

[FLOW -Woody] access cookie value

2004-01-10 Thread james . lale
Hi, Using Cocoon 2.1.4-dev, I'm trying to access cookie value in Flow... I'm using syntax: var cookies = cocoon.request.getCookies(); //OK cocoon.log.info(cookies.length); = 1 cocoon.log.info(cookies[0].name);= COOKIE1 //this doesn't work... cocoon.log.info(cookies[0].getValue()); //also

Re: Getting database in my custom objects

2004-01-10 Thread Jim Horner
Hi, My Cocoon project uses JavaBeans objects that act as business model e.g. User, Article, Comment, etc. Every object has data access object that handles database operations. Now i need to pass database connection to these objects but I don't know how. My application appears to be very

Re: XSP : how to get matcher's wildcard value

2004-01-10 Thread Joerg Heinicke
AFAIK you have access to sitemap parameters in an action, so pass it as a sitemap parameter to the action: map:act map:parameter name=paramname value={1}/ /map:act Joerg PS: Please do not reply to other mails when you start a new thread, but compose a new mail. Otherwise your mail breaks

RE: JXTemplate forEach problem

2004-01-10 Thread Antonio Gallardo
Hi Peter: I use the same Java version (1.4.2_03). But my kernel is diferent: 2.4.22-1.2140.nptl (Fedora Core 1). Anyway, I moved some variables outside the for cycle. Not a total refactor, but maybe it would help. Can you test it again? Best Regards, Antonio Gallardo

Re: Excel Generator

2004-01-10 Thread Johan Kok
Yves, That means you will have to use POI to read the files and then go for conversion to XML... Look at the following: "If you're merely reading spreadsheet data, then use the eventmodel api in the org.apache.poi.hssf.eventusermodel package." (from the POI HSSF page) Johan Kok Yves

xml select own stylesheet?

2004-01-10 Thread Mark Lundquist
Dear People Who Know More About Cocoon Than I Do, I would like to determine which stylesheet to call for (i.e., the src in a map:transform) based on the value of an element in the XML source data itself. That would mean the pipeline has to be able to see into the stream it's processing,

RE: xml select own stylesheet?

2004-01-10 Thread Conal Tuohy
Mark, for one technique, see my message from about 12 hours ago (sitemap logic depending on pipeline content). -Original Message- From: Mark Lundquist [mailto:[EMAIL PROTECTED] Sent: Sunday, 11 January 2004 18:37 To: [EMAIL PROTECTED] Subject: xml select own stylesheet? Dear