Re: fop 0.91 beta //Serializer

2006-03-09 Thread Andrew Savory
Hi, Kai Mütz wrote: I have attached a simple FopSerializer class which uses the 0.91 beta API. Very similar to the one described in http://marc.theaimsgroup.com/?l=xml-cocoon-devm=114175770501836w=4 but can be configured by a configuration file like the old FOPSerializer. Please submit this

Tab Order in CForms

2006-03-09 Thread Stewart, Gary
Does anyone know how to change the tab order in CForms? I was hoping to change it so it ignores the links (such as the help and error links) until it gets all the way to the bottom of the form. I'd assume you'd do this by altering the tab order in the final HTML form. I figure I should be

Re: Tab Order in CForms

2006-03-09 Thread Bruno Dumon
On Thu, 2006-03-09 at 15:58 +, Stewart, Gary wrote: Does anyone know how to change the tab order in CForms? I was hoping to change it so it ignores the links (such as the help and error links) until it gets all the way to the bottom of the form. I'd assume you'd do this by altering the tab

RE: Tab Order in CForms

2006-03-09 Thread Stewart, Gary
I havn't ever tried it, but you can add the tabindex attribute just like any other, for example: ft:widget id=abc fi:styling tabindex=5/ /ft:widget The stylesheets simply copy over all the attributes they don't understand to the target input element. There's also a shorter way

handling errors in map:aggregate parts

2006-03-09 Thread Justin Hannus
I can't seem to get an aggregate pipeline part to respect or handle errors correctly when an exception occurs in one of the aggregate parts. It almost seems as if its impossible. This is whats happening... When an exception occurs in the a pipeline which is called as one of the map:aggregate

RE: Tab Order in CForms

2006-03-09 Thread Bruno Dumon
On Thu, 2006-03-09 at 17:05 +, Stewart, Gary wrote: I havn't ever tried it, but you can add the tabindex attribute just like any other, for example: ft:widget id=abc fi:styling tabindex=5/ /ft:widget The stylesheets simply copy over all the attributes they don't

Re: handling errors in map:aggregate parts

2006-03-09 Thread Bruno Dumon
On Thu, 2006-03-09 at 12:52 -0500, Justin Hannus wrote: I can't seem to get an aggregate pipeline part to respect or handle errors correctly when an exception occurs in one of the aggregate parts. It almost seems as if its impossible. This is whats happening... When an exception occurs

Exception in tomcat catalina.out

2006-03-09 Thread Anna Bikkina
Hi, I am running my application in cocoon and am using cocoon portals . I see the following error in tomcat catalina.out constantly. The application seems to work fine. Can anyone explain why I am getting this error. Thanks, Anna. java.lang.NullPointerException at

Re: handling errors in map:aggregate parts

2006-03-09 Thread Justin Hannus
Bruno Dumon wrote: what do you refer to with 'pipelines' here? The other map:part's? Transformers after the map:aggregate? Yes, the other map:parts. The src attribute points to points to another pipeline with cocoon://pipeline. Please see my first post as it has an example at the bottom.

Re: IE filepath error in flowscript - tried getName [solved]

2006-03-09 Thread Daniel Hertz
Thanks Tony for the great tip! I managed to get it working by using: var fileName = form.lookupWidget(upload).getValue().getHeaders().get(filename).toLowerCase(); // using getName because Internet Explorer sends entire path fileName = new java.io.File(fileName).getName(); Daniel.

Re: Flow and hibernate sessions

2006-03-09 Thread Simone Gianni
Hi Mark, don't want to start a thread on which solution is better than another, they all try to get there :) . I find your solution much more complicated, the hibernate adapter is installed with 2 lines in cocoon.xconf, a "hibernate" word added in the sitemap where you declare flows, and

Re: jx templates and syntax

2006-03-09 Thread Simone Gianni
Hi Kamal, dunno why, nut i always have problems like this in jx. Seems like a variable declared with : jx:set var=varnameContent/jx:set Takes as value a document fragment, and thus should be converted to string or something else to be used normally. I usually declare the variable with :

Re: jx templates and syntax

2006-03-09 Thread Kamal Bhatt
Simone Gianni wrote: Hi Kamal, dunno why, nut i always have problems like this in jx. Seems like a variable declared with : jx:set var=varnameContent/jx:set Takes as value a document fragment, and thus should be converted to string or something else to be used normally. Really? I found

Re: handling errors in map:aggregate parts

2006-03-09 Thread Derek Hohls
Bruno Are there any samples available to show the effective use of the processPipelineTo in the manner you describe? Sidebar: It would be great to have set of samples which demonstrate how and why to use many of the functions which are (in my limited understanding, anyway!) quite