RE: mysql problem with sql transformer

2006-05-26 Thread Andrew Stevens
From: Yves Vindevogel <[EMAIL PROTECTED]> Date: Sat, 27 May 2006 03:12:45 +0200 Hi, This is my call to the db in the shell mysql pdt2 --execute "call spjobsperday(0, 2, '', '', '', '', '', '', '', '', '')" ++--+---+--+--+ | EventDate | Jobs | Pages | Fi

Flowscript - authentication session data

2006-05-26 Thread Peter Sparkes
Hi Please, how can I get data from an authentication session into Flowscript. Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mysql problem with sql transformer

2006-05-26 Thread Yves Vindevogel
Just tried to put my simple select query instead of my "call" and that works. Is this a jdbc problem with calling stored procs ? Or is this a sql transformer problem ? Yves Vindevogel wrote: Hi, This is my call to the db in the shell mysql pdt2 --execute "call spjobsperday(0, 2, '', '',

mysql problem with sql transformer

2006-05-26 Thread Yves Vindevogel
Hi, This is my call to the db in the shell mysql pdt2 --execute "call spjobsperday(0, 2, '', '', '', '', '', '', '', '', '')" ++--+---+--+--+ | EventDate | Jobs | Pages | FirstJob | LastJob | ++--+---+--+--+ | -00-

Re: problems with js and cforms

2006-05-26 Thread es
I've found what was causing the problem is stripnamespaces.xsl. However now I have a page that display but doesn't validate as xhtml1.1. I still have issue calling my window.onload() what's the correct way to initialize my javascript on loading? thanks Eli es wrote: Hello all, I've problems

webapp testing

2006-05-26 Thread Lars Huttar
Hello, Looking for some recommendations from those with experience... I have been trying to set up a good method of automated testing for our webapps. One use case is regression testing... we converted a Cocoon webapp to use SQLServer on the back end instead of Oracle, and we want to find the

Re: Warnings for XSLT

2006-05-26 Thread Lars Huttar
Kamal Bhatt wrote: Hi I keep getting warnings about TraxErrorListener for line 55 and 64 for the XSLT included at the end of this file. To make life easier the problem is with the following lines: and || without the curly braces it does not work, but with them I get the warnings. As the

problems with js and cforms

2006-05-26 Thread es
Hello all, I've problems getting my cform js working: the calendar field for example doesn't pop up, fields doesn't react to on-value-changed etc. I've checked the head is ok, same as the examples output. The problem is probably on the onload event. I have the need to init some custom js in my

CForms: Inserting Text Into HTMLArea

2006-05-26 Thread Stewart, Gary
I'm using the HTMLArea component of CForms (though I did upgrade it to Xinha but most of the calls seem the same). I've got a javascript in my CForms definition file that attempts to add text to that component. However I've had difficulty accessing the object. I did a cocoon log output on the lo

RE: Accessing Global Variables As External File

2006-05-26 Thread Stewart, Gary
> -Original Message- > From: Andrew Stevens [mailto:[EMAIL PROTECTED] > The way we do it is by defining an external entity in the > internal DTD i.e. > > > > ]> > http://apache.org/cocoon/sitemap/1.0";> > ... > > > > &environment; > > > ... Than

Re: parse error on XHTML DTD

2006-05-26 Thread peter
On Fri, 26 May 2006 15:05:53 +0200, Friso van Vollenhoven wrote > I can't go from the XML source > to XSL-FO to PDF directly, because legal issues require that the PDF > closely resembles the document 'as seen by the user'. In these cases I always use XSLT --> LaTeX --> PDF instead. The additio

Re: Access settings from Flow and JXTemplates

2006-05-26 Thread Ralph Goers
Take a look at Cocoon.java or in TreeProcessor.java. A Settings object is obtained via SettingsHelper.getSettings(context). The Settings object is then passed to the PropertyAwareSAXConfigurationHandler which is in turn passed to the SAXParser. So basically, if you have a Context you can acc

parse error on XHTML DTD

2006-05-26 Thread Friso van Vollenhoven
Hi all, For testing purposes I have these two entries in my Cocoon sitemap: What I need to do is generate a PDF from some HTML source (which is valid XHTML 1.0 Strict). Because the FOPGenerator does not accept the XSL-FO generated by the transformation (xhtml2fo.xsl), I wanted to strip

Access settings from Flow and JXTemplates

2006-05-26 Thread Hochsteger Andreas (OI&T V)
Hi, I'm using the wonderful settings enhancement (property files) with Cocoon 2.1.9 and wonder if and how they can be used from within Flow and JXTemplates? Thanks, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

ResourceReader mime type auto-detection

2006-05-26 Thread Andrew Stevens
Hi, I have a pipeline that needs to serve up static files of any type from a particular directory. And yes, I know it'd be more efficient to just have the web server do it, but we don't control the server that hosts it and there's constraints on the configuration & deployment process that mea

RE: Warnings for XSLT

2006-05-26 Thread Martijn C. Vos
Ard Schrijvers wrote: > > * == node() (more or less, there are subtle diffs I thought, > but has been to long to remember them) I think * matches only elements, while node() also matches text nodes. * doesn't match attributes, @* does. Not sure about node(). > So I suggest you get rid of a

Cocoon and Jasper Reports

2006-05-26 Thread Yves Vindevogel
Hi, Can I integrate jasper reports into cocoon for producing pdf output from an xsp page with sql commands in it ? Is there any documentation on the net how to integrate the 2 ? Regards, Yves Vindevogel - To unsubscribe, e-

RE: Warnings for XSLT

2006-05-26 Thread Ard Schrijvers
I have never seen anything like , using { within an xsl namespace element. *{name()}* is unreadible for me, though i have quite some years experience in xslt. So either you are doing something highly complex to achieve something complex, which is good, or you are doing something highly complex

Warnings for XSLT

2006-05-26 Thread Kamal Bhatt
Hi I keep getting warnings about TraxErrorListener for line 55 and 64 for the XSLT included at the end of this file. To make life easier the problem is with the following lines: and without the curly braces it does not work, but with them I get the warnings. As the pipelines that reference