Double Submit with forms/AJAX/HTMLArea

2006-05-26 Thread Jeremy Green
Hey everybody, I have an Ajax enabled form that is based on the car selector example with some related drop down lists which are working really well. I have an option in each drop down list to add a new item which hides the drop down list, and replaces it with a text box and submit/cancel

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: xsl:element name=*{local-name()}* and xsl:attribute name=*{name()}* without the curly braces it does not work, but

RE: Warnings for XSLT

2006-05-26 Thread Ard Schrijvers
I have never seen anything like xsl:attribute name=*{name()}*, 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

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,

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 all

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

Access settings from Flow and JXTemplates

2006-05-26 Thread Hochsteger Andreas (OIT 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

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: map:match pattern=TestPdf map:generate src=file:///C:/cvo.html / map:transform src=transform/show/xhtml2fo.xsl / map:serialize type=fo2pdf mime-type=application/pdf / /map:match map:match pattern=TestXhtml map:generate

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

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 additional

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. ?xml version=1.0 encoding=UTF-8? !DOCTYPE map:sitemap [ !ENTITY environment SYSTEM environment.ent ] map:sitemap

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

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

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: xsl:element name=*{local-name()}* and xsl:attribute name=*{name()}* || without the curly

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

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

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 | ++--+---+--+--+ |

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, '', '',