Re: Removing a selectionList

2004-04-22 Thread Joerg Heinicke
On 23.04.2004 02:03, 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 selectionlist and have the user choose from the list. This is all working

Re: jpath transformer

2004-04-22 Thread Jan Hoskens
I've not yet heard of a jpath transformer, where did you find it? I do know that there's an xsp logicsheet "jpath" that you may use, especially for use with flow. There's another transformer which does jpath/jexl stuff, but that's the JXTemplateTransformer.   http://cocoon.apache.org/2.1/user

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 se

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: 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 t

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

2004-04-22 Thread Joe Latty
Try If the auth-protect action fails the

Binding form to selected element of XML

2004-04-22 Thread Tony Edwards
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 way to programmatically

"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 probl

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 th

[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.

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 th

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 generato

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 PROTE

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 lookup(org.apache.cocoon.webapps.session.Co

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 par

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 w

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 > >> con

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 a

Re: Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread Leon Widdershoven
XML: All tags must be closed. All elements must be known. I think you can put stuff like   and other character codes in a DTD (not sure though, but ought to work) as they are not XML nodes. though will never ever be XML. The appropriate string (xhtml) is , and the browsers I use all accept such

[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()); --> Lorg.apa

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 p

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 PROTECTE

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

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,

[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: ... However, it seems that portal is

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: When I try to access the "user_id" and "app_id" inside the XSP file the values are null, but I OTTOMH : did you try value="../{1}" and value="../{2}" ? Jorg ---

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 within

Passing parameters to aggregation parts

2004-04-22 Thread Carlos Dias
Hi, In my sitemap a have the following code fragment:                               When I try to access the "user_id" and "app_id" inside the XSP file the values are null, but I know that the values are not null. I never see an example of passing parameters to the parts of an aggrega

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 t

Re:

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:

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 it outputs

users@cocoon.apache.org

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 it outputs Any ideas of what I can do to fix this. Thanks, Kirk S

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 ap

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 c

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 (W

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 datab

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 app

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 at

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 tried

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 coc

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 cocoon.sessio

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

AW: 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: in html-file this looks like some "old" cocoon1 stuff. look into

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: If so, does anyone have exa

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:

Re: 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: type="text/html" remove this line. hth, Frank - Original Message - From: "Ingrid Nagel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 2:45 PM Subject: in html-fil

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: If so, does anyone have exa

in html-file

2004-04-22 Thread Ingrid Nagel
Hi, I have a problem with PI appearing in resulting html-file as first line: http://www.apache.org/1999/XSP/Core";> ... Some browsers don't accept it. I saw the FAQ hint "Why doesn't xsl:output work?" dealing with this topic. But the link to "#lostpis" is broken. I use Cocoon 2.1.3, Tomc

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 sett

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 lo

Re: Problems wirh session logicsheet

2004-04-22 Thread Olivier Billard
Try to remove your whitespaces and the ";" : Joseph -- Olivier bremerj wrote: I have a problem (see attached error message) when trying to execute the following piece of code. Joseph ; Anybody an idea of what might be the problem? Thanks, Joseph BREMER iCube Consulting 33, rue du Kiem, Bte 13 L

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 a

RE: Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread Philipp Burkert
Hej, > I have some HTML with special characters as   > 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/ Use the X

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): ÜTest ÄTest So the Ü is encoded to %C3%9C and Ä to %C3%84 but I need %DC for Ü and %C4 for Ä.

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 someone

RE: URLEncoding of special characters

2004-04-22 Thread Carmona Perez, David
You have to configure the serializer encoding like in this sample: ISO-8859-1 -Mensaje original- De: news [mailto:[EMAIL PROTECTED] nombre de Harald Wehr Enviado el: jueves, 22 de abril de 2004 8:35 Para: [EMAIL PROTECTED] Asunto: URLEncoding of special characters I have a probl

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, bu

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: [E

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   that I want to save as valid XML or XHTML. Look at the HTMLGenerator in the HTML block. Upayavira - To unsubscribe, e-mail: [EMAIL P

Transofrmer from Invalid HTML to XHTML or XML

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

Re: Dynamic , individual xsl generation

2004-04-22 Thread Kannan V
Dear Joerg, Thanks  for the reply. >>What's the input, what is"complex", 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

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 :    This seems to force IE to bypass the error obtained on the first call to the document. This is not the better solution but it's working, without to write a specific servlet or modif