RE: Woody and eXist in servlet mode ?

2004-01-29 Thread Laurent Trillaud
Hi Yes I use eXist with cocoon 2.1.4-dev, but ... I run eXist in Servlet mode but not in the same servlet engine than cocoon. Useful if you want to put the database on another computer. And I upgrade to eXist 1.0. It's solving me request cache problem. Laurent Trillaud -Message

RE: [module] how to get cookie?

2004-01-29 Thread Laurent Trillaud
OK, I got it. It's just JXPath syntax. {request:cookieMap/MyCookie/value} return the string. Thanks to Sylvain Wallez for his help. Laurent Trillaud My dream is becoming reality The {request:cookieMap/name} return me just an object instead of the full map with {request:cookieMap} (hope it's

RE: [module] how to get cookie?

2004-01-29 Thread gounis
what cocoon version R U using ? i can not find a cookie input module or its part of request module ? On Thu, 29 Jan 2004, Laurent Trillaud wrote: OK, I got it. It's just JXPath syntax. {request:cookieMap/MyCookie/value} return the string. Thanks to Sylvain Wallez for his help. Laurent

RE: [module] how to get cookie?

2004-01-29 Thread Laurent Trillaud
what cocoon version R U using ? Cocoon 2.1.4-dev i can not find a cookie input module or its part of request module ? Yes it is. Laurent Trillaud OK, I got it. It's just JXPath syntax. {request:cookieMap/MyCookie/value} return the string. Thanks to Sylvain Wallez for his help.

DOCTYPE for the xml serializer

2004-01-29 Thread Lionel Crine
Hi, In the main sitemap of cocoon 2.1 I can set the DOCTYPE-PUBLIC, etc ... map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer DOCTYPE-PUBLICblabla/DOCTYPE-PUBLIC /map:serializer But some time, I don't

[SOLVED] DOCTYPE for the xml serializer

2004-01-29 Thread Lionel Crine
I declared a second serializer. At 11:12 29/01/2004 +0100, you wrote: Hi, In the main sitemap of cocoon 2.1 I can set the DOCTYPE-PUBLIC, etc ... map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer

ArrayIndexOutOfBoundsException!! Bug in Xalan 2.5.1 ?

2004-01-29 Thread Stephanie Zohner
Hi all, I get a RunTimeException due to an ArrayIndexOutOfBoundsException at org.apache.xml.utils.FastStringBuffer.sendNormalizedSAXcharacters(FastStringBuffer.java:1165) when I apply the following xsl-Template on an XML-Attribute which is empty. xsl:template match=page xsl:value-of

Re: Best Practice Woody + Database ?

2004-01-29 Thread Ugo Cei
Philippe Guillard wrote: Is anybody can tell me more about best practices in associating Woody and Database create/updates ? Seems that the choice is between : 1. ModDB actions + Woody without flowscript but actions 2. XSP/ESQL + Woody with flowscript 3. Woody with flowscript calling into a

org.apache.jk.server.JkCoyoteHandler action

2004-01-29 Thread beyaNet Consultancy
I am getting the following error: Jan 27, 2004 3:48:20 PM org.apache.jk.server.JkCoyoteHandler action INFO: RESET which is breaking a hibernate process which immediately proceeds the above mentioned line: - Hibernate 2.1.1 - hibernate.properties not found - using CGLIB reflection optimizer -

Reusing objects, queries, ect for piping through multiple XSLT tr ansformations

2004-01-29 Thread robby . pelssers
Hi, i'm troubled with following problem. At the moment, i write .xsp's which generate an XML-tree using java-objects or SQL for retreiving the correct data to put between the tags. This is then transformed to HTML and most of the time, i generate tables holding the data retreived. I also

Question about my Transformer

2004-01-29 Thread Han Jon Theus
Hello I just implemented a simple transformer with the start method below: public void startElement(String namespaceURI, String localName, String qualifiedName, Attributes attributes) throws SAXException { String newLocalName =

RE: problem with authentication

2004-01-29 Thread Flavio Palumbo
Hi Morley, thanks for your replay, i got it. i was misteking many things in the XSP code. now it works and i can authenticate the user against the DB table as i hoped. making more tests, i tried to point directly a page in the protected area without authenticate myself, where i thought i'd be

Re: Question about my Transformer

2004-01-29 Thread Jorg Heymans
Is there any particular reason why you want to implement this as a transformer? A stylesheet seems to be easier in this case IMHO. If you extend abstractdomtransformer you have access to the Document instance, but i don't know if that makes your problem any easier. Jorg Han Jon Theus wrote:

exists Selector brocken?

2004-01-29 Thread pfennig63-cocoonusers
Dear Cocoon users, I need help in understanding the following xmap snippet -- ... map:selectors default=browser map:selector logger=sitemap.selector.config name=config src=org.apache.cocoon.selection.SimpleSelector / map:selector logger=sitemap.selector.exists

When do I have to restart the servlet engine

2004-01-29 Thread Han Jon Theus
Hi everyone When do I have to restart tomcat ? - changes on sitemap.xmap ? - recompiled java source (new class file) ? - ... Thx for your help Greetings from Switzerland Han J. Theus - Student - To unsubscribe, e-mail:

Re: When do I have to restart the servlet engine

2004-01-29 Thread Jorg Heymans
Han Jon Theus wrote: Hi everyone When do I have to restart tomcat ? - changes on sitemap.xmap ? no - recompiled java source (new class file) ? yes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Question about my Transformer

2004-01-29 Thread Lionel Crine
StartElement is called each time there is a new start Element so there is already a loop. Do not forget to do the same with the endElement method. Lionel At 14:11 29/01/2004 +0100, you wrote: Hello I just implemented a simple transformer with the start method below: public void

AW: When do I have to restart the servlet engine

2004-01-29 Thread Ulrich, Dominik
Hi sitemap.xmap is reloaded after changes. In case of cocoon.xconf: it is necessary to restart cocoon, but not the servlet AFAIK. no idea about java source... Ciao Dominik -Ursprüngliche Nachricht- Von: Han Jon Theus [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. Januar 2004 11:38

Re: AW: When do I have to restart the servlet engine

2004-01-29 Thread Nicolas Toper
New class file: it depends what you do: add a jar, update a jar,... You have in web.xml an allow reload parameters which needs to be true to allox Cocoon to reload itself Le Jeudi 29 Janvier 2004 14:52, Ulrich, Dominik a écrit : Hi sitemap.xmap is reloaded after changes. In case of

Re: When do I have to restart the servlet engine

2004-01-29 Thread Ugo Cei
Han Jon Theus wrote: When do I have to restart tomcat ? - changes on sitemap.xmap ? No. - recompiled java source (new class file) ? Depends on your container's configuration. Tomcat is able to reload classes when they are changed, if you tell him to. Ugo

Antw: Re: When do I have to restart the servlet engine

2004-01-29 Thread Martin Geissler
In Cocoon 2.0.3 I have to restart on changes on i18n catalogs Martin [EMAIL PROTECTED] Donnerstag, 29. Januar 2004 15:32:17 Han Jon Theus wrote: When do I have to restart tomcat ? - changes on sitemap.xmap ? No. - recompiled java source (new class file) ? Depends on your container's

Problem with using File/ImageReader to make zip-entries

2004-01-29 Thread Björn Voigt
Hi Cocooners, i have a pipeline that produces zip-archives. An archive contains a vrml entry and an image. Both entrys are produced by cocoon pipelines (The image is delivered by an file-reader from another url) After getting the zip-File I can read the following message on my console:

multiple match in the sitemap

2004-01-29 Thread Lionel Crine
Hi all, I'm trying to write this : map:when test= a | b /map:when but it's not working. Is it possible ? Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70

Re: multiple match in the sitemap

2004-01-29 Thread Nicolas Toper
Ive tried it but never manager to make it working... Le Jeudi 29 Janvier 2004 16:14, Lionel Crine a écrit : Hi all, I'm trying to write this : map:when test= a | b /map:when but it's not working. Is it possible ? Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22

Features of cocoon

2004-01-29 Thread Anna Bikkina
Hi, I was asked to look for portal servers in the industry . I found cocoon has a interesting mix of XML and the portal features. Can someone please confirm if the following features are available with cocoon. single sign on Search feature( I guess it has lucene integerated) XML data

Re: Features of cocoon

2004-01-29 Thread Nicolas Toper
Le Jeudi 29 Janvier 2004 16:32, Anna Bikkina a écrit : Hi, I was asked to look for portal servers in the industry . I found cocoon has a interesting mix of XML and the portal features. Can someone please confirm if the following features are available with cocoon. single sign on Depends

Re: multiple match in the sitemap

2004-01-29 Thread gounis
using regexp as matching method? --stavros On Thu, 29 Jan 2004, Nicolas Toper wrote: Ive tried it but never manager to make it working... Le Jeudi 29 Janvier 2004 16:14, Lionel Crine a crit : Hi all, I'm trying to write this : map:when test= a | b /map:when but it's not

Re: Features of cocoon

2004-01-29 Thread Anna Bikkina
Thank you for the reply. Please address my concerns mentioned below. I have multiple applications which require logon. I want to make sure if the user logs on one application he does not have to log on again till he logsout. I want to port all the applications to cocoon. Just want to make

RE: Features of cocoon

2004-01-29 Thread Carsten Ziegeler
Anna Bikkina wrote: I have multiple applications which require logon. I want to make sure if the user logs on one application he does not have to log on again till he logsout. I want to port all the applications to cocoon. Just want to make sure that cocoon has this feature of single sign

Re: multiple match in the sitemap

2004-01-29 Thread Lionel Crine
But this is inside a selector. I have found namedPatternsSelector but it's not exactly what I want. At 17:41 29/01/2004 +0200, you wrote: using regexp as matching method? --stavros On Thu, 29 Jan 2004, Nicolas Toper wrote: Ive tried it but never manager to make it working... Le Jeudi 29

RE: problem with authentication

2004-01-29 Thread Morley Howell
Flavio, I've no idea what would cause the exception. It looks like you're using Jetty. I've used the auth fw with cocoon 2.1.3 under tomcat 4.1.27 and the redirects worked fine. Maybe there's some issue with redirects under Jetty? Maybe you could try running under tomcat and see what happens?

Re: Features of cocoon

2004-01-29 Thread Anna Bikkina
Thank you very much for the answers. One other quick question. The support of CMS in cocoon. Has anyone tried it ? I was reading about the Lenya project by apache built on cocoon. Can Lenya and cocoon portal server be integrated to use the WYSIWYG editor? Thanks, Anna On Thursday 29

Authentication-fw: mutliple authentications

2004-01-29 Thread Nesto
Hi! I've set up a web application with the authentication framework (thank you Jens Maukisch for your help!). I've still one little problem that I cannot solve: When I do a correct login I enter the Home page where there is some personalized data. The problem occurs in two cases: 1) the user

[HELP]Unable to get transformer handler for factium/.xsl

2004-01-29 Thread Niels Couvreur at Ithaka
Description:org.apache.cocoon.ProcessingException: Unable to get transformer handler for factium/.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler Ik kan mijn pdf niet openen. Kunt u mij hierbij helpen?! Uw klantnummer: 00444808 Geachte heer

[Woody] repeater add-after

2004-01-29 Thread Jan Hoskens
Hi, I'm wondering how I can easily copy a row in a repeater. If I have a certain row with a row-action that does an add-after, I want to have a new row which has initially the same values. For example: My template is showing this: (let the | define simple text inputs shown by your browser)

Re: Features of cocoon

2004-01-29 Thread Anna Bikkina
Can I port an existing jsp application into cocoon and then add new pages to it using the cocoon portal features. Thanks, Anna. On Thursday 29 January 2004 11:22 am, Anna Bikkina wrote: Thank you very much for the answers. One other quick question. The support of CMS in cocoon. Has anyone

[SOLVED] multiple match in the sitemap

2004-01-29 Thread Lionel Crine
I have created a selector. At 17:09 29/01/2004 +0100, you wrote: But this is inside a selector. I have found namedPatternsSelector but it's not exactly what I want. At 17:41 29/01/2004 +0200, you wrote: using regexp as matching method? --stavros On Thu, 29 Jan 2004, Nicolas Toper wrote:

RE: Action execution in sitemap

2004-01-29 Thread Ralph Goers
As you have discovered, actions are always executed first in a pipeline. You could insert a transformer where you have the action. Ralph -Original Message- From: Jan Hoskens [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 2:47 AM To: [EMAIL PROTECTED] Subject: Action execution

Re: Question about my Transformer

2004-01-29 Thread Andreas Hartmann
Jorg Heymans wrote: Is there any particular reason why you want to implement this as a transformer? A stylesheet seems to be easier in this case IMHO. I talked to Han some days ago, this transformer is just an example to get started. If you extend abstractdomtransformer you have access to the

How do I set session variables from xslt or jxtransforms?

2004-01-29 Thread Joakim Verona
Hello list, I have a XSP file that generates XML by decrypting a string sent in a url parameter. This works, and the XSP generates a XML representation of the decrypted string. Now I would like to pass this generated XML to a transform of some kind, that will extract data and put it in

RE: Big problem with cocoon, wap and authentication fw

2004-01-29 Thread Davide
Hi all; i'm developing the wap part of my own project, but now i'm in a big mess I use Cocoon2.1, Tomcat 5.016 and Openwave 6.2.2 This is the important part of my sitemap: map:match pattern=login map:generate src=content/login.xml/

AW: How do I set session variables from xslt or jxtransforms?

2004-01-29 Thread Markus Heussen
In a first transformation you can create the xml syntax for the second transformer, the session transformer using xslt/xpath functions. look at http://cocoon.apache.org/2.1/developing/webapps/contexts.html you can do something like this: map:match pattern=test map:generate type=file

RE: Large XML File as Generator

2004-01-29 Thread Hugo Burm
You did refer to XSP below, so, is it an XSP or an XML file (are you using file or serverpages in the generator)? An XSP file will be compiled into a Java class which cannot be larger than 64 kb. May be your are including your large XML file into your XSP file. Hugo Burm -Original

Woody: Obtaining selection list label in flow

2004-01-29 Thread Litrik De Roy
All, Does anybody know how to get access to the labels of a selection list when using Woody in combination with flow? When my 'country' selection list returns BE I would like to get the original label Belgium. The class Form has a method generateLabel() but it is used to generate SAX events.

Re: Problem including HTML output of JSP page in XSL

2004-01-29 Thread Joerg Heinicke
On 28.01.2004 17:16, Campeau, Bradford wrote: I am trying to include the HTML output of a JSP page in my XSL using the following statement: xsl:copy-of select=document('http://ahtest.forbes.com/department_home.jsp?namerefer ence=business') / What happens when you access this URL via browser? If

Re: error serving up docbook with cocoon 2.1.3.

2004-01-29 Thread Joerg Heinicke
In general the DocBook transformation works with Cocoon as any other transformation. I had it working on different Cocoon systems. The only problem is, that it takes a bit time to parse the stylesheets (around 30 seconds). But now to your problem: The error message does not point on an error

Re: R: newbie has problems installing cocoon

2004-01-29 Thread Joerg Heinicke
On 29.01.2004 05:28, Guy Worthington wrote: Ok, I get cocoon working, but I don't understand why the apps we had working with cocoon 1 do not work when I drop them in /webapps ... Tomcat gives me a resource not available... Between Cocoon 1 and 2.1 really to much has changed to expect it simply

Re: Question about my Transformer

2004-01-29 Thread Bruno Dumon
On Thu, 2004-01-29 at 18:04, Andreas Hartmann wrote: Jorg Heymans wrote: Is there any particular reason why you want to implement this as a transformer? A stylesheet seems to be easier in this case IMHO. I talked to Han some days ago, this transformer is just an example to get started.

Installing cocoon

2004-01-29 Thread Anna Bikkina
Hi, I am new to cocoon. Trying to install it . It gives compilation error saying ant is not found and javax.jdo.PersistenceManager is not found. can anyone help me to come over this. I tried to add ant to the classpath and place it in the lib directory in cocoon. It still doesnt work. Infact I

Re: ArrayIndexOutOfBoundsException!! Bug in Xalan 2.5.1 ?

2004-01-29 Thread Joerg Heinicke
Never had this exception though I often use normalize-space(). Furthermore 2.1.2 and 2.1.3 use different Xalan versions 2.5.1 and 2.5.2. This error is not related to Cocoon, but to Xalan, so you can first ask there for the problem. But I would make first sure that you have the expected Xalan

Re: Woody: Obtaining selection list label in flow

2004-01-29 Thread Bruno Dumon
On Thu, 2004-01-29 at 19:45, Litrik De Roy wrote: All, Does anybody know how to get access to the labels of a selection list when using Woody in combination with flow? When my 'country' selection list returns BE I would like to get the original label Belgium. The class Form has a method

Re: Problem with using File/ImageReader to make zip-entries

2004-01-29 Thread Joerg Heinicke
I guess you have to buffer this ZIP file and get and set the content-length afterwards. Have a look into the FOPSerializer, it must set the content-length too:

Re: [HELP]Unable to get transformer handler for factium/.xsl

2004-01-29 Thread Joerg Heinicke
Hmm, I don't know to what software this question is related, but it seems to be Cocoon based. The default language on this list is English, but at least German (and of course the Dutch) speaking people can understand the below easily: I can't open my PDF. Can you help me? Now I don't know if

Re: [Woody] repeater add-after

2004-01-29 Thread Joerg Heinicke
Hello Jan, I can't help you much on your particular problem. But you seem to have nested repeaters working. Maybe you could help Mike with his problem he asked yesterday: http://thread.gmane.org/gmane.text.xml.cocoon.user/31386. Joerg On 29.01.2004 16:57, Jan Hoskens wrote: Hi, I'm

Re: Installing cocoon

2004-01-29 Thread Joerg Heinicke
How do you build it? Just build in the root directory of your Cocoon sources and everything should work. Is it possible that you do not use Cocoon's build script? Joerg On 29.01.2004 21:55, Anna Bikkina wrote: Hi, I am new to cocoon. Trying to install it . It gives compilation error saying

Re: Installing cocoon

2004-01-29 Thread Anna Bikkina
I did ./build.sh in the cocoon main directory. It does not find ant jar and jdo jar but then build turned out successful inspite of the errors. When I deployed the war to tomcat and restarted tomcat I got the following errors in the tomcat logs. The examples and other can be accessed though

Re: Installing cocoon

2004-01-29 Thread Joerg Heinicke
Strange. Do you have spaces in your directory name? The error with deli is well-known and you have to exclude the block from build (see install.txt for more info). Joerg On 29.01.2004 23:32, Anna Bikkina wrote: I did ./build.sh in the cocoon main directory. It does not find ant jar and jdo

Re: exists Selector brocken?

2004-01-29 Thread Joerg Heinicke
Indeed strange. Can you do some remote debugging and have a look on why the test fails? Maybe there is a bug, but nothing is known to me. Joerg On 29.01.2004 14:48, [EMAIL PROTECTED] wrote: Dear Cocoon users, I need help in understanding the following xmap snippet -- ...

Re: Installing cocoon

2004-01-29 Thread Anna Bikkina
I changed the local.block.properties and there are no error after restarting tomcat now. What is this deli block used for? I am still having problems during building the war. Thank you for the information. Anna. On Thursday 29 January 2004 05:39 pm, Joerg Heinicke wrote: Strange. Do you

Re: Installing cocoon

2004-01-29 Thread Joerg Heinicke
On 29.01.2004 23:52, Anna Bikkina wrote: I changed the local.block.properties and there are no error after restarting tomcat now. What is this deli block used for? http://wiki.cocoondev.org/Wiki.jsp?page=BlockDescriptions I am still having problems during building the war. I asked for spaced

RE: Reusing objects, queries, ect for piping through multiple XSLT transformations

2004-01-29 Thread Danny Bols
Session session = request.getSession(); session.setAttribute(par1, hello world); String myString = session.getAttribute(par1); xsp:exprmyString != null ? myString : session var not found/xsp:expr -Original Message- From: [EMAIL PROTECTED]

TV Guide w/ Cocoon

2004-01-29 Thread Brent L Johnson
Well I just added the coolest (I think.. of course I wrote it.. so my opinion is a little biased) feature to my new Sentinel app (if you dont know that is check the mailing list archive for my previous anouncement message). I just added integration with XMLTV. A complete TV guide using XMLTV and

Re: WAR file

2004-01-29 Thread beyaNet Consultancy
Problem already solved. thanks anyway. Andrew On 30 Jan 2004, at 00:18, Mark Leicester wrote: Is this what you are looking for? http://cocoon.apache.org/2.1/installing/ index.html#Optional+functionality specifically, build war? On 28 Jan 2004, at 15:55, beyaNet Consultancy wrote: Hi, I am in

A mistake in the tutorial

2004-01-29 Thread SATOH Makoto
Hi, (B (BI found that there is a mistake at (Bhttp://cocoon.apache.org/2.1/userdocs/flow/tutor.html (B (BIn the source of document/guess.jx, action attribute of the form, (Bshould be ${continuation.id}, not ${cocoon.continuation.id}. (B (BIn the whole documentation, I could not found that

Re: A mistake in the tutorial

2004-01-29 Thread SATOH Makoto
In the whole documentation, I could not found that 'cocoon' has the (B property 'continuation' (I'm not sure this is correct) and (B alternately there is the global variable 'continuation' available (B to (B *.jx files. (B (BI found the explanation saying that the 'cocoon' object in the

Re: A mistake in the tutorial

2004-01-29 Thread SATOH Makoto
Oh! I found the following comments in JXTemplateGenerator.java. (B (B * The current Web Continuation from the Flowscript (B * is also available as a variable named codecontinuation/code. You (Bwould (B * typically access its codeid/code: (B (BSo, we should use 'continuation.id' in *.jx

Re: org.apache.jk.server.JkCoyoteHandler action

2004-01-29 Thread beyaNet Consultancy
It is related as hibernate is running within cocoon. A few tweaks to cocoon have now rectified the situation. Andrew On 29 Jan 2004, at 12:14, Jorg Heymans wrote: how is this related to cooon? hibernate or tomcat lists seem more appropriate here. beyaNet Consultancy wrote: I am getting the