Re: how to display html?

2004-10-22 Thread Upayavira
Wild guess here (never done it myself): Could your editBean.note_with_href return a DOMFragment or DomNode? I think the latest Cocoon in SVN might have code to handle this properly in JXTemplate. Regards, Upayavira Paul Joseph wrote: Hi, i have a requirement that the user should be able to

Re: specifying filename in map:read

2004-10-22 Thread Gunter D'Hondt
you should set the http header content-disposition; I don't know exactly if that can be easily set in the sitemap but if that doesn't work you can easily define an action that does it: response.setHeader(Content-Disposition, attachment; filename=yourfile.extension;); sometimes it also necessary

RE: specifying filename in map:read

2004-10-22 Thread Jain, Neeraj
Title: Message Thanks Gunter. This helps a lot. Regards. -Original Message-From: Gunter D'Hondt [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 2:50 PMTo: [EMAIL PROTECTED]Subject: Re: specifying filename in map:read you should set the http header

Re: Form.js leakage

2004-10-22 Thread Jorg Heymans
is this similar to http://issues.apache.org/bugzilla/show_bug.cgi?id=31760 ? Benoit Deshaies wrote: executive-summary When my forms application has been running for a while, Cocoon has thousands of file handles open for Form.js and fom_system.js, causing crashes. /executive-summary I'm developing

Re: Cocoon-Oracle questions

2004-10-22 Thread Markus Vaterlaus
Hi there, I'm using ESQL to connect to an Oracle 8i DB. Some tables I'm using have far more than 1 records in it. Allthough, I don't need all the records; restrictions with WHERE come in very handy. :-) To check your issue I built a logicsheet with the following query esql:query

RE: Cocoon 2.1.5.1 and BEA Weblogic 8.1 SP3

2004-10-22 Thread Christian Rosenberger
Hi, Thanks for your quick answer. Jean Pierre LeJacq wrote: is there anyone out there, who uses the current BEA weblogic server with the current Cocoon version? I've built and run cocoon 2.1.5.1 with WebLogic 8.1sp2. No real problems except if you have to use different versions of xalan

Re: Form.js leakage

2004-10-22 Thread Paul Crabtree
Could you tell me which version of the Form.js you are using please? I'm doing a similar thing to you but have only just started to develop mine. Paul On Fri, 22 Oct 2004 09:35:01 +0200, Jorg Heymans [EMAIL PROTECTED] wrote: is this similar to

WML generates 406 Not Acceptable error

2004-10-22 Thread Don Willems
Hi, I'm generating wml files using cocoon, but I'm getting a 406/Not Acceptable error when I use my mobile phone (SE T610) to access the page. I can however access the wml page with my desktop browser. I get the following http request headers when accessing the page on my desktop: HTTP Status

Re: WML generates 406 Not Acceptable error

2004-10-22 Thread Bertrand Delacretaz
Le 22 oct. 04, à 12:28, Don Willems a écrit : ...I'm generating wml files using cocoon, but I'm getting a 406/Not Acceptable error when I use my mobile phone (SE T610) to access the page. I can however access the wml page with my desktop browser. I get the following http request headers when

Re: how to display html?

2004-10-22 Thread Paul Joseph
Thank you for the pointer. I think I can manage to download the JXTemplateGenerator you mention... I am not clear on the DOMFragment/DomNode bit however. I can make the bean return a DomNode or DOMFragment but am not sure what it is or should look like. Any pointers on this would be helpful.

Re: WML generates 406 Not Acceptable error

2004-10-22 Thread Sandor Spruit
Bertrand Delacretaz wrote: Le 22 oct. 04, à 12:28, Don Willems a écrit : ...I'm generating wml files using cocoon, but I'm getting a 406/Not Acceptable error when I use my mobile phone (SE T610) to access the page. I can however access the wml page with my desktop browser. I get the following

Re: WML generates 406 Not Acceptable error

2004-10-22 Thread Don Willems
...I'm generating wml files using cocoon, but I'm getting a 406/Not Acceptable error when I use my mobile phone (SE T610) to access the page. I can however access the wml page with my desktop browser. I get the following http request headers when accessing the page on my desktop:.. FYI

Re: WML generates 406 Not Acceptable error

2004-10-22 Thread Bertrand Delacretaz
Le 22 oct. 04, à 14:09, Sandor Spruit a écrit : ...Troubles start when the stylesheet has an extra namespace to process the results of the request generator. Somehow, the transformation seems to be producing stuff that the Nokia beast does not like. No idea why!.. Do you filter out your

Re: WML generates 406 Not Acceptable error

2004-10-22 Thread Sandor Spruit
Bertrand Delacretaz wrote: Le 22 oct. 04, à 14:09, Sandor Spruit a écrit : ...Troubles start when the stylesheet has an extra namespace to process the results of the request generator. Somehow, the transformation seems to be producing stuff that the Nokia beast does not like. No idea why!.. Do

Re: WML generates 406 Not Acceptable error

2004-10-22 Thread Don Willems
Does your page contain images? Maybe it's one of the images mime-type that's the problem? This is the wml output (taken from the desktop browser): ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlhead/card

Re: how to display html?

2004-10-22 Thread Upayavira
Paul Joseph wrote: Thank you for the pointer. I think I can manage to download the JXTemplateGenerator you mention... Er, I think you're already using it. You refer to ${editBean.note_with_href} which looks like a bit of JEXL from within a jx template. I am not clear on the

Re: how to display html?

2004-10-22 Thread Paul Joseph
Thanks again..(I was talking about getting the new version of the generator..) --- Upayavira [EMAIL PROTECTED] wrote: Paul Joseph wrote: Thank you for the pointer. I think I can manage to download the JXTemplateGenerator you mention... Er, I think you're already using it. You

Re: WML generates 406 Not Acceptable error

2004-10-22 Thread Bertrand Delacretaz
Le 22 oct. 04, à 14:30, Don Willems a écrit : ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlhead/card title=Strips id=De SchorpioenpbDe Schorpioen/b/pp1. Het teken van de duivelbr//pp2. Het geheim van de

RE: Cocoon 2.1.5.1 and BEA Weblogic 8.1 SP3

2004-10-22 Thread Jean Pierre LeJacq
On Fri, 22 Oct 2004, Christian Rosenberger wrote: Jean Pierre LeJacq wrote: is there anyone out there, who uses the current BEA weblogic server with the current Cocoon version? I've built and run cocoon 2.1.5.1 with WebLogic 8.1sp2. No real problems except if you have to use different

[XMLDB] xupdate and xalan, xerces, xml-apis

2004-10-22 Thread Timur Izhbulatov
Hi all! I got a problem with updating a resource. The problem seems similar to the one discussed in this thread[1]. But what versions xalan, xerces, etc. should I update to? I use Cocoon 2.1.5 and Tomcat 5.5.2. Thanks in advance. Timur [1]

RE: Cocoon-Oracle questions

2004-10-22 Thread Schultz, Gary - COMM
Thank you for your help. Are you transforming with XSL or STX? I've tried restrictions with where, limited the results with max-rows, but have had mixed results. Sometimes it works sometimes it doesn't. The problem is that the DOM is becoming so large that too much of the server resources are

Re: Cocoon-Oracle questions

2004-10-22 Thread Markus Vaterlaus
Hi there, I'm using XSLT. The match-part of the sitemap looks like this: map:match pattern=* map:generate src=xsp/{1}.xsp type=serverpages/ map:transform src=transform/{1}2html.xsl/map:transform map:serialize type=html/ /map:match The ESQL is straight forward as is the

RE: how to display html?

2004-10-22 Thread Paul Joseph
Thanks Helma! --- [EMAIL PROTECTED] wrote: Hi, DOM is the Document Object Model, and it is part of Java's way of handling XML. It is an object that represents XML as tree structures in memory. the syntax would roughly be (absolutely not ok to just copy, paste and use):

Re: redirect from xsp or xsl

2004-10-22 Thread Brent Johnson
I used meta tags with a refresh time of 0. Have your XSP just output an HTML page with a META tag in the HEAD and no BODY tag. - Brent On Fri, 22 Oct 2004 00:26:33 -0500 (CDT), Andres Taborda [EMAIL PROTECTED] wrote: hello list some users can show me how to make an redirect to other page

Xalan ESLT function date:date-add

2004-10-22 Thread gerritjan
Hello, This XSLT: ?xml version=1.0?> xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform xmlns:date=http://exslt.org/dates-and-times extension-element-prefixes=date xsl > xsl:import href=date.add.function.xsl /> xsl:output method=xml/> xsl:param name=p_dagen_terug/>

Uploaded file disappears on Tomcat restart

2004-10-22 Thread Paul Joseph
Hi, I have the upload widget workingthe only question I have is this: when I restart Tomcat (not when I stop it), the file disappears - Tomcat thinks it needes to clean it out (?) Is there anyway to stop this or to work around it? thx Paul

Re: Uploaded file disappears on Tomcat restart

2004-10-22 Thread Paul Joseph
Thank you Grzegorz. I would like to save it under the Tomcat hierarchyso that Tomcat can serve the uploaded file to other users in the company. That being the case, the other option that you suggest is to disable autoupload. If I do this, will the upload widget continue to work? (that is

Getting database connection in flow script

2004-10-22 Thread Martin Rusnak
Dear All, I am using CForms/flow-script. When the form is submited, I usually call a methods in my database utility classes from flow-script to perform a DB queries. For that I need to obtain a database connection from the pool. I tried the method: Database.getConnection(connection-id), but it

Re: Getting database connection in flow script

2004-10-22 Thread Tony Collen
Martin Rusnak wrote: Dear All, I am using CForms/flow-script. When the form is submited, I usually call a methods in my database utility classes from flow-script to perform a DB queries. For that I need to obtain a database connection from the pool. I tried the method: