Re: BlueXML : un CMS basé sur le portail Cocoon

2005-02-24 Thread Jean-Christophe Kermagoret
Frédéric, BlueXML fournit des outils pour monter sans programmation une application de gestion documentaire. Une application exemple, constituée des sources du site http://www.bluexml.org, utilisable théoriquement 'tel quel', est fournie. Tu peux ensuite la faire évoluer et définir tes

Re: cocoon et postgresql : problème d'accent

2005-02-24 Thread Jean-Baptiste Quenot
* Cathérine GOURGUET: La base de données est en SQL_ASCII, et j'ai bien encoding=ISO-8859-1 dans mon XSL. Le jeu de caractères est situé sur la déclaration XML pour les caractères contenus dans la feuille de style: ?xml version=1.0 encoding=ISO-8859-1? On peut également jouer sur les options

Is it a bug in the cron block?

2005-02-24 Thread Frank Rennekamp
Hi, I tried to use the cron block and found some difficulties. Before I forget it, I'm working with cocoon 2.1.6, java SDK 1.4.2, tomcat 5.0.28 and linux (debian). Activating the cron block with standard values in the cocoon.xconf worked fine. But I wanted to save the cron jobs in a database,

writing PDF file to filesystem

2005-02-24 Thread Alex Kachanov
Hi! I'm using Cocoon to convert docbook xml files to html and pdf HTML files are created chunked and are put into a directory so they would be avalable to the web-site isitors without any further on-the-fly conversion by Cocoon I managed to run cocoon cron component which makes html

Re: Is it a bug in the cron block?

2005-02-24 Thread Leszek Gawron
Frank Rennekamp wrote: Hi, I tried to use the cron block and found some difficulties. Before I forget it, I'm working with cocoon 2.1.6, java SDK 1.4.2, tomcat 5.0.28 and linux (debian). Activating the cron block with standard values in the cocoon.xconf worked fine. But I wanted to save the cron

Re: Flowscriptproblem - Syntax Error

2005-02-24 Thread Frank Taffelt
AFAIK the function name import ist used by javascript engine itself. try to rename your function. hth Frank - Original Message - From: Claus Straube To: users@cocoon.apache.org Sent: Wednesday, February 23, 2005 7:24 PM Subject: Flowscriptproblem - Syntax Error Hello, I always get

Re: writing PDF file to filesystem

2005-02-24 Thread Alex Kachanov
could you please share this piece of code with community? - with best wishes Alex Kachanov - Original Message - From: Geert Josten [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Thursday, February 24, 2005 6:05 PM Subject: Re: writing PDF file to

Re: writing PDF file to filesystem

2005-02-24 Thread Geert Josten
How and where? I could just send the piece of code, but there must be a better way I guess.. Cheers Alex Kachanov wrote: could you please share this piece of code with community? - with best wishes Alex Kachanov - Original Message - From: Geert Josten

[JOBS] Java Developers in Moscow, Russia

2005-02-24 Thread Konstantin Piroumian
Hi all! Haven't been here for ages! Glad to see that Cocoon development still goes on. Hopefully, I'll be back some day. Our company - OILspace Inc.* - has several open Java Developer/Team Leader positions in Moscow, Russia. I am posting this to Cocoon mailing and for a wider audience at Apache

Re: writing PDF file to filesystem

2005-02-24 Thread Upayavira
Geert Josten wrote: Hi, I would suggest using a source writing transformer. Unfortunatily does the SourceWritingTransformer not support writing of non-xml stream. Doesn't it? It allows you to specify the serializer. I've never used it, but I've seen the code there. By default it uses the XML

Re: writing PDF file to filesystem

2005-02-24 Thread Alex Kachanov
Hi! Are you sure this should be a transformer, not a serializer? Since in the XML-FO-PDF pipeline pdf file is created at fo2pdf serializer stage what would a Sourcewrite Transformer write to the disk? an FO file? But I need a PDF file which is the result of FoToPdf conversion done by fo2pdf

[help] database connection

2005-02-24 Thread Rajesh.Arra
Hi, I am trying to connect to Access database with following commands Web.xml init-param param-nameload-class/param-name param-value !-- For PostgeSQL Database: -- postgresql.Driver !-- For Oracle Database: -- oracle.jdbc.driver.OracleDriver !-- For Access

Re: [help] database connection

2005-02-24 Thread Chris. Grobmeier
init-param param-nameload-class/param-name param-value !-- For PostgeSQL Database: -- postgresql.Driver !-- For Oracle Database: -- oracle.jdbc.driver.OracleDriver !-- For Access Database: -- sun.jdbc.odbc.JdbcOdbcDriver /param-value

AW: [help] database connection

2005-02-24 Thread Jos Ferreiro - TSSAG
Hi Rajesh, At first sight I may say that when you are connecting to a database the fields user and password have to be defined (mandatory) in your cocoon.xconf they are commented. Moreover driver for Access database has to specified. Did you install them? (Please notice: I never worked with

livesite kyverneio.gr

2005-02-24 Thread gounis
hi all after a long time we have another one cocoon based static web site live http://www.kyverneio.gr - cafe bar KYVERNEIO the box p4 2.4MHz 1G RAM redhat linux tomcat 4.1.30 cocoon 2.1.6 regards -stavros - To

AW: livesite kyverneio.gr

2005-02-24 Thread Jos Ferreiro - TSSAG
FYI: I am using the following link: http://www.kyverneio.gr/Index.xhtml?locale=en under Firefox 1.0 and cannot access your web site. I send you what I may read in the screen. --- This XML file does not appear to have any style information associated with

Re: livesite kyverneio.gr

2005-02-24 Thread Andrea Vagliengo
Hi, I use Mozilla 1.7.5 and cannot see anything but: --- This XML file does not appear to have any style information associated with it. The document tree is shown below. html body/ /html --- Andrea

Re: livesite kyverneio.gr

2005-02-24 Thread gounis
thnx for your replies this is the first using cocoon 2.1.6 (until know we use 2.0) and we have notice some problems i'll report all problems later --stavros On Thu, 24 Feb 2005, Andrea Vagliengo wrote: Hi, I use Mozilla 1.7.5 and cannot see anything but:

Re: writing PDF file to filesystem

2005-02-24 Thread Markus Vaterlaus
Hello Alex, hi list, I had a similar problem. I had an application which contains a lot of xml files which are published in different channels like xml, html and pdf. I solved the problem by using a bit of UNIX scripting and wget. In cocoon I defined a couple of pages which contain links to the

Re: writing PDF file to filesystem

2005-02-24 Thread Aurlien DEHAY
Hello Markus Vaterlaus wrote: Hello Alex, hi list, I had a similar problem. I had an application which contains a lot of xml files which are published in different channels like xml, html and pdf. I solved the problem by using a bit of UNIX scripting and wget. In cocoon I defined a couple of pages

Accessing the database

2005-02-24 Thread Rajesh.Arra
Hi, Where I have to write code (below) for accessing the data from database. I configured web.xml, cocoon.xconf, sitemap.xmap for mysql server page titleHello/title content paraThis is my first Cocoon page filled with sql data!/para execute-query

AW: Accessing the database

2005-02-24 Thread Jos Ferreiro - TSSAG
Hi Rajesh for more information about mysql look here: http://wiki.apache.org/cocoon/MySQL I suggest you also to take a look on this page http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Configuration I think it is easier to connect to your DB. Otherwise investigate the

Re: writing PDF file to filesystem

2005-02-24 Thread Geert Josten
Sharp observation, I hadn't explained how it works.. You simply specify something like: save:file src=cocoon://path-to-pdf target=file://path-to-pdf-on-fs/ The src directs to your fo2pdf pipe, the target attribute to where you want to store it. The transformer replaces the element by a

Servlet integration

2005-02-24 Thread Andrea Vagliengo
Hi all, I have a simple servlet that manages authentication, it takes values from some fields in a form and outputs some user information taken from a database via JDBC query. I'd like to have multi-channel output: HTML or WML, so that the site could be accessed via standard browser just as

Re: writing PDF file to filesystem

2005-02-24 Thread Geert Josten
Hi, Doesn't it? It allows you to specify the serializer. I've never used it, but I've seen the code there. By default it uses the XML serializer, you just need to specify another. Am I missing something? Regards, Upayavira Hmmm it _is_ possible with the SourceWritingTransformer, but only

Re: writing PDF file to filesystem

2005-02-24 Thread Geert Josten
Hi, Hello Alex, hi list, I had a similar problem. I had an application which contains a lot of xml files which are published in different channels like xml, html and pdf. I solved the problem by using a bit of UNIX scripting and wget. In cocoon I defined a couple of pages which contain links to

Re: writing PDF file to filesystem

2005-02-24 Thread Geert Josten
I'm not very confident about the general use of the transformer, so I'll just send the code to you personally (and to any one else who likes)... Cheers Alex Kachanov wrote: could you please share this piece of code with community? - with best wishes Alex

Re: Servlet integration

2005-02-24 Thread Geert Josten
Hi Andrea, You might consider to use your original servlet as a proxy. It handles authentication and redirects the user to the cocoon servlet... It should be possible to do this on a more technical level as well - at least I think I heard that once - but I am not very familiar with HTTP deamon

Validation with java

2005-02-24 Thread Greg
Hello, I have been using cocoon 2.1.4 with tomcat 4 to develop some web forms. I need to run a checksum alogorithm on a value entered into a widget and would like to do this using java as opposed to javascript. I am, however, unsure how to reference a java class from the validation area of the

Re: Validation with java

2005-02-24 Thread Jorg Heymans
Greg wrote: Hello, I have been using cocoon 2.1.4 with tomcat 4 to develop some web forms. I need to run a checksum alogorithm on a value entered into a widget and would like to do this using java as opposed to javascript. I am, however, unsure how to reference a java class from the validation

CForms Binding

2005-02-24 Thread Arsen A. Gutsal
Hello list. I'm using cocoon 2.1.6, and js file for very simple flow taken from cocoon samples: function processForm() { form.createBinding(bindingURI); var document = loadDocument(documentURI); form.load(document);

Re: writing PDF file to filesystem

2005-02-24 Thread Alex Kachanov
Hi, guys! Just solved the problem with good help from Vadim Gritsenko and maillist-archive No troubles with sourceWriteTransformer The solution is elegant and smooth It uses flowscript Right now it's too late in Tokyo so I will post detailed explananion tomorrow

stream in flowscript

2005-02-24 Thread luca morlando
Hi list, I've the following problem with Control Flow: I was able to read a stream in the sitemap using map:match pattern=*/getSomething map:generate type=stream map:parameter name=defaultContentType value=text/xml/ /map:generate ... /map:match But now I need to read the same stream

Re: CForms Binding

2005-02-24 Thread Upayavira
Arsen A. Gutsal wrote: Hello list. I'm using cocoon 2.1.6, and js file for very simple flow taken from cocoon samples: function processForm() { form.createBinding(bindingURI); var document = loadDocument(documentURI); form.load(document);

users-unsubscribe@cocoon.apache.org

2005-02-24 Thread K.P. Thottam
-Original Message- From: K.P. Thottam [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 11:16 AM To: users@cocoon.apache.org Subject: [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

RE: Best practice for conditionally displaying widgets?

2005-02-24 Thread oceatoon
Indeed you can build your model dynamically but if you have no validation rule on your widgets these can be declared in the model and not be used in the template, in which case you just show one or the other according to the language. (it's not the case if these fields are required or other

need some help on cform - change styling

2005-02-24 Thread beatejung
hi all, i'm very new on cocoon and did some work using cforms. i have a repeater with some rows and want made the widgets of one row fields, the widgets of the other rows should stay simple outputs - or maybe the other way round i thought i could do this using on-action event of an action

Re: Is it a bug in the cron block?

2005-02-24 Thread Vadim Gritsenko
Frank Rennekamp wrote: I tried to use the cron block and found some difficulties. Before I forget it, I'm working with cocoon 2.1.6, java SDK 1.4.2, tomcat 5.0.28 and linux (debian). Activating the cron block with standard values in the cocoon.xconf worked fine. But I wanted to save the cron jobs

javascript in XSL within Cocoon

2005-02-24 Thread Norman Barker
Hi, I am using JBoss 4 and Cocoon 2.1.5.1. When I try to use javascript within XSL to use the javascript function atob() I get the error org.apache.xalan.extensions.ObjectFactory$ConfigurationError: Provider com.ibm.bsf.BSFManager not found I have moved bsf-2.3.0.jar to %JBOSS_HOME%/lib, and

Re: Validation with java

2005-02-24 Thread Scott Yeadon
The validation appears to only support Javascript, however there's a simple way around this: Create a JavaClassValidatorBuilder which operates the same way as the ListenerBuilder: package my.package; import java.lang.Exception; import org.apache.cocoon.forms.formmodel.WidgetDefinition; import

Re: AW: Debug cocoon applications

2005-02-24 Thread Sylvain Wallez
Markus Vaterlaus wrote: Hello Oleg, hi list, I tried some of their plug ins and they are quite useful and interesting. Maybe there are quite a few other plug ins out there which support you whilst you work with cocoon. Furthermore there are over a dozen or so plug ins floating around that support

Parameterization in a SOAP Call

2005-02-24 Thread Barodawala, Ali
Hello All, I'm using a SOAP call within an XSP which (abbreviated) looks like this.. soap:call url=http://10.104.115.1:7078/webservices/quoteprice/QuoteSearch; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; m:quickSearch

RE: stream in flowscript

2005-02-24 Thread Conal Tuohy
luca morlando wrote: I've the following problem with Control Flow: I was able to read a stream in the sitemap using map:match pattern=*/getSomething map:generate type=stream map:parameter name=defaultContentType value=text/xml/ /map:generate ... /map:match But

kthottam@buchanan.com:users-unsubscribe@cocoon.apache.org

2005-02-24 Thread K.P. Thottam
[EMAIL PROTECTED] : [EMAIL PROTECTED] -Original Message- From: K.P. Thottam [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 11:16 AM To: users@cocoon.apache.org Subject: [EMAIL PROTECTED] -Original Message- From: K.P. Thottam [mailto:[EMAIL PROTECTED] Sent:

Re: users-unsubscribe@cocoon.apache.org

2005-02-24 Thread David Crossley
You send to send email to: [EMAIL PROTECTED] rather than to users@cocoon.apache.org --David On Thu, Feb 24, 2005 at 10:15:42AM -0600, K.P. Thottam wrote: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For

webmail problem

2005-02-24 Thread Johnson
Hi! I'm trying to use the webmail sample,I put the mail.jar to the lib dir,and I set the sitemap to map:parameter name="store-urlname" value="imap://''mail-userid'':''mail-passwd''@192.168.10.7"/ (I've a IMAP server in the address) When I login, It show a blank screen only. I'm using the

JSR-168 portlets content resetting?

2005-02-24 Thread jason_coyle
I've been trying to get JSR-168 portlets working inside Cocoon. I've gotten the pluto testsuite portlet rendering and working. I've gotten the Cocoon JSR-168 portlet working. All the links within a portlet seem to work as expected. However, right now, clicking a link on any portlet will cause all

Maths functions in a stylesheet?

2005-02-24 Thread Derek Hohls
If any XSLT gurus could help with this... I have a maths functions stylesheet, adapted from another source - ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:xalan=http://xml.apache.org/xalan; xmlns:maths=http://www.mydomain.com/maths;

Re: JSR-168 portlets content resetting?

2005-02-24 Thread Ralph Goers
[EMAIL PROTECTED] wrote: I've tried uncommenting anything related to marshalling JSR168 events in cocoon.xconf, but without any success. All the other code is vanilla; I haven't changed any of the profiles/coplet*/portal.xml files or the WEB-INF/portlet.xml files in the other applications. If

AW: Flowscriptproblem - Syntax Error

2005-02-24 Thread Claus Straube
Hello, that was the reason. Thank you for the hint. Best regards - Claus __ Claus Straube Francéstrasse 31 80997 München +49 (089) 14 16 682 = -Ursprüngliche Nachricht- = Von: Frank Taffelt [mailto:[EMAIL PROTECTED] = Gesendet: Donnerstag, 24.