Re: xml-schema / validate forms

2001-10-25 Thread Martin Man
On Wed, Oct 24, 2001 at 10:40:07AM +0200, Kenneth Petersen wrote: Hi all! I was wondering why efforts have been made to generate and maintain the FormValidatorAction. Why not just use xml-schemas and xml-validation to validate input from froms? the effort was put there (by me as the

Re: how to implement a dynamic sitemap?

2001-10-25 Thread Martin Man
On Thu, Oct 25, 2001 at 12:03:06AM +0200, Christer Lindh wrote: As far as I've understood C2, there is now a quite static sitemap which tells what request gets what XSL. This is too static for my needs, I would like to do a bunch of calculations and then decide on what XSL to use. Is there any

Re: Help needed Passing Parameters

2001-10-25 Thread Martin Man
hi, your example is not going to work at all, ..., i suggest you to take a look at java source code generated from xsp page, this code is located somewhere in tomcat/work/localhost*/cocoon/org/apache/www/...your_xsp.java, you'll find there that element person-colour and Java variable

Re: Help with form validation

2001-09-17 Thread Martin Man
On Mon, Sep 17, 2001 at 03:47:54PM +0300, beje wrote: Hi, I have n dinamicaly generated (and identical) forms to fill-in; on submition I'd like to validate them by using just a descriptor file whitch contains just 1 form (since all are the same). Is there a way to achieve that ? sure

Re: Q: DB-password clear text?

2001-08-28 Thread Martin Man
On Tue, Aug 28, 2001 at 11:21:45AM +0200, Enke Michael wrote: Hi! Is there a possibility or would it be easy to implement to have the DB password encrypted in some kind (in *.xsp or cocoon.xconf)? as long as the direct JDBC connection requires plaintext passwords (and yes all existing JDBC

Re: how to view the generated xml ?

2001-08-27 Thread Martin Man
On Mon, Aug 27, 2001 at 12:14:28PM +0300, Andrei Bejenaru wrote: I would like to check the XML generated from a XSP. How can I do it? append ?cocoon-view=content to the URL, and then see the source returned, presumming you have corectly configured views in your sitemap rgds, martin --