Re: SourceWritingTransformer to save jpeg/png to filesystem

2003-11-29 Thread Upayavira
jim basilakis wrote: Hi, Does anyone know how to save a png/jpg generated by .svg file onto the file system. I have been hinted before to use SourceWritingTransformer but does this apply to images as well as simple files? If so, what would I need to do? Would something like this work...

Re: SourceWritingTransformer to save jpeg/png to filesystem

2003-11-29 Thread Sebastian Klamar
* jim basilakis [2003-11-29 06:05 +0100] wrote: > Does anyone know how to save a png/jpg generated by .svg file onto the > file system. I have been hinted before to use SourceWritingTransformer Another hint from me: If it's not important to write the images to file system you can also use the pair

repeat-until for Sitemap Logic -- better solution?

2003-11-29 Thread Sebastian Klamar
Is there any sitemap logic like a repeat-until statement Cocoon offers? (Matchers work like if-then, Selectors like switch-case, with Actions you can also simlutate a if-then afaik...) I need to concatenate the same pipeline several times. How often you concatenate is not static (so I cannot plac

Re: CInclude & XInclude Transformers

2003-11-29 Thread Steve Schwarz
Nacho I found an interesting and (to me) unexpected effect when doing this. The request to the cocoon protocol is the request as you've processed it thus far, so you can use the request to modify the result of the cincluded pipeline as you need. What do you mean with that? The cocoon:// requests

xindice & xml:db samples

2003-11-29 Thread Anders Forsgren
Hi all, How do I get the xmldb block samples working? I found this page, which is as confusing as it is new http://wiki.cocoondev.org/Wiki.jsp?page=XMLIndiceCocoon2.1 I have the cocoon 2.1.4-dev up and running, with the xmldb block included. Do I need to create the 'db' database or any special co

Re: Docs or examples for modular database actions?

2003-11-29 Thread Thomas Nichols
Chris, At 22:31 28/11/2003 +0100, Christian Haul wrote: Steve Schwarz wrote: ModularDb is quite stable and Christian has been very helpful in answering any questions. I can't quite put a finger on what is "wrong" :-D this saves me writing "go ahead, just ask" :-) Thanks! Hope to get some time o

Re: Docs or examples for modular database actions?

2003-11-29 Thread Christian Haul
Thomas Nichols wrote: BTW I've been reading docs on SOFIA recently From salmonllc.com? Looks interesting on paper - RAD for J2EE... Yep. Although I believe Cocoon is well up to the job ;-) and am wondering if we should provide a _second_, less powerful but simpler interface to esql:

Auth.-Framework - using roles

2003-11-29 Thread Jan Wielgus
Hello, I am using the authentication framework to authenticate users and it works fine. But now I would like to add an admin-panel to my application so that new users could be added by an admin. But at the same time, I would like that admin has the same possibilities and rights as other "normal" u

lost session attribute with document()..please help

2003-11-29 Thread Nadia BrĂ¼nning
i have a strange problem: i have an xsp-file result.xsp: .. request.getSession(); insert into user values('','',2,2) when i call this file (http://localhost:/api/result.xsp) the result will be saved in the db without problems but: if i call this file from an xslt-sheet, the db-value f

RE: repeat-until for Sitemap Logic -- better solution?

2003-11-29 Thread Conal Tuohy
> -Original Message- > From: Sebastian Klamar > [mailto:[EMAIL PROTECTED] > Sent: Saturday, 29 November 2003 21:35 > To: Cocoon User Mailinglist > Subject: repeat-until for Sitemap Logic -- better solution? > > > Is there any sitemap logic like a repeat-until statement > Cocoon offers? >

How to show files from database / DatabaseReader problem

2003-11-29 Thread O . Vobejda
Hi, I have a big problem with Database reader. I'd like to make a common stuff - in the database I are stored binary files (table structure looks: (id, content, filename, mimetype) and I'd like to map url "file/234" on the accordant file. Remind, that in the database can be stored everything po