[SOLVED] - Exception in ServerPagesGenerator.generate()

2003-11-01 Thread Antonio Gallardo
Hi: I switched from xalan to xsltc and the problem was solved. Best Regards, Antonio Gallardo Antonio Gallardo dijo: > Hi Jon: > > I don't know if this is the same. Yesterday we updated our CVS for an > old but working application and we got: > > Exception in ServerPagesGenerator.generate() > >

Re: i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread Joerg Heinicke
can i handle {locale} and change it from en_US to en inside sitemap? If you do not want to rely on or use the functionality of the i18n transformer, you can use a JXPathInputModule I guess. Something like Regards, Joerg - To

Re: newbie: using more than one generators

2003-11-01 Thread Antonio Gallardo
Ankit Kumar Yadav dijo: > > hi, > i am trying to generate an application > in which i first authentify the username and password > using a xsp then generate a form to fill data in the database > again using a xsp Nope. You can never use 2 generators. This violates all the cocoon basics. You

Re: What could cause a UTFDataFormatException when processing pipeline

2003-11-01 Thread Antonio Gallardo
Hi Jon: I don't know if this is the same. Yesterday we updated our CVS for an old but working application and we got: Exception in ServerPagesGenerator.generate() Descripción : org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: org.xm

Re: newbie: cocoon startup & custom initialization

2003-11-01 Thread Antonio Gallardo
toto dijo: > Hi, > > does anyone know how to initialize a subsystem (configure a > datasource factory, for example) at cocoon's startup ? Hi Toto: See: http://wiki.cocoondev.org/Wiki.jsp?page=Tutorials Best Regards, Antonio Gallardo --

newbie: cocoon startup & custom initialization

2003-11-01 Thread toto
Hi, does anyone know how to initialize a subsystem (configure a datasource factory, for example) at cocoon's startup ? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

What could cause a UTFDataFormatException when processing pipeline

2003-11-01 Thread Jon Bedworth
Hello all Please can anyone suggest why the following coudl be happening: When I attempt an XSL transformation on some XML I get the following error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. I am

Re: Re: [XSP] Java variables within tag attributes

2003-11-01 Thread Sonny Sukumar
Ok, more specifically, here's what I did... 1.) I had a mostly static XHTML doc in which I wanted to fill in a 2-3 sections with dynamic content. For each such section I embedded a 2.) I wrote a simple stylesheet like: As you can see, "pageTitle" is one instance

Re: Re: [XSP] Java variables within tag attributes

2003-11-01 Thread Jan Wielgus
>Hi Jan, > >I did a similar thing by using by writing an XSLT stylesheet that declares >an xsl:param, passing the param from my sitemap using map:transform, and >having the XSLT stylesheet fill in the "src" attribute value for the >. After that stage is done, you can pass it through the >"cin

[WOODY] Form definition syntax change that affects all users

2003-11-01 Thread Bruno Dumon
I've committed the previously discussed change of embedding child widgets inside a wd:widgets element in the form definition. This is a small change, but will require updating all existing form definitions. So next time you update CVS, or update to the next release of Cocoon, you'll need to update

Re: [XSP] Java variables within tag attributes

2003-11-01 Thread Sonny Sukumar
Hi Jan, I did a similar thing by using by writing an XSLT stylesheet that declares an xsl:param, passing the param from my sitemap using map:transform, and having the XSLT stylesheet fill in the "src" attribute value for the . After that stage is done, you can pass it through the "cinclude" t

[XSP] Java variables within tag attributes

2003-11-01 Thread Jan Wielgus
Hello, I want to do something like this: I want to include a page in my main page depending on a request parameter: String page = ; if(page==null || page=="") page = "cocoon:/pagecontent/kategorien.xsp"; But then I have a problem. How can I pass the variable 'page' to the -

newbie: using more than one generators

2003-11-01 Thread Ankit Kumar Yadav
hi, i am trying to generate an application in which i first authentify the username and password using a xsp then generate a form to fill data in the database again using a xsp but cant use two generators in the same map node. plz help me out ankit -

RE: RE : [auth-fw] NPE in Application Manager

2003-11-01 Thread Carsten Ziegeler
Laurent Trillaud wrote: > > It wasn't a so bad day because it works. :-) Thanks a lot. You're welcome. > But if, in the application, the pipeline associated to the load is > started automatically at login, at logout the pipeline associated to the > save isn't triggered. Yes, currently. I'm +1 f

Re: [HELP]Exception in ServerPagesGenerator.generate()

2003-11-01 Thread Carlos Chávez
Sandy_Kiran Escribio :-) > > Description:org.apache.cocoon.ProcessingException: Exception in > ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not > get the datasource > org.apache.avalon.framework.component.ComponentException: datasources: > ComponentSelector could not find the

Loggers & LogKit

2003-11-01 Thread toto
Hi, how do I get a Logger instance when a class can't extend AbstractLoggable and don't want to implement Loggable (deprecated) ? Why does cocoon outputs also in Tomcat logs ? Is there any means of getting a Tomcat logger or must I use the LogKit stuff ? hmmm, so many questions... thanks in a

Solved.: SQLTransformer returns excaped XML content...

2003-11-01 Thread Andrzej Jan Taramina
Doh! I must be working too many hours on this project! ...does the trick nicely! Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Loggers & LogKit

2003-11-01 Thread Enrico Maccias
Hi, how do I get a Logger instance when a class can't extend AbstractLoggable and don't want to implement Loggable (deprecated) ? Why does cocoon outputs also in Tomcat logs ? Is there any means of getting a Tomcat logger or must I use the LogKit stuff ? hmmm, so many questions... thanks in a

Help: SQLTransformer returns excaped XML content...

2003-11-01 Thread Andrzej Jan Taramina
If you use the SQLTransformer to query a column where the contents of the column is itself valid XML content, SQLTransformer seems to escape all of the < and > characters, so that the result you get back looks like this: http://apache.org/cocoon/SQL/2.0";> http://apache.org

a request.SetAttribut in a Flowscript to the sitemap request-param doesn't work

2003-11-01 Thread Nicolas Maisonneuve
hy, i try to transform a uploaded xml file i write this flowscript to upload  function upload() {     var role = Packages.lab.crip5.ECR.cocoon.components.FileUploadManager.ROLE;     var uploader=   cocoon.getComponent(role);     var part = cocoon.request.get("description"); uploader

Re: i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread gounis
On Sat, 1 Nov 2003, Simeon Walker wrote: > On Sat, 2003-11-01 at 11:52, [EMAIL PROTECTED] wrote: > > On Sat, 1 Nov 2003, Joerg Heinicke wrote: > > > > > On 01.11.2003 12:32, [EMAIL PROTECTED] wrote: > > > > > > > hi people > > > > > > > > i use locale action to select the dir where my content f

Re: i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread gounis
On Sat, 1 Nov 2003, Joerg Heinicke wrote: > On 01.11.2003 12:52, [EMAIL PROTECTED] wrote: > > >>>hi people > >>> > >>>i use locale action to select the dir where my content files are > >>>i give the visitor the ability to select the locale > >>>(?locale=el or ?locale=en) but the first time u vi

Re: Flowscript, upload and Part probelm

2003-11-01 Thread Geoff Howard
Stephan Coboos wrote: Hello, I'm trying to implement an upload using flowscript, but it doesn't work. Yes, I know the examples on the wiki and the mailling lists, but these examples dont work on my Cocoon (2.1.2). After I had submit the form, the request will not be converted to a Part Object, so

Re: ESQL: get-xml: problem with namespace for root element.

2003-11-01 Thread Marcin Okraszewski
Hi, I want to obtain an xml mixed content using . I add n root element but I would like to set a namespace for it. Unfortunately it doesn't work by adding only prefix. I can't leave root in namespace with empty prefix, because the xml in DB is without prefix too, which causes namespace mismatch.

Re: i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread Simeon Walker
On Sat, 2003-11-01 at 11:52, [EMAIL PROTECTED] wrote: > On Sat, 1 Nov 2003, Joerg Heinicke wrote: > > > On 01.11.2003 12:32, [EMAIL PROTECTED] wrote: > > > > > hi people > > > > > > i use locale action to select the dir where my content files are > > > i give the visitor the ability to select t

Re: i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread Joerg Heinicke
On 01.11.2003 12:52, [EMAIL PROTECTED] wrote: hi people i use locale action to select the dir where my content files are i give the visitor the ability to select the locale (?locale=el or ?locale=en) but the first time u visit the site the locale is selected automatically. the problem is tha

Re: i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread gounis
On Sat, 1 Nov 2003, Joerg Heinicke wrote: > On 01.11.2003 12:32, [EMAIL PROTECTED] wrote: > > > hi people > > > > i use locale action to select the dir where my content files are > > i give the visitor the ability to select the locale > > (?locale=el or ?locale=en) but the first time u visit t

Re: i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread Joerg Heinicke
On 01.11.2003 12:32, [EMAIL PROTECTED] wrote: hi people i use locale action to select the dir where my content files are i give the visitor the ability to select the locale (?locale=el or ?locale=en) but the first time u visit the site the locale is selected automatically. the problem is tha

java.util.EmptyStackException in C2.1.3

2003-11-01 Thread [EMAIL PROTECTED]
Hi, I am getting this error repeatedly in C 2.1.3 on Tomcat 3.3.1 final. Same code worked fine on C2.0 . The browser shows - Internal Server Error Message: null Description: No details available. Sender: org.apache.cocoon.servlet.CocoonServlet logs show java.util.EmptyStackException at Site

i18n locale and web browser (IE, Mozilla)

2003-11-01 Thread gounis
hi people i use locale action to select the dir where my content files are i give the visitor the ability to select the locale (?locale=el or ?locale=en) but the first time u visit the site the locale is selected automatically. the problem is that when i use IE, localeAction set locale as "e

Re: Handling non-Exception Throwables with handle-errors

2003-11-01 Thread Bruno Dumon
On Fri, 2003-10-31 at 19:32, Peter Brant wrote: > Hi all, > > I've noticed that any Throwable that is not an Exception is not handled with > the error handler defined in the handle-errors sitemap fragment. The result > is a blank page with no indication anything went wrong (although the > stacktr

Re: Loggers & LogKit

2003-11-01 Thread Joerg Heinicke
Loggable was replaced by LogEnabled AFAIK. org.apache.avalon.framework.logger.LogEnabled Joerg On 01.11.2003 11:54, Enrico Maccias wrote: Hi, how do I get a Logger instance when a class can't extend AbstractLoggable and don't want to implement Loggable (deprecated) ? Why does cocoon output

Re: Woody XML Binding: how to exit from continuation?

2003-11-01 Thread Bruno Dumon
On Thu, 2003-10-30 at 20:41, Gianluca Morello wrote: > Hallo, > > I'm using flow mixed with woody to bind some xml files to forms. > My logic is very similar to the woody sample > > I'm trying without success to exit from the continuation after saving xml to > file. > > In the flow script that p

Loggers & LogKit

2003-11-01 Thread Enrico Maccias
Hi, how do I get a Logger instance when a class can't extend AbstractLoggable and don't want to implement Loggable (deprecated) ? Why does cocoon outputs also in Tomcat logs ? Is there any means of getting a Tomcat logger or must I use the LogKit stuff ? hmmm, so many questions... thanks i