RE: ressource reader bug with IE (linked to caching)

2004-04-22 Thread Joel Reungoat
Hello, Finally, I found one solution. You only have to add expires parameter for the map:read as follow : map:read src="" mime-type=application/msword map:parameter name=expires value=100/ /map:read This seems to force IE to bypass the error obtained on the first call to the document. This is

Re: Dynamic , individual xsl generation

2004-04-22 Thread Kannan V
Dear Joerg, Thanks  for the reply. What's the input, what iscomplex, where is the data stored and so on   Input is in the form of xml which is generated at run time whose structure is known.We have around 300 forms with different layouts. Part of a report will be in 2 column layout and

Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread laurent_rorive
Dear Members, I have some HTML with special characters as nbsp; IMG that I want to save as valid XML or XHTML. Is there a way to do that ? Thanks for your help

Re: Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread Upayavira
[EMAIL PROTECTED] wrote: Dear Members, I have some HTML with special characters as nbsp; IMG that I want to save as valid XML or XHTML. Look at the HTMLGenerator in the HTML block. Upayavira - To unsubscribe,

JAVA 1.3.1

2004-04-22 Thread grofcik.lan
Hello. Please help me with: Could I compile and run cocoon 2.1.4 with java 1.3.1? If yes how could I do it. If no, which version of the cocoon supports java 1.3.1? Thank you for answer. regards Martin - To unsubscribe, e-mail:

Re: JAVA 1.3.1

2004-04-22 Thread Upayavira
grofcik.lan wrote: Hello. Please help me with: Could I compile and run cocoon 2.1.4 with java 1.3.1? If yes how could I do it. If no, which version of the cocoon supports java 1.3.1? All versions of Cocoon should work with Java 1.3.1. There was a recent find of some code that didn't compile,

RE: URLEncoding of special characters

2004-04-22 Thread Carmona Perez, David
You have to configure the serializer encoding like in this sample: map:serializer name=xml-iso logger=serializ.xml src=org.apache.cocoon.serialization.XMLSerializer mime-type=text/xml encodingISO-8859-1/encoding /map:serializer -Mensaje original- De: news [mailto:[EMAIL

Flowscript - removeSession() is not a function

2004-04-22 Thread beyaNet Consultancy
Hi, I am getting the following error message in my flowscript: org.apache.avalon.framework.CascadingRuntimeException: removeSession is not a function, with the following line of code: cocoon.removeSession(); I know that to create a session in flowscript I do cocoon.createSession(). Could

Re: URLEncoding of special characters

2004-04-22 Thread Joerg Heinicke
On 22.04.2004 08:35, Harald Wehr wrote: I have a problem concerning special german characters occuring in urls. The HTML-Serializer encodes the urls to following output (source code of HTML file): a href=%C3%9CTest.htmlUuml;Test/a a href=%C3%84Test.htmlAuml;Test/a So the Ü is encoded to

RE: Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread Philipp Burkert
Hej, I have some HTML with special characters as nbsp; IMG that I want to save as valid XML or XHTML. if you need the XML outside the pipeline (e.g. store to xml database) you can also use HTML Tidy. There is a free port available for Java: http://sourceforge.net/projects/jtidy/

Re: Flowscript - removeSession() is not a function

2004-04-22 Thread John L. Webber
cocoon.session.invalidate() ? John beyaNet Consultancy wrote: Hi, I am getting the following error message in my flowscript: org.apache.avalon.framework.CascadingRuntimeException: removeSession is not a function, with the following line of code: cocoon.removeSession(); I know that to create

Re: Problems wirh session logicsheet

2004-04-22 Thread Olivier Billard
Try to remove your whitespaces and the ; : xsp-session:set-attribute name=utilisateurJoseph/xsp-session -- Olivier bremerj wrote: I have a problem (see attached error message) when trying to execute the following piece of code. xsp-session:set-attribute name=utilisateur Joseph

RE: Problems wirh session logicsheet

2004-04-22 Thread bremerj
Many thanks, Joseph iCube Consulting 33, rue du Kiem, Bte 13 L-8030 Strassen Luxembourg Tel: +352 021 221 427 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Olivier Billard Sent: jeudi 22 avril 2004 13:27 To: [EMAIL PROTECTED] Subject: Re: Problems wirh session

How to deploy Cocoon 2.1.4 to WebSphere 5.0.2.4

2004-04-22 Thread Roderik UHER
Hello, I am new in the cocoon. Could somebody help me with: How to deploy cocoon 2.1.4 to WebSPhere 5.0.2.4? I tried to I compiled Cocoon in SUN jdk 1.3.1_11 and made cocoon.war. I was able to deploy it into Tomcat an JBoss. I then tried to deploy it with WebSphere Administrative Console

?cocoon-format type=text/html in html-file

2004-04-22 Thread Ingrid Nagel
Hi, I have a problem with PI ?cocoon-format type=text/html appearing in resulting html-file as first line: ?cocoon-format type=text/html html xmlns:xsp=http://www.apache.org/1999/XSP/Core; head ... Some browsers don't accept it. I saw the FAQ hint Why doesn't xsl:output work? dealing with

jpath transformer

2004-04-22 Thread beyaNet Consultancy
Hi, could someone please inform me as to the correct usage of the jpath transformer. Can I use it as I would an xslt transformer and and declare a *.jpath file, which like its xsl counterpart, would handle styling issues? For example, could I do the following: map:match pattern=frame/*/*/*>

Re: ?cocoon-format type=text/html in html-file

2004-04-22 Thread Frank Taffelt
this looks like some old cocoon1 stuff. look into start.xsl, you will find something like: xsl:processing-instruction name=cocoon-formattype=text/html/xsl:processing-instruction/ remove this line. hth, Frank - Original Message - From: Ingrid Nagel [EMAIL PROTECTED] To: [EMAIL

Runtime problems with FOM - using samples

2004-04-22 Thread John Spackman
I'm having problems with using Eclipse with the Cocoon sources (v2.1.4 and a nightly build from last week). Using the standard build and cocoon servlet works fine but when Eclipse compiles runs the code I get the following error in the standard fom_system.js when using the Calculator sample:

jpath transformer

2004-04-22 Thread beyaNet Consultancy
Hi, could someone please inform me as to the correct usage of the jpath transformer. Can I use it as I would an xslt transformer and and declare a *.jpath file, which like its xsl counterpart, would handle styling issues? For example, could I do the following: map:match pattern=frame/*/*/*>

AW: ?cocoon-format type=text/html in html-file

2004-04-22 Thread Ingrid Nagel
Hi Frank, thanks a lot. I didn't see this aold instruction. Ingrid -Ursprüngliche Nachricht- Von: Frank Taffelt [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. April 2004 15:00 An: [EMAIL PROTECTED] Betreff: Re: ?cocoon-format type=text/html in html-file this looks like some

Sax event stream corruption, concurrency bug in 2.1.4?

2004-04-22 Thread Andrzej Jan Taramina
Just wondering if anyone else has experienced something similar in production, under load, using Cocoon 2.1.4. We're finding that every once in a while a sax event stream seems to get corrupted. A user may end up with the XML from another user's session, or the wrong snippet of XML from their

Session Handling: Unlimited Session duration

2004-04-22 Thread Markus Heussen
Hi! For my application I need an unlimited session. The users should never login a second time if they once did it. I use the Cocoon authentication framework to control the users access. How can I set an unlimited session duration even if the user closes his browser? I tried it with

SVN information?

2004-04-22 Thread Carlos Araya
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1 Good morning: I was looking for information about the svn repository for Cocoon andcouldn't find anything on the website. The only information aboutcommitts I did find talks about CVS and the mail archives don'tmention SVN at all as far as

Re: Session Handling: Unlimited Session duration

2004-04-22 Thread Upayavira
Markus Heussen wrote: Hi! For my application I need an unlimited session. The users should never login a second time if they once did it. I use the Cocoon authentication framework to control the users access. How can I set an unlimited session duration even if the user closes his browser? I

Re: SVN information?

2004-04-22 Thread Upayavira
Carlos Araya wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Good morning: I was looking for information about the svn repository for Cocoon and couldn't find anything on the website. The only information about committs I did find talks about CVS and the mail archives don't mention SVN

RE: Session Handling: Unlimited Session duration

2004-04-22 Thread Markus Heussen
Thanks Upayavira for your hints :-) I will do it like you said. Markus -Original Message- From: Upayavira Sent: Thursday, April 22, 2004 4:33 PM To: [EMAIL PROTECTED] Subject: Re: Session Handling: Unlimited Session duration Markus Heussen wrote: Hi! For my application I

Running Cocoon from CD

2004-04-22 Thread Michael Faschinger
Hello everyone! I just try to set up Tomcat(4.0.6) + Cocoon (2.0) to run from CD. Tomcat works perfectly fine but cocoon won't work as it tries to write some files (WEB-INF\db\commondb.*) to the CD. Is there a way to avoid this? Are there any further problems that might appear? I am not using

Re: Running Cocoon from CD

2004-04-22 Thread Ivo Limmen
Hi, Configure Cocoon+Tomcat to use a TEMP directory on the hard-drive and everything should work fine. Michael Faschinger wrote: Hello everyone! I just try to set up Tomcat(4.0.6) + Cocoon (2.0) to run from CD. Tomcat works perfectly fine but cocoon won't work as it tries to write some files

Re: Running Cocoon from CD

2004-04-22 Thread gounis
hi .. this is an interest thread can i make some questions? Tomcat and cocoon need a JVM what happend if the client machine does not have JVM already installed? i have make some tries puting a JVM in the CD with tomcat and cocoon. the startup string set path and java_home just before start the

Re: Running Cocoon from CD

2004-04-22 Thread Michael Faschinger
Hi Tomcat and cocoon need a JVM what happend if the client machine does not have JVM already installed? i have make some tries puting a JVM in the CD with tomcat and cocoon. the startup string set path and java_home just before start the container jetty in my case. But in this approach

xhtml:p

2004-04-22 Thread storerka
I have cocoon powering my website, which is working beautifully. I am now attempting to use Lenya for content management. However, the html for Lenya comes out weird.All of the outputed tags include xhtml: for example instead of p it outputs xhtml:p Any ideas of what I can do to fix this.

Re: xhtml:p

2004-04-22 Thread Jean Pierre LeJacq
On Thu, 22 Apr 2004 [EMAIL PROTECTED] wrote: I have cocoon powering my website, which is working beautifully. I am now attempting to use Lenya for content management. However, the html for Lenya comes out weird.All of the outputed tags include xhtml: for example instead of p it outputs

Re: xhtml:p

2004-04-22 Thread storerka
Not sure exactly what the versions are. All of the invloved software was obtained via the new newest binaries of cocoon and lenya that were available a few months ago. The configuration is and serializer are all the defaults that came with the binary distributions. Thanks On Thu, 22 Apr 2004

Re: Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread laurent_rorive
Dear Upayavira, this is not a question of generator but more a question of serializer I think Upayavira [EMAIL PROTECTED] 22/04/2004 10:42 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: Transofrmer from Invalid HTML to XHTML or XML [EMAIL

Passing parameters to aggregation parts

2004-04-22 Thread Carlos Dias
Hi, In my sitemap a have the following code fragment: map:aggregate element="page" map:part src="" strip-root="false"/ map:part src="" strip-root="false" map:parameter name="user_id" value="{1}"/ map:parameter name="app_id" value="{2}"/ /map:part/map:aggregate When I try to access

Re: Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread Upayavira
[EMAIL PROTECTED] wrote: Dear Upayavira, this is not a question of generator but more a question of serializer I think Well, what you want to do is use the HTMLGenerator to read in the HTML, and then serialize it as XML or as XHTML. You can't serialize HTML directly, as you can't use it

Re: Passing parameters to aggregation parts

2004-04-22 Thread Jorg Heymans
Carlos Dias wrote: Hi, In my sitemap a have the following code fragment: map:aggregate element=page map:part src=conf/reportmenu.xml strip-root=false/ map:part src=cocoon:/select_bookmark_list.xsp strip-root=false map:parameter name=user_id value={1}/ map:parameter

[portal] Using bookmarks for named-items' urls

2004-04-22 Thread Alex Romayev
Hi, I keep running into problems using default navigation provided with tabs via @parameter for named-items. Instead I'd like to use bookmarks (I find that using bookmarks only works more consistently). Now, I've tried adding my own parameter like: named-item parameter name=bookmark

Re: Running Cocoon from CD

2004-04-22 Thread Michael Faschinger
Hi, Configure Cocoon+Tomcat to use a TEMP directory on the hard-drive and everything should work fine. that's right what I wanted to do, but where do I set these parameters? Thanks, regards, Michael - To unsubscribe,

Re: Passing parameters to aggregation parts

2004-04-22 Thread Carlos Dias
Jorg, Thanks for the answer, but still doesn't work!! CDias - Original Message - From: Jorg Heymans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 22, 2004 6:35 PM Subject: Re: Passing parameters to aggregation parts Carlos Dias wrote: Hi, In my sitemap a have the

Re: Bean as datasource

2004-04-22 Thread toto
Craig Christophersen wrote: Hello; I need to be able to use an Entity bean (or other object) as a datasource rather than using a direct connection to the database or a file. Any info on setting that up would be helpful. Thanks, Craig Christophersen Software Developer (406)533-6750 [EMAIL

Re: Running Cocoon from CD

2004-04-22 Thread Joerg Heinicke
On 22.04.2004 17:02, Michael Faschinger wrote: Hello everyone! I just try to set up Tomcat(4.0.6) + Cocoon (2.0) to run from CD. Tomcat works perfectly fine but cocoon won't work as it tries to write some files (WEB-INF\db\commondb.*) to the CD. Is there a way to avoid this? Are there any further

[FLOW] Bug in cookie handling?

2004-04-22 Thread Markus Heussen
Hi! Is there a known bug in the Cocoon cookie handling within a flowscript? I created a cookie using cocoon.response.addCookie(cocoon.response.createCookie(test, test)); and tried to get it from the request doing the following: 1. cocoon.log.debug(cocoon.request.getCookies()); --

Components, hibernate, etc. (was Re: Access servlet context attribute: how?)

2004-04-22 Thread Mark Lundquist
Revisiting this after a few weeks... :-) On Mar 31, 2004, at 11:48 PM, Jean-Christophe Kermagoret wrote: Mark Lundquist wrote: OK, so I would like to pass a parameter in to my Cocoon application via a context attribute (because I can set that in my Jetty configuration file). How do I access

RE: Components, hibernate, etc. (was Re: Access servlet context a ttribute: how?)

2004-04-22 Thread Roth, Scott
Revisiting this after a few weeks... :-) On Mar 31, 2004, at 11:48 PM, Jean-Christophe Kermagoret wrote: Mark Lundquist wrote: OK, so I would like to pass a parameter in to my Cocoon application via a context attribute (because I can set that in my Jetty configuration file).

cocoon.dat in cache-dir keeps growing ?

2004-04-22 Thread Stefan Geelen
Hi, currently our new website built on Cocoon (2.1.4. with Tomcat 5.0.19 on Linux) is 3 weeks in production. Everything is running smoothly accept for one problem: Appareantly the cocoon.dat file keeps growing. It is currenty 95 MB (!) and it seems to keep growing at +/- 15 MB per week.

Re: Passing parameters to aggregation parts

2004-04-22 Thread Jorg Heymans
what does your map:match look like? Carlos Dias wrote: Jorg, Thanks for the answer, but still doesn't work!! CDias - Original Message - From: Jorg Heymans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 22, 2004 6:35 PM Subject: Re: Passing parameters to aggregation parts

Re: Components, hibernate, etc. (was Re: Access servlet context attribute: how?)

2004-04-22 Thread Ugo Cei
Il giorno 22/apr/04, alle 22:15, Mark Lundquist ha scritto: I know the answer should be simple: to be a client of ContextManager, just be an Avalon component that implements Serviceable, then you get your ServiceManager from service() and you can call

RE: cocoon.dat in cache-dir keeps growing ?

2004-04-22 Thread Corin Moss
Title: Message Hi There, What version of the store are you using? JISP, or JCS? I know there is a JCS issue similar to this. Let me know :) Corin -Original Message-From: Stefan Geelen [mailto:[EMAIL PROTECTED] Sent: Friday, 23 April 2004 8:47 a.m.To: [EMAIL

Re: Bean as datasource

2004-04-22 Thread Craig Christophersen
Thank you toto, and thank you Upayavira as well. Here is a bit more detail. After looking at the BetwixtTransformer I don't think it fits my needs because what I will get in an EJB or other object will be well formed xml, as a String. Where I am hung up is how to get that as the src in a

Re: Bean as datasource

2004-04-22 Thread Upayavira
Craig Christophersen wrote: Thank you toto, and thank you Upayavira as well. Here is a bit more detail. After looking at the BetwixtTransformer I don't think it fits my needs because what I will get in an EJB or other object will be well formed xml, as a String. Where I am hung up is how to get

[Sitemap] auth-protect action - bug or feature?

2004-04-22 Thread Markus Heussen
Hi all! If I call my following protected pipeline the result is a 404 page not found error. I thought the right behavior is to redirect automatically to the login resource?? Is it a bug or am I doing something wrong? I am using Cocoon from the few days old CVS Head under SDK1.4.2 and TC 4.1.30.

Removing a selectionList

2004-04-22 Thread Joe Latty
I am using the on-value-changed event for a field to do some validation . If the value has a direct code match I leave the value if, however, there is more than one match I return a selectionlist and have the user choose from the list. This is all working well, however, when the user selects

Querying A Repository of XML Files...Or, How To Do Portal Objects

2004-04-22 Thread David Swearingen
(Sorry for the length of this post, but I think it highlights some classic issues that others may encounter so I thought it was worth being specific.) I'm building a web application -- not unlike a "portal" -- that contains mostly text content in files, and part of it requires me to solve a

Re: [Sitemap] auth-protect action - bug or feature?

2004-04-22 Thread Joe Latty
Try map:match type=wildcard pattern=secure/** map:act type=auth-protect map:parameter name=handler value={global:handler}/ !-- logout function -- map:match type=wildcard pattern=secure/logout map:call function=logout

Re: Running Cocoon from CD

2004-04-22 Thread Ivo Limmen
Hi, Check the documentation of Tomcat. I know that jetty uses the property of the system 'java.io.tmpdir'. Tomcat 4 uses CATALINA_TEMP variable in it's startup script for this. Other versions of Tomcat (like 3 in particular) might work differently. You might want to search on the net on setting

Re: Binding form to selected element of XML

2004-04-22 Thread Marc Portier
Tony Edwards wrote: Hi people, I'm progressing nicely with my journey down the enlightened path of Woody/CForms, incorporating more of its wonderful features as I go. I'm now at the stage where I'd like to bind the content of a CForm to a selected element of a large XML document. Is there any

Re: Removing a selectionList

2004-04-22 Thread Marc Portier
Joe, this is a clear feature-request (and a very sensible one) pls add it to bugzilla -marc= Joe Latty wrote: I am using the on-value-changed event for a field to do some validation . If the value has a direct code match I leave the value if, however, there is more than one match I return a