* Frédéric Glorieux:
J'ai eu beaucoup de problèmes pour sortir d'un flow après qu'un
formulaire soit valide
Il faut utiliser FOM_Cocoon.suicide() dans cette version, qui est
devenu cocoon.exit() dans Cocoon 2.1.8.
--
Jean-Baptiste Quenot
http://caraldi.com/jbq/
Bonjour,
j'ai un transformeur xsl qui reçoit un paramétre. La valeur de ce
paramétre est modifiée dans le xsl. Je veux recupérer cette valeur juste
apres la sortie du transformeur dans une fonction de mon flowscript.Si
quelqu'un a une idée?
Cordialement,
J'ai eu beaucoup de problèmes pour sortir d'un flow après qu'un
formulaire soit valide
Il faut utiliser FOM_Cocoon.suicide() dans cette version,
:o) pas mal le nom
Si cela devait s'utiliser comme cela dans un flowscript
cocoon.suicide();
je ne pense pas que cela marche
TypeError:
Jacob Bizzoire wrote:
Bonjour,
j'ai un transformeur xsl qui reçoit un paramétre. La valeur de ce
paramétre est modifiée dans le xsl.
Modifiée dans la XSL? Les paramètres et variables d'une XSL sont immutables!
Je veux recupérer cette valeur juste apres la sortie du transformeur
dans une
Frédéric Glorieux wrote:
J'ai eu beaucoup de problèmes pour sortir d'un flow après qu'un
formulaire soit valide
Il faut utiliser FOM_Cocoon.suicide() dans cette version,
:o) pas mal le nom
Si cela devait s'utiliser comme cela dans un flowscript
cocoon.suicide();
je ne pense pas que
cocoon.suicide() ne fonctionne pas effectivement, mais
FOM_Cocoon.suicide() si !
En effet, cela fait quelque chose
org.apache.cocoon.ProcessingException: Attempted to process incomplete
pipeline.
J'ai trafiqué avec mon sitemap pour arriver tout de même sur quelque
chose, mais pas mieux.
Le 7 févr. 06, à 17:09, [EMAIL PROTECTED] a écrit :
...Et, en compilant via:
javac FormFlow.java
=j'ai eu 34 erreurs...
Oui, c'est *un peu* plus compliqué que cela.
Je pense que bricks-cms pourrait t'aider, dans le sens où tout le
système de build est en place, il suffit d'écrire ton code
Bertrand Delacretaz a écrit :
Mais attention, sans connaissances java tu risques de te heurter à un
mur...il serait peut-être plus sage de te limiter au flowscript, ou
d'apprendre java en-dehors de cocoon, ça sera *beaucoup* plus facile.
A mon sens, le flowscript est encore pire, car il ne
C'est justement ce que j'étais en train de faire (flowscript)
Mais, ça ne marche pas...
En fait, j'ai un formulaire multipage dans lequel se trouve un repeater (à la
3e page)
Ce que je voudrais faire c'est initialiser la première ligne de ce repeater.
Voila un extrait de mon fichier xml de
[EMAIL PROTECTED] a écrit :
C'est justement ce que j'étais en train de faire (flowscript)
Mais, ça ne marche pas...
En fait, j'ai un formulaire multipage dans lequel se trouve un repeater (à la
3e page)
Ce que je voudrais faire c'est initialiser la première ligne de ce repeater.
Voila un
Hello
Dans une Action, je range un bean dans un attribut de requête :
req.setAttribute(bean,mybean). Je cherche ensuite à accéder à ses
propriétés depuis la sitemap via l'inputmodule Request, mais ça ne
marche pas, les propriétés semblent toujours vides (alors qu'elles
existent, et sont
Malheureusement, c'est ce j'avais essayé la première et ça ne marche pas
mieux...toujours aucune erreur de générée, mais repeater toujours vide...
Je dois faire une erreur ailleurs...
Merci.
-Message d'origine-
De : Philippe Gassmann [mailto:[EMAIL PROTECTED]
Envoyé : Tuesday, February
Je récapitule:
Voilà ce que j'ai ecrit:
var repeater = form.getChild(page3/all_locus);
repeater.addRow();
var row = repeater.getRow(0);
var field = row.getChild(locus);
field.setValue(6p);
form.showForm(multipage-display-pipeline.jx);
Mais toujours pas OK... :-(
Il y a un message d'erreur ?
[EMAIL PROTECTED] a écrit :
Je récapitule:
Voilà ce que j'ai ecrit:
var repeater = form.getChild(page3/all_locus);
repeater.addRow();
var row = repeater.getRow(0);
var field = row.getChild(locus);
field.setValue(6p);
Laurent Perez wrote:
Hello
Dans une Action, je range un bean dans un attribut de requête :
req.setAttribute(bean,mybean). Je cherche ensuite à accéder à ses
propriétés depuis la sitemap via l'inputmodule Request, mais ça ne
marche pas, les propriétés semblent toujours vides (alors qu'elles
[EMAIL PROTECTED] wrote:
Je récapitule:
Voilà ce que j'ai ecrit:
var repeater = form.getChild(page3/all_locus);
Il faut utiliser form.lookupWidget(page3/all_locus). getChild cherche
uniquement dans les fils directs, alors que lookupWidget interprète le
chemin.
Je sais, c'est subtil
Bonjour à tous.
Possédant de (maigres) connaissances en Java, je me demande s'il est
bien raisonnable de me lancer dans le mélange hibernate/cocoon.
Quelques tutoriels sur le net, je me demandais juste si quelqu'un avait
quelque chose de plus récent ou de mieux que hibernate pour cocoon.
Le but
Le 7 févr. 06, à 20:11, Aurélien DEHAY a écrit :
...Possédant de (maigres) connaissances en Java, je me demande s'il est
bien raisonnable de me lancer dans le mélange hibernate/cocoon...
Sans maîtriser Java, c'est risqué...peut-être que ce qu'a fait Sylvain
sur la base de JDBI serait
Le 7 févr. 06, à 17:49, Philippe Gassmann a écrit :
Bertrand Delacretaz a écrit :
Mais attention, sans connaissances java tu risques de te heurter à un
mur...il serait peut-être plus sage de te limiter au flowscript, ou
d'apprendre java en-dehors de cocoon, ça sera *beaucoup* plus facile.
Bertrand Delacretaz a écrit :
Le 7 févr. 06, à 20:11, Aurélien DEHAY a écrit :
...Possédant de (maigres) connaissances en Java, je me demande s'il est
bien raisonnable de me lancer dans le mélange hibernate/cocoon...
Sans maîtriser Java, c'est risqué...peut-être que ce qu'a fait Sylvain
Bertrand Delacretaz a écrit :
Le 7 févr. 06, à 20:39, Bertrand Delacretaz a écrit :
Le 7 févr. 06, à 20:11, Aurélien DEHAY a écrit :
...Possédant de (maigres) connaissances en Java, je me demande s'il est
bien raisonnable de me lancer dans le mélange hibernate/cocoon...
Sans maîtriser
Juste mon petit grin de sel pour encouragement. Hum... je me suis mis a
java via cocoon, c'est a dire en commencant par faire du XSP, des
actions, puis en changant des petites choses sur les sources de cocoon,
puis j'ai implemente Hibernate. Le plugin pour Eclipse est bien fait et
m'a genere
Bonsoir,
Sans avoir change ma conf (consciemment en tous cas), cocoon ne prend
pas en compte mes changements dans mes pages XSP, traduction ils ne sont
pas recompiles a chaud, pour y remedier je dois supprimer les class
correspondantes dans le WEB-INF/work et redemarrer mon servlet container
Hi,
I struggled with this one myself, I ended up having to use fixed
element names, but being able to assign attributes dynamically using
the following code.
xsp:element name=table
xsp:attribute name=nameesql:get-string column=relname//
xsp:attribute
xsp:element
Hi,
Two weeks ago I asked for help regarding Cocoon performance.
I was pointed in the direction of the JVM as I was running 1.4.2, I
upgraded this to 1.5.0_05 which basically has better garbage
collection management and it proved to be a great improvement of
stability and performance.
Not sure I like the maximised pop-up screen that
happens when you do a search (using the icon). [EMAIL PROTECTED] 2006/02/07 12:26 PM
Hi!This is a Fingerprint portal Auth and Check in/out system writing by Cocoon 2.1.8http://www.erp.tw/cocoon/shb/portaluser:demo pass:demo can login without
Thanks to Jean-Baptiste on the dev list...
OK, now I realise what I missed (bangs head on monitor!)
The datasource is called as follows from flow:function getIndDB() { if (indDatabase == null) { this.indDatabase = new IndDB("inddb"); //get from the cocoon.xconf file } return indDatabase;}and
Hi
Could anybody point me to a web host which provides support and
technical advice for Cocoon (preferably 2.1.8). I've been looking
around and it seems a lot of hosts offer Cocoon, but not expert
advice on running the framework.
Thanks in advance
Tom Roberts
2006/2/7, wangwenzhou wangwenzhou [EMAIL PROTECTED]:
Initialization Problem
Message: org.apache.cocoon.faces.samples.components.taglib.AreaTag
Description:
org.apache.avalon.framework.configuration.ConfigurationException: Could not
load class
Hi there,
What kind of usage are you likely to get?
Are you looking to have a dedicated server or shared hosting?
How much control do you want to have over the cocoon setup?
David.
On 7 Feb 2006, at 12:33, Tom Roberts LUXONLINE wrote:
Hi
Could anybody point me to a web host which
David Bishop wrote:
Hi,
Two weeks ago I asked for help regarding Cocoon performance.
I was pointed in the direction of the JVM as I was running 1.4.2, I
upgraded this to 1.5.0_05 which basically has better garbage
collection management and it proved to be a great improvement of
stability
Hello List!
I asked this a few days ago, but since then, I haven't really
been making progress with this issue, so I'll just ask again:
Does anyone have experience with the definition of role-based
profiles for the cocoon-portal?
It appears that cowarp at the moment does not support
I am struggling to get forms displayed on a server -
UNIX machine running Cocoon 2.1.5 and JDK 1.4
(the same app works **fine** on the development
machine, running the same configuration, as well as
on a Linux server...)
The error message I get when trying to show the form
(filled with data from
hi
i already solved it. It happen because of TCP connection for postgres
is disable and it should enable
tq all
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
first thought:
i think we had this error message when using escaped utf-8 chars...
our source files are encoded in utf-8, and some guy inserted a escaped
#160 in utf 8 with is nbsp; in utf-8 (!ENTITY *nbsp* #160;)
this crashed the forms. didn't figure out why, not enough time, just
threw
Le 7 févr. 06, à 14:37, Derek Hohls a écrit :
...Attempt to output character of integral value 160 that is not
represented in specified output encoding of ...
Might be related to your JVMs running with different default encodings.
The JVM's default encoding can be set with the file.encoding
Hi,
I tried to move some flowscript functionality to a java class/object.
In the formdefinition I have:
fd:action id=publish
fd:labeli18n:text
i18n:key=createblog.Publiceer/i18n:text/fd:label
fd:on-action
java
Hi there,
I've been looking at using CForms and been trying out some of the demos along
with my own forms. I've gotten stuck at binding; I've found a few of the demos
and my own code was throwing the exception:
java.lang.NoSuchMethodError:
Tks Derek, You just like the part which is not
designedby cocoon ;-)
johnson
- Original Message -
From:
Derek Hohls
To: users@cocoon.apache.org
Sent: Tuesday, February 07, 2006 7:16
PM
Subject: Re: A Fingerprint system writing
by Cocoon
Not sure I like
Is postmaster listening on socket (jdbc need it)? - cf postgresql.conf
On Mon, 2006-02-06 at 19:38 +0700, zulhisham abu nawar wrote:
hi...
now i'm trying to integrate cocoon 2.1.8 with postgressql 7.4.11 with
tomcat 5.0.28...My application can run without any errors but it not
select any data
Hi David,
Fixed element names with dynamic attributes works for me. Thanks
for your help. After looking around in Cocoon code, I found that
dynamic element name creation is also supported! Here's a sample:
xsp:element
xsp:param name=name
esql:get-column-name column=1/
There's some data in an xhtml table which I'd like to import to a
database using mysqlimport, or similar. Viewing the xhtml file from a
browser doesn't display all the data--the data I'm after are the
URL's. If I copy/paste from what the browser shows, the URL's aren't
copied, but, of course,
From: THUFIR HAWAT [EMAIL PROTECTED]
Date: Tue, 7 Feb 2006 16:26:58 -0500
There's some data in an xhtml table which I'd like to import to a
database using mysqlimport, or similar. Viewing the xhtml file from a
browser doesn't display all the data--the data I'm after are the
URL's. If I
Description:org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing
statement: exec sp_getRecommendations [EMAIL PROTECTED]: java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect
yes
in postgresql.conf
postgresql 7.4
tcpip_socket = true
postgresql 8.X
listen_addresses = '*'
best regards
johnson
- Original Message -
From: Olivier [EMAIL PROTECTED]
To: users@cocoon.apache.org
Sent: Wednesday, February 08, 2006 3:52 AM
Subject: Re: tomcat and postgresql
On 2/7/06, Andrew Stevens [EMAIL PROTECTED] wrote:
From: THUFIR HAWAT [EMAIL PROTECTED]
Date: Tue, 7 Feb 2006 16:26:58 -0500
There's some data in an xhtml table which I'd like to import to a
database using mysqlimport, or similar. Viewing the xhtml file from a
browser doesn't display all
From: THUFIR HAWAT [EMAIL PROTECTED]
Date: Tue, 7 Feb 2006 19:16:41 -0500
I would need to do an XSLT transform, perhaps using cocoon, to extract
that data?
That's another possibility. Or, if you've got XMLSpy you could open the
URL
in one window, write some XSL in another, and even run it
[EMAIL PROTECTED] wrote:
Description:org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Error
executing statement: exec sp_getRecommendations [EMAIL PROTECTED]:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
done..
tq
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 2/7/06, Andrew Stevens [EMAIL PROTECTED] wrote:
..
Another possibility - I just checked the XML features in
Netbeans and that
can run XSL Transformations. Free download from
http://www.netbeans.org/downloads/index.html
No doubt there's an equivalent Eclipse plugin too.
Great, thanks :)
Stewart, Gary wrote:
Hi there,
I've been looking at using CForms and been trying out some of the demos along
with my own forms. I've gotten stuck at binding; I've found a few of the demos
and my own code was throwing the exception:
java.lang.NoSuchMethodError:
On 2/7/06, Andrew Stevens [EMAIL PROTECTED] wrote:
..
That is, I need to write the transform document, and run it
from the shell?
Yes, with something like
java -jar dir/saxon.jar [options] source-document stylesheet
[params…]
See http://saxon.sourceforge.net/saxon6.5.2/using-xsl.html
..
Is [1] your problem? -
Best Regards,
Antonio Gallardo
[1] http://issues.apache.org/jira/browse/COCOON-1705
Antonio Fiol Bonnín wrote:
Hello,
I am using bindings to edit a certain part of the file. However, I am
trying to get some fields mapped to a completely different part of it.
I think
Tom
Thanks for all the hints and info - as I said, I have never
had this issue before when using forms... but this is the
first time I use them when talking back-and-forth to a database
that is why I thought the issue is there.
I would prefer to find a solution that does not require me to
fix
Le 8 févr. 06, à 00:01, [EMAIL PROTECTED] a écrit :
...java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]Line 1: Incorrect syntax near '.'
Sounds like the SQL being sent to the database server has a syntax
error.
-Bertrand
smime.p7s
Description: S/MIME
I don't think so.
I am executing ldap:execute-query only, and the same pipeline (=ldap
query) works in other places in our application.
It looks more like a binding issue instead, possibly being caused by
absolute xpath expressions pointing outside the context.
--
Antonio
2006/2/8, Antonio
2006/2/8, Derek Hohls [EMAIL PROTECTED]:
PS Is there any good reason to prefer ISO-8859-1 over
UTF-8 ... these seem to be used interchangeably, but I
guess they are not?
They are different.
If your app only uses latin characters, you could use one or the
other. Otherwise, you should use
Antonio
I guess I did - strange that it happens only on the one
server.. maybe UNIX less forgiving than Linux.
Is there a default encoding that Cocoon makes use of?
IOW, if I import or reuse stylesheets from Cocoon samples
etc. will I expect to see these in UTF-8? Can I simply omit
the
58 matches
Mail list logo