Help in Cocoon2.1.2

2003-11-27 Thread Mohan Ganesan
hi, we are using cocoon2.1.2,xsl with jsp. The problem that we are facing is follows. In a file called Hoverwelcome.jsp whilch transforming to hoverwelcome.xsl file through sitemap file. we used 3 frame in that xsl file. We added pipeline for that 3 files similar to file. (One of the

RE: Woody: problems configuring pipeline

2003-11-27 Thread Wouter . DERUYCK
I found the problem. The reason was that I used a CDATA section in my XSLT to output the wt:form-template tag like xsl:text disable-output-escaping=yes![CDATA[ wt:form-template action=#{$continuation/id}.continue method=POST]]/xsl:text The reason I used a cdata section was that xalan else tries

Re: removing namespaces...

2003-11-27 Thread Patrick Hess
J.Pietschmann wrote: You also can't use exclude-result-prefixes to transform XHTML (using the XHTML namespace) into HTML 4.x (no namespace). Use the cleanxmlns posted downthread for this task. Thanks to everyone who replied on my message - I will go deeper into it now, thanks!! Patrick

cocoon with servlet Filter - running twice

2003-11-27 Thread Roman Hrivik
Hi I put simple test filter before cocoon servlet. But I have a problem with it, because my Filter runs twice. I run Cocoon on oracle OC4J. There is just simple System.out.print in my filter just count the runs int runs=0; public void doFilter( ServletRequest

encoding, UTF-8

2003-11-27 Thread Lionel Crine
Hi, I want to put the entire plateform into UTF-8. For now, cocoon is using ISO-8859-1. Here what I've already done : map:serializer logger=sitemap.serializer.html mime-type=text/html name=html pool-grow=4 pool-max=32 pool-min=4

RE: encoding, UTF-8

2003-11-27 Thread Nicolas Toper
Are you sure, the viewer is UTF8? -Message d'origine- De : Lionel Crine [mailto:[EMAIL PROTECTED] Envoyé : jeudi 27 novembre 2003 11:58 À : [EMAIL PROTECTED] Objet : encoding, UTF-8 Hi, I want to put the entire plateform into UTF-8. For now, cocoon is using ISO-8859-1. Here what I've

Re: Precompilation of XSP-files via CLI - flag precompile-only broken

2003-11-27 Thread Upayavira
[EMAIL PROTECTED] wrote: Upayavira, thank you very much! :-) Try the below build file, and let me know how you get on. Try it with Cocoon 2.1.3. The Ant task in 2.1.1 is old, and I do not know its status. Regards, Upayavira ?xml version=1.0? project default=cocoon basedir=. name=Apache

RE: encoding, UTF-8

2003-11-27 Thread gounis
i'm allmost sure that the entire cocoon has UTF-8 as default encoding corect me --stavros On Thu, 27 Nov 2003, Nicolas Toper wrote: Are you sure, the viewer is UTF8? -Message d'origine- De : Lionel Crine [mailto:[EMAIL PROTECTED] Envoy : jeudi 27 novembre 2003 11:58 :

Re: encoding, UTF-8

2003-11-27 Thread Tim Cavanagh
From: Nicolas Toper [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 27 Nov 2003 12:16:11 +0100 To: [EMAIL PROTECTED] Subject: RE: encoding, UTF-8 Are you sure, the viewer is UTF8? -Message d'origine- De : Lionel Crine [mailto:[EMAIL PROTECTED] Envoyé : jeudi 27

Re: encoding, UTF-8

2003-11-27 Thread Guido Casper
Did you set the form-encoding parameter in web.xml? Guido Lionel Crine wrote: Hi, I want to put the entire plateform into UTF-8. For now, cocoon is using ISO-8859-1. Here what I've already done : map:serializer logger=sitemap.serializer.html mime-type=text/html name=html

Re: deleting repeater-rows

2003-11-27 Thread Jeremy Quinn
On 26 Nov 2003, at 18:19, Bruno Dumon wrote: How do I call delete on my bean? I am using Hibernate, it is not enough to just remove the item from the Collection, I also need to call session.delete (resource) (or more accurately ResourcePeer.delete (session, resource), so it is wrapped in a

create new session attribute in xsp

2003-11-27 Thread Nadia Brünning
hi guys, i habe the following problem: i have a sitemape: map:match pattern=bookmark* map:generate src=logic/bookmark.xsp type=serverpages/ map:transform src=stylesheets/bookmark.xsl type=xslt /map:transform map:serialize type=html/ /map:match in the bookmark xsp i create a new session attribute

Re: create new session attribute in xsp

2003-11-27 Thread Guido Casper
Nadia Brünning wrote: hi guys, i habe the following problem: i have a sitemape: map:match pattern=bookmark* map:generate src=logic/bookmark.xsp type=serverpages/ map:transform src=stylesheets/bookmark.xsl type=xslt /map:transform map:serialize type=html/ /map:match in the bookmark xsp

Re: encoding, UTF-8

2003-11-27 Thread Boris Althaus
Hallo Lionel, we had problems with this issues several times. Play arround with these two initparams. The strange thing was, that on different engines we had to change the container-encoding to avoid encoding problems. Now we do not have any problems with encoding anymore and we don't

Re: encoding, UTF-8

2003-11-27 Thread Lionel Crine
In fact : The encoding parameter for the serializer modify the ?xml ...? declaration according the the value. Now I'm sure of that, my previous message was false. Now, I'm using that : map:serializer logger=sitemap.serializer.html mime-type=text/html name=html pool-grow=4 pool-max=32

Re: encoding, UTF-8

2003-11-27 Thread gounis
we have solve the same problem using action map:actions map:action name=set-encoding src=org.apache.cocoon.acting.SetCharacterEncodingAction/ ... ... ... !-- === order form === -- map:pipeline

Re: encoding, UTF-8

2003-11-27 Thread Lionel Crine
Thx. At 16:03 27/11/2003 +0200, you wrote: we have solve the same problem using action map:actions map:action name=set-encoding src=org.apache.cocoon.acting.SetCharacterEncodingAction/ ... ... ... !-- === order form === --

RequestParameterModule

2003-11-27 Thread Roman Hrivik
This can be reported as bug, I think. When I try to access for parameter from request in sitemap and in request is not such parameter I'll get null-exception. I think that RequestParameterModule should return always not null value. The method getAttribute from RequestParameterModule shoul be

Fw: Uploading files with Cocoon 2.1 (one more)

2003-11-27 Thread Josep Riudavets
Hi all ... Geoff... thanks for your help all these days, and for your interest about my problems for uploading files in Cocoon 2.1. Steven ... thanks for posting your upload action. It's very important to colaborate in this way, sharing the knowledges we have. About your upload action, I think

document-v10 transformation rules to HTML and PDF

2003-11-27 Thread gounis
hi people i have look in cvs's to find .xsl files that transform document-v10 (document-v10.dtd) xml files to html and pdf at once but without to find somenthing exist those file i'm looking for or not? i want to make our project (othello) ready to accept document-v10.dtd valid content

RE: Woody: problems configuring pipeline

2003-11-27 Thread Bruno Dumon
On Thu, 2003-11-27 at 09:15, [EMAIL PROTECTED] wrote: I found the problem. The reason was that I used a CDATA section in my XSLT to output the wt:form-template tag like xsl:text disable-output-escaping=yes![CDATA[ wt:form-template action=#{$continuation/id}.continue method=POST]]/xsl:text Ah,

Re: Selecting the correct value in a selection-list

2003-11-27 Thread Bruno Dumon
On Thu, 2003-11-27 at 04:16, Joe Latty wrote: Bruno, Ok I think I over simplified things so as to explain my problem I have a repeater with a select-list in each row, I wish to select the AK value in the select-list of the first row.

RE: Uploading files with Cocoon 2.1 (one more)

2003-11-27 Thread Roman Hrivik
I wrote my own action and it works correctly, you can use it. See attached fileuploadsample.zip You will specify those parameters to action number-of-files - number of uploaded files - number of input file fields file-form-field-prefix - form field prefix for file field i.e. myFile

Re: cocoon:/ does not work with SourceResolver (was: Re: Flow's processePipelineTo inside a Transformer?)

2003-11-27 Thread Bruno Dumon
On Wed, 2003-11-26 at 21:32, Sebastian Klamar wrote: * Bruno Dumon [2003-11-26 14:29 +0100] wrote: On Wed, 2003-11-26 at 14:04, Sebastian Klamar wrote: But for cocoon:/ and cocoon:// prefixed URLs (like »cocoon://samples/«) I get no response. The response has always mime type text/xml

Ading new fonts to cocoon runing on headles java VM

2003-11-27 Thread Christofer Dutz
Hi, I am working on a small Project using cocoon on a headless linux server. I would like to add new fonts, so I can use them in the SVGs I am generating. How can I do this? I am using a Jrockit VM on a RedHat 6.1 Server. Chris

Re: deleting repeater-rows

2003-11-27 Thread Bruno Dumon
On Thu, 2003-11-27 at 13:37, Jeremy Quinn wrote: On 26 Nov 2003, at 18:19, Bruno Dumon wrote: How do I call delete on my bean? I am using Hibernate, it is not enough to just remove the item from the Collection, I also need to call session.delete (resource) (or more accurately

Re: deleting repeater-rows

2003-11-27 Thread Bruno Dumon
On Thu, 2003-11-27 at 17:29, Bruno Dumon wrote: On Thu, 2003-11-27 at 13:37, Jeremy Quinn wrote: On 26 Nov 2003, at 18:19, Bruno Dumon wrote: How do I call delete on my bean? I am using Hibernate, it is not enough to just remove the item from the Collection, I also need to

Advice using Cocoon for my application?

2003-11-27 Thread Leonard Sitongia
Hi, I'm thinking of using Cocoon for a simple database-driven address book application where the critical part is being able to print address labels for envelopes. I'm wondering if XSL:FO would be reasonable to use to produce the pages of labels to send to the printer. I appreciate your

Re: deleting repeater-rows

2003-11-27 Thread Jeremy Quinn
On 27 Nov 2003, at 16:29, Bruno Dumon wrote: On Thu, 2003-11-27 at 13:37, Jeremy Quinn wrote: On 26 Nov 2003, at 18:19, Bruno Dumon wrote: How do I call delete on my bean? I am using Hibernate, it is not enough to just remove the item from the Collection, I also need to call session.delete

Re: deleting repeater-rows

2003-11-27 Thread Jeremy Quinn
On 27 Nov 2003, at 16:29, Bruno Dumon wrote: Saw your messages on the dev list (which are still valid), but you could do this as follows: event.getSourceWidget().getParent().getWidget(my-id- widget).getValue() where my-id-widget is the widget containing your id (assuming that's what you

Re: RequestParameterModule

2003-11-27 Thread Christian Haul
Roman Hrivik wrote: This can be reported as bug, I think. When I try to access for parameter from request in sitemap and in request is not such parameter I'll get null-exception. I think that RequestParameterModule should return always not null value. Nope since is different from null eg on

Re: portal engine on Cocoon 2.1.3

2003-11-27 Thread Christian Haul
David Geleyn wrote: Hi all! I'm looking at the (new) portal engine of cocoon and I have some questions about it: It is possible to make any coplet fullscreen, which is great, but how exactly do you know whether you are in full screen mode or not (when you are creating the coplet)? It would be

Problems with Cocoon Tomcat

2003-11-27 Thread Anchuri
hi, We are using cocoon 2.0.3 in tomcat 4.1 on Solaris. We are using Java beans to query database and we have XML embeded in JSP files,these JSP files make calls to the java beans for dynamic content. we use XSLT to transform the xml in JSP files to html using cocoon. The following are the

Re: cocoon with servlet Filter - running twice

2003-11-27 Thread Joerg Heinicke
I wonder how Cocoon (= a servlet) should influence servlet container behaviour? Isn't the filtering independent on the things the servlet does? Are you sure that not two requests are sent (e.g. using Adobe PDF plugin with IE)? Joerg On 27.11.2003 11:41, Roman Hrivik wrote: Hi I put simple

Re: Ading new fonts to cocoon runing on headles java VM

2003-11-27 Thread Joerg Heinicke
On 27.11.2003 17:21, Christofer Dutz wrote: Hi, I am working on a small Project using cocoon on a headless linux server. I would like to add new fonts, so I can use them in the SVGs I am generating. How can I do this? It's some time ago, but we already did it. We converted fonts to font

Re: document-v10 transformation rules to HTML and PDF

2003-11-27 Thread Joerg Heinicke
On 27.11.2003 16:24, [EMAIL PROTECTED] wrote: hi people i have look in cvs's to find .xsl files that transform document-v10 (document-v10.dtd) xml files to html and pdf at once but without to find somenthing exist those file i'm looking for or not? i want to make our project (othello) ready

Clickable list

2003-11-27 Thread Steve Steinitz
Hello, We have prototyped some forms with Woody and Flow. It is impressive technology, particularly the binding framework. We use Cayenne (similar to OJB) as our object layer to access our postgres database. It is not obvious to us how to use woody to implement a 'clickable list' of objects --

Re: Help in Cocoon2.1.2

2003-11-27 Thread Joerg Heinicke
Sorry, but I don't understand your question/problem exactly. But to make it clearer: You want to generate a website with 3 frames? What you need are exactly 4 files: 1 frameset HTML file and 3 content HTML files. Nothing specific has to be done in the sitemap. The browser simply loads the

Re: Ading new fonts to cocoon runing on headles java VM

2003-11-27 Thread Christofer Dutz
Thanks for your tip. The ttf2svg tool worked fine ... the only thing I noticed was a slower geretation of the images. I thik this is a result of the much larger SVG-files. Is there a way to include fonts to be Java-accessible ? Mabe this would make everything a lot faster. Chris Joerg