Re: custom Serializer: not getting the last 20 bytes , setOutputStream

2006-09-06 Thread Andreas Kuehne
Hi Dominique ! I thought in that direction too, yet the flush() doesn't seem to do the trick. I just tried output.flush() before super.endDocument() and after, it was called, but I'm having the same problem. On 05/09/06, Bertrand Delacretaz [EMAIL PROTECTED] wrote: On 9/5/06, Dominique

Strange behaviour of repeater (repeaterrows don't show up in HTML source code) while they are rendered

2006-09-06 Thread Robby Pelssers, AGP
Hi guys, I attached my jx file that generates a form where people can register the number of hours they spent on a certain task. However, when the form is rendered I can see the repeaterrows on the browser but NOT in the html source code. Anybody who can explain this? Ps.I must add to

RE: custom Serializer: not getting the last 20 bytes , setOutputStream

2006-09-06 Thread Ard Schrijvers
Hi Dominique ! I thought in that direction too, yet the flush() doesn't seem to do the trick. I just tried output.flush() before super.endDocument() and after, it was called, but I'm having the same problem. On 05/09/06, Bertrand Delacretaz [EMAIL PROTECTED] wrote:

RE: custom Serializer: not getting the last 20 bytes , setOutputStream

2006-09-06 Thread Ard Schrijvers
Hi Ard ! Think the flush() and doFinal() things are not the problem (look at the XMLSerializer, Dominique is doing more or less the same) Still think so! Made a giant effort and took a look at the doc : public void close() : ... This method invokes the doFinal method of the

RE: [GT2006] REMINDER: Request for Papers, deadline tomorrownight!

2006-09-06 Thread Arje Cahn
Dear Arje, A short question regarding papers. Hi Nick, I'll answer this question to you in private - not sure whether you've CC-d the the userlist intentionally or by accident.. -- Arje - To unsubscribe, e-mail: [EMAIL

after serialize stored the created document like file

2006-09-06 Thread rachid harradi
hello i need your help? i have sitemap like: ?xml version=1.0 encoding=UTF-8? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:components !-- Generator registrieren -- map:generators default=myGenerator map:generator name=myGenerator src=dbmanager.MyGenerator/

html to xslt or to fo:xsl

2006-09-06 Thread rachid harradi
Hello does it give any Tool(free), with which one can convert HTML collecting main into XSLT and/or fo:xsl? and from xslt to fo:xsl -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Re: html to xslt or to fo:xsl

2006-09-06 Thread Bhavya Sharma
Hi rachid , i could'nt get ur point wat exactly you want to do, can describe it in more details or tell wat do you want to doBhavyaOn 9/6/06, rachid harradi [EMAIL PROTECTED] wrote: Hellodoes it give any Tool(free), with which one can convert HTML collecting main into XSLT and/or fo:xsl?and from

RE: after serialize stored the created document like file

2006-09-06 Thread Jeroen Reijn
Hi Rachid, you might want to take a look at the sourcewriting transformer. You can find information about this transformer at: http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html I hope this helps you out. Regards, Jeroen Reijn Hippo -Original Message- From: rachid

Re: after serialize stored the created document like file

2006-09-06 Thread Wadim Kruse
Hi, you can use flowscript to achieve this, as described in: http://www.nabble.com/Injecting-a-String-XML-document-into-a-pipeline-tf48141.html#a134091 Best regards, Wadim rachid harradi wrote: hello i need your help? i have sitemap like: ?xml version=1.0 encoding=UTF-8?

initial-value does not work in widget with selection-list

2006-09-06 Thread Rice Yeh
Hi, The initial-value does not work in widget with selection-list when rendering as combo drop down. I am using cocoon-forms 1.0.0-M1 and cocoon-core 2.2.0-M1. Does anyone have similar problem?Regards,Rice

Re: html to xslt or to fo:xsl

2006-09-06 Thread rachid harradi
hello thanks i would like convert HTML(file)on the basis a Tools in xslt. and i would like convert xslt in fo:xsl(PDF)!! so i use cocoon i will create any format(HTML, PDF , WORD Excel) Original-Nachricht Datum: Wed, 6 Sep 2006 17:55:29 +0530 Von: Bhavya Sharma [EMAIL

Re: Strange behaviour of repeater (repeaterrows don't show up in HTML source code) while they are rendered

2006-09-06 Thread Jason Johnston
Robby Pelssers, AGP wrote: Hi guys, I attached my jx file that generates a form where people can register the number of hours they spent on a certain task. However, when the form is rendered I can see the repeaterrows on the browser but NOT in the html source code. Anybody who can explain

Re: html to xslt or to fo:xsl

2006-09-06 Thread Derek Hohls
Rachid You could convert the HTML to valid XML with JTidy; and then process the results with XSLT. A lot will depend on how well-structured the original HTML is, as to how effectively you could do this. XSLT could also be wrtitten to output FO compliant text, which Coocon could then serialize

Re: cforms + binding + xml namespaces

2006-09-06 Thread Wadim Kruse
I've figured out that: fb:insert-node xi:include / /fb:insert-node inserts the node with correct namespace in opposite to: fb:context path=ModuleCode/content/xi:include... or fb:javascript id=ModuleCode path=ModuleCode/content/xi:include As a workaround, is there a way while binding

Re: cforms + binding + xml namespaces

2006-09-06 Thread Fabian Linz
Hi! Have you already tried the following: Is another namespace working with the same prefix? Is the same namespace working with another prefix? Can you provide the whole binding document? Fabian Wadim Kruse wrote, On 06.09.2006 14:06: Well, there is no error anymore while saving the

Is there an Excel generator for Cocoon ?

2006-09-06 Thread Cocoon Man
Hello Cocoon gurus, Is there a Generator or anything which enables to use an Excel file as the input for my cocoon pipeline ? Thanks

Expenditure in a file store

2006-09-06 Thread rachid harradi
would have to spend in a place of my application instead of the expenditure by HTML, which whole ones write into a file.? -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Re: Is there an Excel generator for Cocoon ?

2006-09-06 Thread Jeroen Reijn
Hi, I'm afraid there isn't a component that reads the Excel format. I guess POI itself is able to do it, but it's not implemented in one of the cocoon components. Maybe it's possible to convert the excel to csv first? Regards, Reijn Cocoon Man wrote: Hello Cocoon gurus, Is there a

Re: Expenditure in a file store

2006-09-06 Thread Jeroen Reijn
Hi Rachid, i'm having a hard time understanding this email. What do you mean with expenditure in a file store versus expenditure by HTML? What do you want to write into a file? Regards, Reijn rachid harradi wrote: would have to spend in a place of my application instead of the expenditure

Re: custom Serializer: not getting the last 20 bytes , setOutputStream

2006-09-06 Thread Dominique
hi guys, thx for the tips. I now switched to inherit from EncodingSerializer.java (in the block/serializers part). This gives me me more easy access to the flushing behaviour. I solved the problem for now by putting 25 Newline characters add the end, because after trying for hours I think I'm in

Re: Expenditure in a file store

2006-09-06 Thread rachid harradi
hello excuse me ! i have i sitemape like: ?xml version=1.0 encoding=UTF-8? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; !--map:components /map:components-- map:pipelines map:pipeline !-- Generator verwenden -- map:match pattern= map:generate

RE: Is there an Excel generator for Cocoon ?

2006-09-06 Thread Nathaniel Alfred
You can use an XSP to extract the data from the Excel file and send it as XML downstream to a stylesheet. But beware by using XSP you disqualify youself as Cocoon guru :-) Cheers, Alfred. -Original Message- From: Jeroen Reijn [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 6. September 2006

Re: Is there an Excel generator for Cocoon ?

2006-09-06 Thread Cocoon Man
In the latest versions of Excel it is also possible to save the Excel file as an XML file (which is even better than CSV). But in my case, I would like to be able to parse the .XLS file directly or find a Java Api which would convert the .XLS to some .XML content. 2006/9/6, Jeroen Reijn [EMAIL

XSLT table formatting problem

2006-09-06 Thread Manuel Ottaviano
Hello cocoon users , I've a problem with a trasformation of an XML file. This is the XML file, generated by a pipeline process: page xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:i18n="http://apache.org/cocoon/i18n/2.1" programprogram/program data productHearth Failure

Re: Is there an Excel generator for Cocoon ?

2006-09-06 Thread Andreas Kuehne
Hi Cocoon Man ! Funny name ... let's see if you're that curios to give this generator a try ! I wrote it years ago and it supports only some kind of Excel file events. Did the job ... Greetings Andreas ___ Andreas Kühne phone: +49 177 293

RE: XSLT table formatting problem

2006-09-06 Thread Jasha Joachimsthal
Do the rows and row tags have the same namespace as page and data? Maybe they are a result of a SQL query and they have tje SQL namespace. Just a wild guess... Jasha Joachimsthal - Hippo Oosteinde 11 1017 WT Amsterdam The Netherlands +31 (0)20 5224466 [EMAIL PROTECTED]

[cforms] initial-value does not work

2006-09-06 Thread Rice Yeh
Hi, The initial-value does not work in widget with selection-list when rendering as combo drop down. I am using cocoon-forms 1.0.0-M1 and cocoon-core 2.2.0-M1. Does anyone have similar problem?Regards,Rice

portal + cforms + coplet links

2006-09-06 Thread Wadim Kruse
Hi folks, I would like to pass some information from one coplet to another. I've read that one possible solution to achieve this is by using coplet links. I've tried it, but it doesn't work. When I click the link, the coplet with the link is redisplayed. This is the coplet with the link:

Re: cforms + binding + xml namespaces

2006-09-06 Thread Fabian Linz
Hi Wadmin, I tried the following here: fb:context xmlns:fb=http://apache.org/cocoon/forms/1.0#binding; xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; path=/ProgrammeDescription xmlns:i18n=http://apache.org/cocoon/i18n/2.1; xmlns:xi=http://www.w3.org/2001/XInclude;

Integrating Cocoon Spring apps

2006-09-06 Thread Oleg Konovalov
Hi,We have an existing legacy Cocoon 2.0.4 application with Actions written in Java (JDK1.4.2) by a 3rd party company.We are trying to write a Java application (based on Spring 1.3) with JSPs at presentation level, which would need to be integrated with that Cocoon app.Originally we thought that

RE: Strange behaviour of repeater (repeaterrows don't show up in HTML source code) while they are rendered

2006-09-06 Thread Robby Pelssers, AGP
Hi Jason, you are right about the fact that I can see the source when I select it (firefox) and then can see the source of the selected html. I also discovered that by coincidence today. And about that valuechanged event... it is indeed that when a user selects a dimension, the repeaterrows are

Re: Expenditure in a file store

2006-09-06 Thread Felix Knecht
Hi Rachid I don't think it's possible to serialize directly to a file (at least I haven't seen such serializer yet). My suggestion is to use the Source Writing Transformer (http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html) to write to stream content to a file. You'll probably

Re: XSLT table formatting problem

2006-09-06 Thread Tony Edwards
Try this: xsl:for-each select=data/rows/row You're already at the /page element when you call the for-each so it can't find a /page child. (I don't know why it would work in XML-Spy, maybe its more lenient??) See how you go. Regards Tony Manuel Ottaviano wrote: *Hello cocoon users , I've a

Re: Is there an Excel generator for Cocoon ?

2006-09-06 Thread Scott Yeadon
See: http://jexcelapi.sourceforge.net/ An an example to get CSV: http://www.java-tips.org/other-api-tips/jexcel/converting-excel-documents-to-csv-files.html Scott. Cocoon Man wrote: In the latest versions of Excel it is also possible to save the Excel file as an XML file (which is even

Re: XSLT table formatting problem

2006-09-06 Thread Lars Huttar
On 9/6/2006 7:35 PM, Tony Edwards wrote: Try this: xsl:for-each select=data/rows/row You're already at the /page element when you call the for-each so it can't find a /page child. (I don't know why it would work in XML-Spy, maybe its more lenient??) See how you go. Regards Tony Tony, /page