Re: Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Steven D. Majewski
On Jan 19, 2007, at 5:15 PM, Joerg Heinicke wrote: When I put LogTransformer before the custom transformer I can see logging, but when it is after the custom transformer there is no logging. I think this shows there something wrong with my transformer. Perhaps it was too simple, but acce

RE: Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Gary Larsen
> > What happens with the decorator? Somewhere it must be set as new content > handler. Otherwise it would not do anything (also no harm). It would be > interesting to see if the sax event methods gets called in your > transformer and later in the decorator. Somewhere they must get lost > before r

Re: R: I: Reading Cocoon component from Servlet Filter

2007-01-19 Thread Joerg Heinicke
On 19.01.2007 12:11, Leonardo Battagli wrote: It sounds a bit strange to me If can't get from inside a ServletFilter all the component I can use inside a flowscript No, it's a completely different environment. The filter is outside of the servlet, the flowscript inside of it. It is also nothi

Re: Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Joerg Heinicke
On 19.01.2007 23:03, Gary Larsen wrote: When I put LogTransformer before the custom transformer I can see logging, but when it is after the custom transformer there is no logging. I think this shows there something wrong with my transformer. Perhaps it was too simple, but acceptable in 2.1.7.

RE: Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Gary Larsen
> > Initially I wasn't using an updated cocoon.xconf, but the problem still > > exists. Any ideas how to debug this? > > There is a transformer that only logs the sax events: LogTransformer. > Thanks for your help. When I put LogTransformer before the custom transformer I can see logging, but

Re: Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Joerg Heinicke
On 19.01.2007 22:12, Gary Larsen wrote: XML Parsing Error: no element found Location: http://notebook1:8080/netvisn/ Line Number 1, Column 1: The transformer is processing the sax events but it seems that nothing is being delivered back to the pipeline. It's a parsing error, so I'd guess it'

RE: Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Gary Larsen
> > > XML Parsing Error: no element found > > Location: http://notebook1:8080/netvisn/ > > Line Number 1, Column 1: > > > > The transformer is processing the sax events but it seems that nothing > is > > being delivered back to the pipeline. > > It's a parsing error, so I'd guess it's not the t

Re: Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Joerg Heinicke
On 19.01.2007 18:58, Gary Larsen wrote: XML Parsing Error: no element found Location: http://notebook1:8080/netvisn/ Line Number 1, Column 1: The transformer is processing the sax events but it seems that nothing is being delivered back to the pipeline. It's a parsing error, so I'd guess i

Problem in custom Transformer (migrating to 2.1.10)

2007-01-19 Thread Gary Larsen
I'm upgrading Cocoon from 2.1.7 to 2.1.10 and having a problem with a custom Transformer. This is the error returned in the browser (with XML serializer after the transformer): XML Parsing Error: no element found Location: http://notebook1:8080/netvisn/ Line Number 1, Column 1: The transformer

Re: xsd schema for cocoon name space ??

2007-01-19 Thread Grzegorz Kossakowski
Sébastien Geindre napisał(a): > Hi all, > > Do you know xsd schema exist for all the cocoon namespace ft, fd, fb,...? > in order to have automatic completion with xml tools. The only I know exists is sitemap schema recently added by Carsten, see [1]. It would be great addition to Cocoon, such schem

xsd schema for cocoon name space ??

2007-01-19 Thread Sébastien Geindre
Hi all, Do you know xsd schema exist for all the cocoon namespace ft, fd, fb,...? in order to have automatic completion with xml tools. Merci. Sébastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: authentication-fw and sql

2007-01-19 Thread J.D. Williams
Found the answer here... http://mail-archives.apache.org/mod_mbox/cocoon-users/200402.mbox/% [EMAIL PROTECTED] On Fri, 2007-01-19 at 08:43 -0600, J.D. Williams wrote: > Still not having any luck with this. I have rebuilt the sitemap several > times now and made sure that the authentication resou

Re: authentication-fw and sql

2007-01-19 Thread J.D. Williams
Still not having any luck with this. I have rebuilt the sitemap several times now and made sure that the authentication resource returns the proper XML. It does, but fails to return the protected resource when I use the login page. I work alone and could really use some help on this. Joe On Thu

Re: Aplly transformation to a xml post data

2007-01-19 Thread Sébastien Geindre
Thanx, i've found this page http://cocoon.apache.org/2.1/861.daisy.html which describe what you 'v mentioned. Jason Johnston wrote: Sébastien Geindre wrote: hello all, I handle a upload request send by cocoon forms with flowscript : var uploadWidget = form.lookupWidget("upload"); var

R: I: Reading Cocoon component from Servlet Filter

2007-01-19 Thread Leonardo Battagli
It sounds a bit strange to me If can't get from inside a ServletFilter all the component I can use inside a flowscript I mean I have built a framework and I am using it inside flowscript thanks to components defined in cocoon.xconf, it sounds strange I can't use them inside a Filter I mean I hav

Re: I: Reading Cocoon component from Servlet Filter

2007-01-19 Thread Joerg Heinicke
On 19.01.2007 11:05, Leonardo Battagli wrote: I have to retrieve the same "componentRole" also inside a Servlet Filter. If you start cocoon with servlet-debug I can see that inside 'ServletContext' variable there is Cocoon=[org.apache.cocoon.servlet.CocoonServlet] I guess that are only servle

I: Reading Cocoon component from Servlet Filter

2007-01-19 Thread Leonardo Battagli
Hi, I tried to look at source code for example, but didn't find anything Basilarly all I want to do is way to get the 'cocoon' variable we usually have available inside flowscript. We usualyy use it to get components [cocoon.getComponent("componentRole");] I have to retrieve the same "component