jpeg and png display problem for samples

2004-02-12 Thread yangontha Maung
http://myserver:/samples/batik/hello.jpeg I am using cocoon 2.1.3 on Red Hat Linux 9.0; Tomcat 5.0.18. I try to view the samples and when I view svg, it is OK. But when I click the jpeg and png links, there is an error message. The image “http://myserver:/samples/batik/hello.jpeg”

Re: URGENT: Cocoon+FO Project needs a new owner

2004-02-12 Thread Jaanek Oja
Hi Phil, I've been working with Cocoon some time and I could say I feel comfortable making sites with it. I've some free time right now and could help you with your project. If you feel that I could help you please feel free to contact me to give more details. /Jaanek Phil Blake wrote: Hi

Re: How can I make IE display html in auto encoding utf-8?

2004-02-12 Thread gounis
we have to setup the default encoding in our web server (apache) to be set the encoding of ie automaticly i dont know if this is the only somlution,but it's work --stavros On Wed, 11 Feb 2004, [gb2312] wrote: Hi,all: I want to use Chinese chacter in the page and don't want it to be

How can I make IE display html in auto encoding utf-8?Sorry last mail use html

2004-02-12 Thread
Hi,all: I want to use Chinese chacter in the page and don't want it to be encoded as someting like #8983;. So I change configurations in web.xml: init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param init-param

Re: How can I make IE display html in auto encoding utf-8?Sorry last mail use html

2004-02-12 Thread Jaroslav Kuruc
Make sure your servlet container doesn't add charset=ISO-8859-1 in HTTP header. Charset in meta tag only matters if no (or the same) charset is in HTTP header. wrote: Hi,all: I want to use Chinese chacter in the page and don't want it to be encoded as someting like #8983;. So I change

Re: reading binary stream into xsp page

2004-02-12 Thread beyaNet Consultancy
Eduard, I tried your recommendation and it worked partly but the output to the screen is incorrect. I am getting #0;t#0;h#0;i#0;s#0; written to the screen instead of plain text with out the #0; being written to the screen as well. How do I deal with this? And if the output stream was an image or

Re: How can I make IE display html in auto encoding utf-8?

2004-02-12 Thread Eduard Drenth
On Thu, 2004-02-12 at 09:26, [EMAIL PROTECTED] wrote: we have to setup the default encoding in our web server (apache) to be set the encoding of ie automaticly i dont know if this is the only somlution,but it's work --stavros On Wed, 11 Feb 2004, [gb2312] wrote: Hi,all:

Using getTransfomerValidity with a source based key for cache invalidating

2004-02-12 Thread Corin Moss
Title: Using getTransfomerValidity with a source based key for cache invalidating Hi Guys, I've been implementing the external cache validity functionality of DBPrism, and I've decided that I want to externally invalidate my transformers as well. I can see that getValidity within (for

RE: How can I make IE display html in auto encoding utf-8?

2004-02-12 Thread Leszek Gawron
init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value Do NOT change this parameter - leave the default value. Only form-encoding should be set to utf-8 -- Leszek Gawron - To unsubscribe,

Re: reading binary stream into xsp page

2004-02-12 Thread Leszek Gawron
On Thu, Feb 12, 2004 at 09:22:29AM +, beyaNet Consultancy wrote: Eduard, I tried your recommendation and it worked partly but the output to the screen is incorrect. I am getting #0;t#0;h#0;i#0;s#0; written to the screen instead of plain text with out the #0; being written to the

Re: reading binary stream into xsp page

2004-02-12 Thread Eduard Drenth
On Thu, 2004-02-12 at 10:22, beyaNet Consultancy wrote: Eduard, I tried your recommendation and it worked partly but the output to thescreen is incorrect. I am getting #0;t#0;h#0;i#0;s#0; written tothe screen instead of plain text with out the #0; being written tothe screen as well. How do I

AW: reading binary stream into xsp page

2004-02-12 Thread Marco Rolappe
I think they understood that you were getting a byte[] field. however, you cannot 'render the binary stream correctly to the page', i.e. you cannot simply embed an image into an html page as a binary stream. as was mentioned, you reference image(s/ streams) via URLs. you can of course have that

Re: AW: reading binary stream into xsp page

2004-02-12 Thread beyaRecords - The home Urban music
Marco, On 12 Feb 2004, at 10:41, Marco Rolappe wrote: you can of course have that URL be handled by an XSP that emits the data you get from the db as e.g. a gif image (image/gif), if it was a gif stream. how so I do the above? Do you have any example code I can see? many thanks in advance

AW: reading binary stream into xsp page

2004-02-12 Thread Marco Rolappe
little correction: you shouldn't do it via an XSP, because XSPs are supposed to be generators, i.e. they must emit SAX events, and have their output serialized by a serializer. you should implement a reader instead, which is supposed to combine those two steps. what it boils down to (when

Embed SVG-tags directly in html

2004-02-12 Thread robby . pelssers
Is the only way to embed SVG in html by using the embed Tag ?? I would like to know if there is a way to directly use svg xmlns:svg=http://www.w3.org/2000/svg; width=1000 heigth=120 content of SVG image /svg in the body html tag ?? thanks in advance, Robby Pelssers

Re: Embed SVG-tags directly in html

2004-02-12 Thread Jorg Heymans
yup as far as i know. There is a mozilla port that is supposedly able to render SVG natively, but i haven't checked on its status the last couple of months. Jorg [EMAIL PROTECTED] wrote: Is the only way to embed SVG in html by using the embed Tag ?? I would like to know if there is a way to

Re: Embed SVG-tags directly in html

2004-02-12 Thread Eduard Drenth
On Thu, 2004-02-12 at 13:16, [EMAIL PROTECTED] wrote: Is the only way to embed SVG in html by using the embed Tag ?? You could also use an object tag: object name=plaatje SRC= width=315 height=207 type=image/svg+xml/object I would like to know if there is a way to directly use svg

AbstractJXPathModule function parameter

2004-02-12 Thread Vasyl Stashuk
Hi! Where can I find examples for AbstractJXPathModule 'function' extensions? vasyas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem using RequestParameterModule with method POST

2004-02-12 Thread 0301
Hi, I want to use org.apache.cocoon.components.modules.input.RequestParameterModule like shown in the example (http://cocoon.apache.org/2.1/userdocs/actions/sendmail-action.html) in the sitematp, e.g. {request-param:subject} but it doesn't work with a html form and method POST. If I change the

Woody Repeaters

2004-02-12 Thread Jan Hoskens
Hi, I'm using a lot of repeaters in my forms. It may happen that one or more repeater is actually empty, which leaves an empty table. And there may be some surrounding context left on the form concerning that table. eg: title for the tabel Some introduction to the table table repeater

Re: Embed SVG-tags directly in html

2004-02-12 Thread Heinz Wittenbrink
The XHTML + MathML + SVG Profile of the W3C may be interesting in this context: http://www.w3.org/TR/XHTMLplusMathMLplusSVG/xhtml-math-svg.html Heinz Am 12. Feb 2004 um 13:31 schrieb Eduard Drenth: On Thu, 2004-02-12 at 13:16, [EMAIL PROTECTED] wrote: Is the only way to embed SVG in html by

Re: FileUploadsWithFlow problem

2004-02-12 Thread Bert Van Kets
It seems that this line is causing the problem in the FileUploadManagerImpl.java file String destfilename=this.uploadFolder.getAbsolutePath() + File.separator + source.getFileName(); The method getFileName() returns the full path instead of just the filename. I checked the PartOnDisk class and

[HELP]Exception in ServerPagesGenerator.generate()

2004-02-12 Thread Gene A. Lung
Title: [HELP]Exception in ServerPagesGenerator.generate() Description:org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: insert into users

Re: org.apache.cocoon.transformation.SourceWritingTransformer

2004-02-12 Thread Geoff Howard
Anthony Davies wrote: Hi, I'm trying to get this transformer working so that I can write xml on the fly on my server. Unfortunately, I can't get this component to work. What error do you get? The relevant sitemap bits as I have them are: ... altersubmit.xsl is: ... xsl:template match=/

Re: org.apache.cocoon.transformation.SourceWritingTransformer

2004-02-12 Thread Anthony Davies
I get this line in the log: DEBUG (2004-02-12) 15:24.06:218 [sitemap.transformer.tofile] (/documents/admin/altersubmit) HttpProcessor[8080][2]/SourceWritingTransformer: Configuration - no serializer yet Geoff Howard wrote: Anthony Davies wrote: Hi, I'm trying to get this transformer

Re: org.apache.cocoon.transformation.SourceWritingTransformer

2004-02-12 Thread Bert Van Kets
Hi Anthony, I was strugling with the SourceWriterTransformer yesterday too. It seemed like the transformer didn't work at all. Checking the logs showed that indent settings are not allowed. Try getting rid of indent=yes on the xsl:output tag. HTH, Bert - Original Message - From:

Re: URGENT: Cocoon+FO Project needs a new owner

2004-02-12 Thread Alan
* Phil Blake [EMAIL PROTECTED] [2004-02-11 08:26]: Hi Everyone, I started a paid project for a friend and have been so snowed under with work that I can't complete it in a reasonable time. Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing project, contact me asap for

Woody Binding

2004-02-12 Thread Ralph Goers
Are there any examples of how to use Woody Binding without using FlowScript? Ralph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Embed SVG-tags directly in html

2004-02-12 Thread H . vanderLinden
Hi Robby, Is the only way to embed SVG in html by using the embed Tag ?? I would like to know if there is a way to directly use svg xmlns:svg=http://www.w3.org/2000/svg; width=1000 heigth=120 content of SVG image /svg in the body html tag ?? I don't think (m)any browser

Re: org.apache.cocoon.transformation.SourceWritingTransformer

2004-02-12 Thread Jan Hoskens
Im using the sourcewriter currently with cocoon 2.1 cvs head updated around 2/2/2004. It does work with my setup: map:transformer logger=sitemap.transformer.write-source name=write-source src=org.apache.cocoon.transformation.SourceWritingTransformer/ in my pipeline: map:transform

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

2004-02-12 Thread Mark Leicester
Hello Gene, This is an error thrown by your database. It seems you have tried to insert NULL into the tempname column and tempname doesn't allow NULLs. Are you sure you're passing the parameters correctly? If you show us the XSP we may be able to help more. Cheers, Mark On 12 Feb 2004, at

Re: Woody Binding

2004-02-12 Thread Mark Lundquist
On Feb 12, 2004, at 7:56 AM, Ralph Goers wrote: Are there any examples of how to use Woody Binding without using FlowScript? Try the Form1 example in the Woody samples area. ~ml - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Migrating from 2.0 to 2.1.3

2004-02-12 Thread Mark Leicester
This may not be completely up to date, but try it out for a start: http://wiki.cocoondev.org/Wiki.jsp?page=MigratingFrom2.0.4To2.1dev On 12 Feb 2004, at 16:49, Jim Bloggs wrote: Greetings Cocoon Persons! I would be most grateful if some kind person would point me in the direction of a document

RE: Embed SVG-tags directly in html

2004-02-12 Thread Laurent Trillaud
Hi If you don't need dynamic SVG, you can serialize your SVG into PNG or JPEG and you will no longer need a plugin! Laurent Trillaud -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 12 février 2004 13:16 À : [EMAIL PROTECTED] Objet : Embed SVG-tags

Re: FileUploadsWithFlow problem

2004-02-12 Thread Bert Van Kets
Hi Mark, I've got the upload running in a hacked way. I'm still waiting for further info on how to get the filename manipulations correct. That's actually the reason for all the current problems. Here's a corrected JAR file that works for me. You still need to set the full path in the

Re: Woody Binding

2004-02-12 Thread Bruno Dumon
On Thu, 2004-02-12 at 16:56, Ralph Goers wrote: Are there any examples of how to use Woody Binding without using FlowScript? * BindingWoodyApple.java * source of woody2.js might also prove helpful Basically just lookup the BindingManager, let it create a Binding object, and use its

Re: Woody Binding

2004-02-12 Thread Mark Lundquist
On Feb 12, 2004, at 8:34 AM, I wrote: On Feb 12, 2004, at 7:56 AM, Ralph Goers wrote: Are there any examples of how to use Woody Binding without using FlowScript? Try the Form1 example in the Woody samples area. d'oh, my bad... belay that, I didn't see Binding in the above. Must not reply to

Re: Woody Repeaters

2004-02-12 Thread Bruno Dumon
On Thu, 2004-02-12 at 13:50, Jan Hoskens wrote: Hi, I'm using a lot of repeaters in my forms. It may happen that one or more repeater is actually empty, which leaves an empty table. And there may be some surrounding context left on the form concerning that table. eg: title for the tabel

Re: Woody Repeaters

2004-02-12 Thread Joerg Heinicke
Doesn't the wi:repeater have a @size attribute on which you can decide in the stylesheet? The default from woody-field-styling is xsl:template match=wi:repeater input type=hidden name=[EMAIL PROTECTED] value=[EMAIL PROTECTED]/ table border=1 tr xsl:for-each

Re: How can I make IE display html in auto encoding utf-8?Sorry last mail use html

2004-02-12 Thread Stefan Burkard
hi roy i had the same effect with cyrillic characters to display russian language! in effect, if i connect directly to tomcat on port 8080 everything runs ok, because tomcat and cocoon both don't set any encoding in the http-header. therefore the meta-tag in the html-page (set by

Re: Using Subversion (or CVS) as a (password-protected) resource

2004-02-12 Thread Joerg Heinicke
On 08.02.2004 01:06, Richard In Public wrote: Hi I have a number of OpenOffice Writer files (*.sxw) in a Subversion repository (think CVS if you don't know Subversion). I want to pull these from the repository and through Yves Vindevogel's OpenOffice generator. This should be pretty simple

Re: FileUploadsWithFlow problem

2004-02-12 Thread Mark Lundquist
On Feb 12, 2004, at 5:31 AM, Bert Van Kets wrote: It seems that this line is causing the problem in the FileUploadManagerImpl.java file String destfilename=this.uploadFolder.getAbsolutePath() + File.separator + source.getFileName(); Bert, thanks for figuring this out! Here's the fix change

LDAPTransformer DN (Distinguished Name)

2004-02-12 Thread DAYD3
I've been trying unsuccessfully to get the LDAPTransformer to return the Distinguished Name of the entries it finds. I'm using this for User Authentication, so I first do a lookup via anonymous bind, and then once I've found the users DN (which I'm having to manually fudge right now), I rebind

Reading Configuration Data in an XSP

2004-02-12 Thread Brent L Johnson
I'm sure this question has been posed to this list, but I searched around on the archives all the way back to 2002 and didn't find anything (at least with the keywords I was searching for). I'm using the authentication framework to handle logins, I then store the person's userID in the session.

within Flowscript: get servlet context root?

2004-02-12 Thread Mark Lundquist
Dear all, How can I get the pathname of the servlet context root directory in my flowscript? From the FOM API doc, I see how to get it from Cocoon.context, if this in in fact a context attribute. I'm assuming it is, but I don't know the attribute name. Please help remedy my ignorance, and

RE: Windows/Tomcat/Cocoon Installation --htm attached again.

2004-02-12 Thread H . vanderLinden
I hope you like the result: http://wiki.cocoondev.org/Wiki.jsp?page=WindowsTomcatCocoonInstallation Bye, Helma -Original Message- From: Jim Bloggs [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 00:25 To: [EMAIL PROTECTED] Subject: RE: Windows/Tomcat/Cocoon Installation

Language Exception when compiling XSP page

2004-02-12 Thread Stefan Geelen
Hi, I have following XSP page: - ?xml version="1.0" encoding="ISO-8859-1"?xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" page pTEST/p/page/xsp:page When called it generates folllowing error:

How can i display my images ( which are stored as byte streams ) dynamically using cocoon ?

2004-02-12 Thread beyaNet Consultancy
Hi, I am trying to track down the work that may have been completed as a result of this post. Any help in tracking this down will be greatly appreciated. http://archives.real-time.com/pipermail/cocoon-users/2000-December/ 009368.html many thanks in adavance

RE: Windows/Tomcat/Cocoon Installation --htm attached again.

2004-02-12 Thread Jim Bloggs
Great Job. Many thanks. best, Jim On Thu, 12 Feb 2004 21:34:19 +0100, [EMAIL PROTECTED] said: I hope you like the result: http://wiki.cocoondev.org/Wiki.jsp?page=WindowsTomcatCocoonInstallation -- http://www.fastmail.fm - The way an email service should be

[HELP]Exception when attempting to access the remote URL: http://xml.amazon.com/onca/xml?v=1.0

2004-02-12 Thread Ray Allis
Please, can someone explain to me why the Proxy samples and the SOAP samples can't find the target hosts when the Aggregation sample seems to work just fine? This is the error from the Proxy sample: Description:org.apache.cocoon.ProcessingException: Exception when attempting to access the remote

Realtime generation of Woody Forms

2004-02-12 Thread Tony Edwards
Cocooners, I'm trying to generate a woody form definition and template in real time from a Torque xml database schema. I read somewhere that it was theoretically possible to do this but I'm getting an error: Could not parse form definition from

Re: Language Exception when compiling XSP page

2004-02-12 Thread John L. Webber
Hi Stefan, Perhaps someone else has a more specific idea what the problem is, but as a general Cocoon debugging technique have you looked at the generated Java file (myaccount_details_xsp.java)? That's usually a good place to start solving such error messages. The generated java files should

[ANN] next week, LOTS Open Source event, Bern, Switzerland

2004-02-12 Thread Bertrand Delacretaz
Hi Cocoonistas, It's a bit late but I realize there have been no announcements here: http://lots.ch : Wednesday 18.2, Bern: Let's open the source! A one-day event: talks, workshops, project presentations, OSCOM hackathon, you name it. Mostly in German, some talks in English. Several Cocoon and