récupérer une connexion exist en cocoon .xconf

2005-12-11 Thread Frédéric Glorieux
Bonjour, Je peux configurer à peu près comme il me faut des connexions xmldb dans concon.xconf, genre driver class=org.exist.xmldb.DatabaseImpl user=admin password=admin type=monInstance database-idCeddre/database-id configuration/home/exist/monInstance/conf.xml/configuration

Re: récupérer une connexion exist en coc oon.xconf

2005-12-11 Thread Pierrick Brihaye
Salut, Frédéric Glorieux wrote: Elles sont disponibles pour par exemple map:generate src=xmldb:monInstance:///db/{1}/ Je suppose que Cocoon configure quelque part certains objets ? Est-ce qu'il y a quelquepart un DatabaseManager répertoriant les instances configurées en cocoon.xconf ?

Re: récupérer une connexion exist en coc oon.xconf

2005-12-11 Thread Frédéric Glorieux
Cette approche est toute théorique Heu, non, elle est expérimentale. Je fais tourner 3 instances Exist avec chacune leur conf et leur fichiers *.dbx, et je suis certain de voir ce que j'y ai mis, avec les utilisateurs dba qui y sont (vu au client JAVA). D'où l'intérêt d'utiliser ces

Re: récupérer une connexion exist en coc oon.xconf

2005-12-11 Thread Pierrick Brihaye
Frédéric Glorieux wrote: Je fais tourner 3 instances Exist avec chacune leur conf et leur fichiers *.dbx, Comment fais-tu ? Ports différents ? Et en fait, c'est plus que logique ? Ce n'est pas à un DatabaseManager de gérer les instances multiples ? Dans l'esprit des specs xmldb, si. On

Re: récupérer une connexion exist en coc oon.xconf

2005-12-11 Thread Frédéric Glorieux
Je suppose que Cocoon configure quelque part certains objets ? Est-ce qu'il y a quelquepart un DatabaseManager répertoriant les instances configurées en cocoon.xconf ? Le DatabaseManager est un singleton dont toutes les méthodes sont statiques. OK, donc si je veux un DatabaseManager

Re: Running a shell script from Cocoon

2005-12-11 Thread Jorg Heymans
i'm sure you could use Runtime.exec() just about anyware you like to call your shellscript. If you need the output of the shell script then i'ld put this call in a generator for example. Yves Vindevogel wrote: Hi, I was wondering if it is possible to run a shell script from Cocoon. The

[CForms] anomaly in 2.1.8 when dynamically generating a form

2005-12-11 Thread Luca Morandini
Folks, I made a dynamically generated form for a project of mine, which happen to use this sitemap fragment: map:match pattern=form-map.html map:generate src=tmp/form-map-template.xml/ map:transform type=forms/ map:transform type=i18n map:parameter

Re: Antw: Create PDF on background

2005-12-11 Thread Derek Hohls
Martin Do you know of any examples that demo this capability: ie use of coocon ant task to run an overnight transform? I am looking to create graphics from a database at fixed intervals and had been wondring how to do this? Thanks Derek [EMAIL PROTECTED] 2005/12/10 04:25:10 PM hello, I