Re: Groovy language for XSP [Fwd: [xml-dev] The Free World vs Microsoft Inc: A Closer Look At Groovy]

2003-11-03 Thread Ugo Cei
Oleg Dulin wrote: How about XSP ? I can certainly see it as a language for use with XSPs. Is it at all possible to use any BSF-supported scripting language with XSP or is it limited to Java ? At present, XSP supports Java and Javascript. I think any language that can be hosted inside the JVM (Jav

Re: Re: -problem (?)

2003-11-03 Thread Jan Wielgus
>Are you mixing XSLT and XSP? Actually, no more:) I've already got the thing working, I had had apart from that an error in the sql-update command. I put the esql-tags back to the xsp-page. Jan - To unsubscribe, e-mail: [EMAIL

i18n problem

2003-11-03 Thread David Luyten
Hello,   I am using Cocoon 2.1 (under Tomcat/Win2000).   I have a problem with some piece of text translated with cocoon/i18n:   here is the text:   Click here to view   and here is the entry in message bundle:   Cliquez ici pour pour visualiser.   and the xsl modification rule:     [EMAI

Re: JXForm flow issue with request parameters

2003-11-03 Thread Alex Kovacs
Got it fixed :-).   The idea is to use POST as the method for the form that calls the flowscript pipeline. As soon as one sends some GET data, JXForm breaks. BTW I use cocoon 2.1.2 (stable release).   Regards, Alex - Original Message - From: Alex Kovacs To: [EMAIL PROTECTED

Re: Woody : binding

2003-11-03 Thread Olivier Billard
Thanks Carlos, You've understood what I wanted to do, but if you read a little bit further, you'll see that I met some problems to adopt this structure... :) -- Olivier On 31/10/2003 18:48, Carlos Chávez wrote: Olivier Billard Escribio :-) Hi all ! I have a problem concerning the binding in

Re: [XSP] Java variables within tag attributes

2003-11-03 Thread Olivier Billard
Hi Jan, XSP can add dynamic attributes, just like XSL with its , but here it's :). Try this : page -- Olivier On 01/11/2003 20:48, Jan Wielgus wrote: 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 =

Re: i18n problem

2003-11-03 Thread Konstantin Piroumian
This should work in Cocoon 2.1 or newer. In older versions nested tags don't work. Also, it seems that you have typo in namespace prefix (should be i18n not i18N). Regards, Konstantin - Original Message - From: David Luyten To: [EMAIL PROTECTED] Sent: Friday, October 31, 2003 17:54 Su

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

2003-11-03 Thread Gianluca Morello
Hallo Bruno, this is what i was looking for. In this way i can go back to the form page without going to a confirm page. My form page is a svg page that call a different woody form for each different blocks of the page. Thank you. - Original Message - From: "Bruno Dumon" <[EMAIL PROTE

precompile xsp cocoon2.1

2003-11-03 Thread Andrea Pöschel
Problems with precomile xsp's (Cocoon 2.1) I want precompile my xsp's with the Command line Interface using by cli.xconf (Option precompile-only="true"). The xsp's are found, but not compiled. snipped from cli.log DEBUG (2003-11-03) 13:40.46:457 [cli] (Unknown-URI) Unknown-thread/LinkSampling

Re: precompile xsp cocoon2.1

2003-11-03 Thread T K
Hi, I have posted this question on Friday before, but apparently no one seems to know a solution... Therefore I am posting my problem more detailed again, for having solved this problem is really important to me. I'm using Cocoon2.1, JDK 1.4, Oracle9i and Tomcat 4.0.6. (anything left out ?) I'm try

RE: precompile xsp cocoon2.1

2003-11-03 Thread Grange, John
Not sure that the subject of this post is correct, but...   Three ideas:   1)  Have you tried using a version of your return_ parameter without the underscore (call it retval or something similar) 2)  Your output type for param 2 is a cursor, but is declared as a plain number in the pl/sql 3)

Bug in SQL-Transformer ??

2003-11-03 Thread T K
Hi, I have posted this question on Friday before, but apparently no one seems to know a solution... Therefore I am posting my problem more detailed again, for having solved this problem is really important to me. I'm using Cocoon2.1, JDK 1.4, Oracle9i and Tomcat 4.0.6. (anything left out ?) I'm try

Transform PDF to XML/XHTML

2003-11-03 Thread Anna Afonchenko
Hi all. I need to transform a PDF file to XML (XHTML) format. I saw an example in Cocoon of doing the opposite, i.e. XML->PDF using XSL-FO.   Is there a similar way of making PDF2XML transformation too or do I need to write my own Transformer (or maybe Generator)? I am using Cocoon 2.0.4.  

Re: precompile xsp cocoon2.1

2003-11-03 Thread Upayavira
TK, Please use a sensible subject for your email, as otherwise your message is likely to go unanswered. I suggest you repost it as a new message with a correct subject. I'm afraid I cannot help you with your problme as I've never used Cocoon with databases. Regards, Upayavira T K wrote: Hi,

RE: precompile xsp cocoon2.1

2003-11-03 Thread T K
Sorry for that subject-mistake, I'll start a new thread ! @1: I did, but without success. Indeed I tried every possible combination. @2: this was a typing error. Should be  NUMBER in the type-Attribute @3: sorry, what does "dml" mean.   Thanx and sorry for the wrong subject Torsten"Grange, John"

precompile-only xsp with cli

2003-11-03 Thread Andrea Pöschel
Problems with precomile xsp's (Cocoon 2.1) I want precompile my xsp's with the Command line Interface using by cli.xconf (Option precompile-only="true"). The xsp's are found, but not compiled. snipped from cli.log DEBUG (2003-11-03) 13:40.46:457 [cli] (Unknown-URI) Unknown-thread/LinkSampling

Re: -problem (?)

2003-11-03 Thread Christopher Painter-Wakefield
I'm assuming this must be a logicsheet, because you can't run ESQL code outside XSP. So, what does your XSP code look like? -Christopher |-+> | | Jan Wielgus | | | <[EMAIL PROTECTED]> | | |

Re: [XSP] Java variables within tag attributes

2003-11-03 Thread Christopher Painter-Wakefield
maybe page |-+> | | Jan Wielgus | | | <[EMAIL PROTECTED]> | | || | | 11/01/2003 02:48 | | | PM | | |

Re: Transform PDF to XML/XHTML

2003-11-03 Thread alex
[EMAIL PROTECTED] wrote: > Hi all. > I need to transform a PDF file to XML (XHTML) format. > I saw an example in Cocoon of doing the opposite, i.e. > XML->PDF using XSL-FO. That is what XSL-FO is for - generating page descriptions like PDF from XML. > Is there a similar way of making PDF2XML tran

RE: JXForms vs. Woody vs. KISS

2003-11-03 Thread Carmona Perez, David
I think because JavaScript supports continuations and Java no, although the work is in progress (look at the Apple block). David -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: jueves, 30 de octubre de 2003 17:20 Para: [EMAIL PROTECTED] Asunto: RE

Re: Transform PDF to XML/XHTML

2003-11-03 Thread Bertrand Delacretaz
Le Lundi, 3 nov 2003, à 15:22 Europe/Zurich, [EMAIL PROTECTED] a écrit : ...There are some tools which can possibly extract the plain text from a PDF file but that has nothing to do with Cocoon... Note that some tools (recent versions of Acrobat Distiller AFAIK) allow "tagged PDF" to be generated

RE: precompile xsp cocoon2.1

2003-11-03 Thread Grange, John
dml is data manipulation language - you are using dml if your stored procedure executes an insert/update/delete.  If it just executes select statements, then you are not using dml.   you could also try esql instead of the sql transformer - I found that much easier to use, though, as with al

Re: Transform PDF to XML/XHTML

2003-11-03 Thread Andrzej Jan Taramina
Anna: > I need to transform a PDF file to XML (XHTML) format. > I saw an example in Cocoon of doing the opposite, i.e. > XML->PDF using XSL-FO. There probably is a way to do thisbut it's a bit involved. There is a commercial software package available that will convert a PDF back into a Wor

Newbie: Woody Xml Binding and SourceWriter remove CDATA tag and change xml encoding

2003-11-03 Thread Gianluca Morello
Hallo, i'm using woody binding for editing some xml files. I notice that the saved xml don't have the CDATA tag anymore. Is there a way to mantain the CDATA tag in the output xml? I have the some problem using the SourceWriter transformer to create new xml files. I also noticed that the encodin

SourceWritingTransformer doesn't delete non-empty directories.

2003-11-03 Thread David Geleyn
Hi all,   I'm trying to delete a non-empty directory with the source writing transformer. This results in "Could not delete blahblah (unknown reason)".   I took the liberty to search for the cause of this. The FileSource class from the excalibur source classes is used (via ModifiableSource in Sour

Re: precompile-only xsp with cli

2003-11-03 Thread Upayavira
Andrea, Your subject was fine - you didn't need to repost! I have seen the 'precompile' code within the Cocoon CLI for a long time, but have never used it nor heard of anyone using it. I do not use XSP myself, so I have never needed to precompile my XSPs. If you are willing to look into how th

RE: Transform PDF to XML/XHTML

2003-11-03 Thread Ryan Graham
>> I need to transform a PDF file to XML (XHTML) format. >> I saw an example in Cocoon of doing the opposite, i.e. >> XML->PDF using XSL-FO. > >There probably is a way to do thisbut it's a bit involved. > >There is a commercial software package available that will >convert a PDF back >into a

Re: i18n problem

2003-11-03 Thread Tomasz Bech
i18n is designed to translate the text, not html tags/logic, etc. You repeat the 'link href' both in xsl and message.xml, which looks suspisous at first glance and obviously is an error or bad coding. Just make more transalation: Click Click to view or params. However your template for 'link'

[HELP]Unable to get transformer handler for page2html.stx

2003-11-03 Thread Michael Lynch
Hi, I just installed the latest cocoon on my XP machine. I got some install warnings regarding org.apache But I started cocoon servlet ok. The very last "hello world" example (HTML Hello in the HTML format, but now with help from stx block.) FAILED: Description:org.apache.cocoon.Processi

AbstractSAXTransformer recording question!

2003-11-03 Thread Rui Alberto L.
Hi all, in my transformer I want to use startSerializedXMLRecording, when the namespaceURI is http://xyz. Everything works fine, but it's only recorded childs of request, but I want element "request" to get recorded also!! http://xyz";> ... ... I want to the avoid crea

Cocoon + XSP + ESQL problem

2003-11-03 Thread HERBUEL Alain (DSIT-EX)
Title: Cocoon + XSP + ESQL problem Hello, I use Apache Tomcat/4.0.4 + Cocoon 2.0.3 I queries a DB via ODBC, xsp et esql.I would like to group the result on a certain tag. My code is the following.                                     SELECT i

AW: Cocoon + XSP + ESQL problem

2003-11-03 Thread Sliman Bouchareb
Title: Cocoon + XSP + ESQL problem can you send me your xsl-stylesheet for this xsp-file ? -Ursprüngliche Nachricht-Von: HERBUEL Alain (DSIT-EX) [mailto:[EMAIL PROTECTED]Gesendet: Montag, 3. November 2003 19:43An: [EMAIL PROTECTED]Betreff: Cocoon + XSP + ESQL problem Hello

[HELP]Exception in ServerPagesGenerator.generate()

2003-11-03 Thread Sandy_Kiran
Exception in ServerPagesGenerator.generate() 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 t

SSLExt in cocoon

2003-11-03 Thread ykprajapati
Anybody knows ??? if ssl extension is available for cocoon as it is with struts. Here is the link for sslext for struts: (http://sslext.sourceforge.net) Or if there already exits such funtionality in Cocoon ...I don't know yet. -Yogesh __

Problem with cocoon 2.0.3, inline svg in fo

2003-11-03 Thread Johan Lilja
Hello, I am using cocoon 2.0.3 to render som pdf files out of fo files. Everything works fine until I try to insert some inline svg. Just to check that I haven’t done any mistakes in the fo file I have tried to use the embedding.fo which follows in the FOP distribution. (that one works f

i18n: how to override locale date format?

2003-11-03 Thread Marcin Okraszewski
Hi, I'm using i18n for localizing date format. It works fine, but I don't agree with format for Polish date (-MM-dd and should rather be dd.MM.). How can I change it? Regards, Marcin Okraszewski - To unsubscribe, e-mail:

Warning: Attempted to release a null component.

2003-11-03 Thread Justin Fagnani
I'm getting a ton of warnings in my logs like this: ExcaliburComponentSelector: Attempted to release a null component. Does anyone know what type of situation might be causing this, and how I might hunt it down? I look like it's happening somewhere in ProgramGeneratorImpl.load(). The warnings

SSLExt in cocoon

2003-11-03 Thread YKPrajapati
Anybody knows ??? if ssl extension is available for cocoon as it is with struts. Here is the link for sslext for struts: (http://sslext.sourceforge.net) Or if there already exits such funtionality in Cocoon ...I don't know yet. -YKP -

moving from cocoon 2.1 dev to cocoon 2.1.3 dev

2003-11-03 Thread iyy
We are moving our application from Cocoon 2.1 Dev to Cocoon 2.1.3 Dev.   One xsl statement that worked in Cocoon 2.1 dev causes error in Cocoon 2.1.3 Dev.        In the xsl-if , if I used normalize-space then the page fails with the following error:   The XML page cannot be displayed Canno

Why do I get a java.net.MalformedURLException?

2003-11-03 Thread Jon Bedworth
Hello, Please can someone help ... I have been developing an application on my own server using Cocoon 2.1 and Tomcat. Things work fine. Yet when I transfer this to a server that is also using Tomcat but a newer version of Cocoon (version 2.1.2), I get the following error when I try to access

Re: Groovy language for XSP [Fwd: [xml-dev] The Free World vs Microsoft Inc: A Closer Look At Groovy]

2003-11-03 Thread Vadim Gritsenko
Oleg Dulin wrote: I see there has been some discussion about continuations on their ML: http://lists.codehaus.org/pipermail/groovy-dev/2003q3/000158.html but it doesn't seem very probable that Groovy will support continuations any time soon, which is a pity. How about XSP ? I can certainly