Validation Forms

2005-10-05 Thread zze-Urbanisme BECOT S ext RD-TECH-REN
Bonjour, j'utilise les forms dans Cocoon 2.1.7 et je m'y pert un peu. Mon, formulaire s'affiche correctement et s'initialise bien. Par contre quand je fais un submit je n'intercepte aucun event dans mon form event handler. De plus, à un moment lorsque mes champs requis étaient vides, et quand les

RE: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Max Pfingsthorn
Hi everyone! ... Where Cocoon can shine IMO with Ajax apps is that a website (not necessarily a webapp) is often split into several subpipelines that are aggregated. With Ajax, each of the areas that are normally aggregated in a full-page rendering model live their lives

[portal] get rid of The coplet foo-1 is currently not available

2005-10-05 Thread Philippe Guillard
Hello, I'd like to get rid of the message pThe coplet foo-1 is currently not available./p when there is an error in a coplet, to get something more user friendly with css style and i18n. What i did : - i did some error handling on content pipeline, as it is seen as an internal pipeline, i

[GT2005] Thursday dinner

2005-10-05 Thread Arje Cahn
Spareribs location [1]: Restaurant Moeders Mooiste ('mum's prettiest') Heinekenplein 5 We meet at 19:00 hours! Hackaton venue closes at 17:00 so you have some time to get there.. Oh, here's the sitemap: [1] http://www.cocoongt.org/binaries/1_map2.png -- Arjé

Problem with Batik and Freebsd

2005-10-05 Thread Jean-Claude Moissinac
When I have this problem, I'm working with Freebsd and Cocoon 2.1.7. When I try to display a JPEG image from an SVG (like in the batik block samples) I get this error: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Johannes Schaefer
Max Pfingsthorn schrieb: snip/ Me me me! :D I had the same idea and I wanted to spend some time on that during the Hackathon tomorrow and the day after. Along the lines of www.google.com/ig and www.netvibes.com. Don't forget that Ajax might be well outside the browser boundries ... e.g.

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Ralph Goers
Derek Hohls wrote: Ralph Can you expand a bit on that statement - you can define a single set of validation criteria that is used to generate whatever validation is performed both client side and server side Do you mean that you are generating =Javascript= from the CForms definition

Re: Problem with Batik and Freebsd

2005-10-05 Thread Aurélien DEHAY
Hello. Jean-Claude Moissinac wrote: When I have this problem, I'm working with Freebsd and Cocoon 2.1.7. When I try to display a JPEG image from an SVG (like in the batik block samples) I get this error: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value

Re: Problem with Batik and Freebsd

2005-10-05 Thread Aurélien DEHAY
Hello. Here is the link about that in install docs: http://cocoon.apache.org/2.1/installing/index.html#UNIX+with+X+server Regards. -- Aurélien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Problem with Batik and Freebsd

2005-10-05 Thread Jean-Claude Moissinac
Thank you for this help. Now, I will try to understand where I have to put the -Djava.awt.headless=trueoption.I'm not using Tomcat, but the basic direct way to install Cocoon 2.1.7.Regards On 10/5/05, Aurélien DEHAY [EMAIL PROTECTED] wrote: Hello.Here is the link about that in install

Cocoon won't build: could not find ant-launcher Java extension for this JVM???

2005-10-05 Thread Sandor Spruit
Folks, I've copied my compiled Cocoon distribution and app to one of our servers (Linux, CentOS 3), and get the following messages: /usr/bin/build-classpath: error: could not find ant-launcher Java extension for this JVM /usr/bin/build-classpath: error: All specified jars were not found

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Sylvain Wallez
Armaz Mellati wrote: -Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 3:22 PM To: users@cocoon.apache.org Subject: Re: AJAX and Cocoon - Design Patterns Where Cocoon can shine IMO with Ajax apps is that a website (not necessarily

Re: Problem with Batik and Freebsd

2005-10-05 Thread Aurélien DEHAY
Jean-Claude Moissinac wrote: Thank you for this help. Now, I will try to understand where I have to put the -Djava.awt.headless=true option. I'm not using Tomcat, but the basic direct way to install Cocoon 2.1.7. Regards If you run cocoon as ./cocoon.sh servlet, just add this option to the

Re: [EMAIL PROTECTED] 9iAS/Linux

2005-10-05 Thread Marcel Glasa
Linux Red Hat 9 (2.4.20-8) Oracle iAS 10g (9.0.4) Cocoon 2.1.6 ** ERRORS IN WEB BROWSER ** Internal Server Error Message: java.lang.NullPointerException Description: org.apache.cocoon.ProcessingException: Failed to

Re: Problem with Batik and Freebsd

2005-10-05 Thread Jean-Claude Moissinac
Many thank's It works On 10/5/05, Aurélien DEHAY [EMAIL PROTECTED] wrote: Jean-Claude Moissinac wrote: Thank you for this help. Now, I will try to understand where I have to put the -Djava.awt.headless=true option. I'm not using Tomcat, but the basic direct way to install Cocoon 2.1.7. RegardsIf

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Derek Hohls
Ah. .So you were actually saying you can define a single set of validation criteria _could be_ used to generate whatever validation is performed both client side and server side Obviously, Cocoon only generates the server side validation code at present - but it seems to me there is no

java.lang.OutOfMemoryError: Java heap space

2005-10-05 Thread Urs Iwert
Hello, In general the system works fine, but when I'm serving large (not huge) files I run into an OutOfMemoryException. The pipeline loads some data from a database. Language translation. Some further transformations corrects or extends the xml structure. Transformation to xsl-fo. Serialization

AW: I18n transformer removes tags

2005-10-05 Thread Urs Iwert
Hello, Yes, I'm using it for presentation, but I'm looking also for a solution where I can have parts of the translated message be formatted in a different way. The idea is more like RTF message. For this reason I must be free to set tags wherever I want and it is not possible to have the message

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Johannes Textor
Derek Hohls schrieb: Ah. .So you were actually saying you can define a single set of validation criteria _could be_ used to generate whatever validation is performed both client side and server side Obviously, Cocoon only generates the server side validation code at present - but it seems

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Johannes Textor
Sylvain Wallez schrieb: I disagree with the statement that Ajax makes CForms obsolete. Even with Ajax, you still need to input some data, validate it and relate it to back-end data. Now the way we interact with forms will change, and rather than filling everything and submitting to see what

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread Ralph Goers
Derek Hohls wrote: Ah. .So you were actually saying you can define a single set of validation criteria _could be_ used to generate whatever validation is performed both client side and server side Obviously, Cocoon only generates the server side validation code at present - but it seems

Re: multiple xpaths

2005-10-05 Thread Geert Josten
Hi David, Here one that doesn't need all the stepping through the modes. But it does require you to put more effort in the configurating file.. IN: ?xml version=1.0? xpaths:xpaths xmlns:xpaths=xpaths xmlns:xhtml=xhtml xpaths:xpath match=xhtml:img xpaths:attribute name=class

Re: java.lang.OutOfMemoryError: Java heap space

2005-10-05 Thread Bertrand Delacretaz
Le 5 oct. 05, à 11:04, Urs Iwert a écrit : ...In general the system works fine, but when I'm serving large (not huge) files I run into an OutOfMemoryException. The pipeline loads some data from a database. Language translation. Some further transformations corrects or extends the xml

Re: AW: I18n transformer removes tags

2005-10-05 Thread Bertrand Delacretaz
Le 5 oct. 05, à 11:05, Urs Iwert a écrit : ...Once more. It must be possible to transfer a well formed message from a message catalogue to my document... The i18n transformer doesn't do that, you'll have to implement your own stuff - if you aggregate your message catalog with your XML,

Re: Cocoon won't build: could not find ant-launcher Java extension for this JVM???

2005-10-05 Thread Upayavira
Sandor Spruit wrote: Folks, I've copied my compiled Cocoon distribution and app to one of our servers (Linux, CentOS 3), and get the following messages: /usr/bin/build-classpath: error: could not find ant-launcher Java extension for this JVM /usr/bin/build-classpath: error: All specified

Re: Cocoon won't build: could not find ant-launcher Java extension for this JVM???

2005-10-05 Thread Sandor Spruit
Upayavira wrote: Sandor Spruit wrote: Folks, I've copied my compiled Cocoon distribution and app to one of our servers (Linux, CentOS 3), and get the following messages: /usr/bin/build-classpath: error: could not find ant-launcher Java extension for this JVM /usr/bin/build-classpath:

Re: flow problem with reload button

2005-10-05 Thread Antonio Fiol Bonnín
Hello, Thank you for replying. I'm using POST. The template for A is: ... ft:form-template action="" method=POST div class=ficha ft:widget id=delrestaurante/ ft:widget id=nuevo/ input type=submit value=GUARDAR cambios style=font-weight: bold;/ ... The template for B (if that matters): ...

Re: flow problem with reload button

2005-10-05 Thread Antonio Fiol Bonnín
2005/10/4, Christoph Hermann [EMAIL PROTECTED]: Christoph Hermann schrieb:Hello, I think your problem is somewhere along formLista = null; // Prepare form B, using the ID for the new or edited record formFicha = createForm(formDefinitionB, bindingURIBPrefix + idRestaurante, datos); Try changing

Re: Cocoon won't build: could not find ant-launcher Java extension for this JVM???

2005-10-05 Thread Ellis Pritchard
Sandor Spruit wrote: I just found out there's an Ant 1.5.4 instance on our server. But I do not have any Ant vars set (ANT_HOME etc.). The installed 1.5.4 runs, but does not like Cocoon's build.xml. It does seem to find a different JVM then the one started when I run java. Could that be the

Re: AW: I18n transformer removes tags

2005-10-05 Thread Jason Johnston
Bertrand Delacretaz wrote: Le 5 oct. 05, à 11:05, Urs Iwert a écrit : ...Once more. It must be possible to transfer a well formed message from a message catalogue to my document... The i18n transformer doesn't do that, you'll have to implement your own stuff - if you aggregate your

Re: Cocoon won't build: could not find ant-launcher Java extension for this JVM???

2005-10-05 Thread Michael Foy
Use the build.sh script supplied with cocoon. This will invoke the ant that comes with cocoon,but first check for system wide ant configuration files in /etc/ant.conf. If this file exists and contains an 'ANT_HOME= ...' line then you need to add --noconfig to the command line to stop the

Multi-page form not keeping state

2005-10-05 Thread Gerry Kaplan
I have an odd problem with a multi-page form. Page one shows a single integer field with validation, a next button and a cancel button. Page two,three,four,five, and six all show a bunch of booleanfields. Depending on what value I put in the field on page1, one of the other 5 pages will be

Re: Multi-page form not keeping state

2005-10-05 Thread Jason Johnston
I have an odd problem with a multi-page form. Page one shows a single integer field with validation, a next button and a cancel button. Page two,three,four,five, and six all show a bunch of booleanfields. Depending on what value I put in the field on page1, one of the other 5 pages will be

Continuation Deletion

2005-10-05 Thread Daniel Curran
I have the following setting in cocoon.xconf : continuations-manager continuation-sharing-bug-compatible=false logger=flow.manager session-bound-continuations=true time-to-live=180 expirations-check type=periodic offset90/offset period90/period

Re: Continuation Deletion

2005-10-05 Thread Jason Johnston
I have the following setting in cocoon.xconf : continuations-manager continuation-sharing-bug-compatible=false logger=flow.manager session-bound-continuations=true time-to-live=180 expirations-check type=periodic offset90/offset period90/period

Re: AJAX and Cocoon - Design Patterns

2005-10-05 Thread J.Pietschmann
Derek Hohls wrote: So you were actually saying you can define a single set of validation criteria _could be_ used to generate whatever validation is performed both client side and server side Well, server side validation might use data which are impractical to download to the client. E.g.

WebDAV issue in 2.1.8

2005-10-05 Thread Gavin Carothers
Hi, getting rather odd behavior from the webdav source. Simplified pipeline: map:pipeline map:match pattern=test map:generate type=xpathtraverse src=webdav://management2/toc-repo/ map:parameter name=depth value=10/ /map:generate map:serialize type=xml/ /map:match /map:pipeline