Cocoon book

2002-07-23 Thread gcasper
Just to let you know, the first Cocoon book is now available for order on New Riders. http://www.newriders.com/books/product.asp?product_id ={C3C05052-BE3B-4E06-A60A-13FB40AF58F6} There is also a sample chapter. Guido -- Open Source Group sunShine - Lighting up e:Business ==

Schematron validation

2002-07-23 Thread michael_hampel
Hello, please advise if the I can do the following with Schematron: I want to use Schematron validation with my XML-Forms. eg.: The user has to input a Login Name. For this field I have several error messages: LoginName must not be null, Login Name has to have b

RE: InputModules, map:global-parameters

2002-07-23 Thread Per Kreipke
Barbara, If you meant the section on global params, use Vadim's suggestions. If you meant the InputModules, I believe they're in the scratchpad in 2.0.3. I haven't used them or I'd tell you more :-) Per. > > From: Barbara Post [mailto:[EMAIL PROTECTED]] > > > > Reading this : > > http://marc.t

RE: parse generated xml and react in sitemap (Problem with AbstractSAXSource)

2002-07-23 Thread Vadim Gritsenko
Tammo, This might be some bug. What Cocoon version do you have? Is it 2.0.3? Can you make test case against 2.0.3 demo sitemap, default install, and have your action to pull some cocoon:// source from the demo webapp (cocoon source is also SAX based)? Vadim > From: Tammo van Lessen [mailto:[E

RE: InputModules, map:global-parameters

2002-07-23 Thread Vadim Gritsenko
> From: Barbara Post [mailto:[EMAIL PROTECTED]] > > Reading this : > http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102499709113669&w=2 > only with C 2.1 > > What is the workaround for C 2.0.3 since I need to use a release version ? > :-/ > Thanks a lot. Write an action "set-param". Cal

RE: == I18N question ==

2002-07-23 Thread Vadim Gritsenko
> From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > > I think that this discussion that happened at Forrest project will help you > a little: http://marc.theaimsgroup.com/?t=10240438142&r=1&w=2 or you can simply do something (don't know exactly): ... You can even check ex

Re: Excel generator

2002-07-23 Thread Michael Wechner
Andrew C. Oliver wrote: > But the more important part of my answer was "What do you want on your > generator, and > what do you wish you had on your serializer -- would you like fries > too?" Meaning I need ideas! I'm on the fence, I want some input. I have a friend, and unfortunately

Re: Excel generator

2002-07-23 Thread Michael Wechner
That would certainly be a possible work-around Thanks a lot Michael Litrik De Roy wrote: >FYI, > >This is how I integrate some Excel spreadsheets in a (fairly static) web >site. The data (tennis results) is sent to me as an Excel spreadsheet. (This >is is far from perfect but at least it is b

RE: Excel generator

2002-07-23 Thread Koen Pellegrims
I agree, altough there is a catch... I was going to argument that Microsoft is not known for keeping long-lasting compatibility between document-formats, but when I think about it, Open Source projects tend to evolve very quickly as well. In this case, the best argument I can come up with PRO Gnum

how to use a checkbox with DatabaseUpdateAction

2002-07-23 Thread Simon Price
Is it possible to get DatabaseUpdateAction to write, for example, 'Y' or 'N' into an SQL column according to whether a checkbox is checked/unchecked? The problem is that only "on" (ie. checked) checkboxes submit a value, so is there an easy way to translate this into a Y/N value to go in the DB c

Re: Excel generator

2002-07-23 Thread Litrik De Roy
FYI, This is how I integrate some Excel spreadsheets in a (fairly static) web site. The data (tennis results) is sent to me as an Excel spreadsheet. (This is is far from perfect but at least it is better than a table in an MS Word document. :-) 1) The old way (Before Cocoon, data in Excel 97) B

Re: Excel generator

2002-07-23 Thread Andrew C. Oliver
> > >Yes, and it may be good to provide a standard "out of the box" stylesheet >that does this. > > Well we do have some samples, but its been limited at the moment by kind of a chicken and the egg scenario. The serializer is there, the samples are there but we can't more because we don't hav

Re: Excel generator

2002-07-23 Thread Sven Kuenzler
I'd also prefer the Gnumeric format. That's because it's open source, it's used by other oss project(s) and there are people maintaining documentation for it. So, keeping this format would create some kind of open source synergy. Plus, it would not break apps which depend on the serializer alre

Re: Excel generator

2002-07-23 Thread Andrew C. Oliver
Sorry if it sounds like I'm hounding on this issue, but its very helpful. And you find the gnumeric format preferrable to striving for Excel 2000 XML format compatibility? (with the understanding that If I did do the generator in Excel format I'd probably rewrite the serializer to that as well)

RE: Excel generator

2002-07-23 Thread Geoff Howard
Andy, > >1) If you are serializing to some display format (html, pdf, > etc) you'd want > >to reproduce the data and formatting as it would appear viewed in, or > >printed from excel. > > > You can of course do an approximation of this in any format via a > stylesheet. Granted it won't look *e

RE: Excel generator

2002-07-23 Thread Koen Pellegrims
Personally, I think it makes most sense to use the Gnumeric format. Granted, it is not the easiest format, but it allows you to express most anything you have in your stylesheet. I think that -at least in theory- the Generator, followed by the Serializer should give you the same worksheet back...

Re: Excel generator

2002-07-23 Thread Andrew C. Oliver
Geoff Howard wrote: >Well, I'll make a stab at what I would think could be useful for a generator >from an excel file. I can think of two logical directions people would want >to go. > >1) If you are serializing to some display format (html, pdf, etc) you'd want >to reproduce the data and format

VELOCITY (XML) - COCOON (PDF)

2002-07-23 Thread Terry Anderson
Looking for help posting xml (created with velocity) to cocoon to create a pdf. I successfully create the pdf with the file-generator (xml file saved to disk), but having difficulty with the stream-generator. I've attached my code for review (sorry for length). Thanks for any assistance! TA JA

How to provide xml to sitemap

2002-07-23 Thread Abhishek Goel
Hi, In my application i am generating xml usingtoSAX(contenthandler) method of XMLizable interface My site map expects a xml from a directory,but the problem is i have to save this generated xml at that directory dynamically which i am unable to do. Is there any way around? Regards Abhi

RE: Excel generator

2002-07-23 Thread Geoff Howard
Well, I'll make a stab at what I would think could be useful for a generator from an excel file. I can think of two logical directions people would want to go. 1) If you are serializing to some display format (html, pdf, etc) you'd want to reproduce the data and formatting as it would appear vie

Re: Excel generator

2002-07-23 Thread Andrew C. Oliver
But the more important part of my answer was "What do you want on your generator, and what do you wish you had on your serializer -- would you like fries too?" Meaning I need ideas! I'm on the fence, I want some input. -Andy Sven Kuenzler wrote: >> Is there an Excel Generator, which cre

RE: Modifying an xslt stylesheet before utilisation.

2002-07-23 Thread Rogier Peters
OK, some sloppy copying as well! Originally, this would look like: > > > > > > > So besides the request-parameters a paramater named path is also passed to the xsl, which can be helpfull. For instance, you're building a navigation, then the xml and xsl would be the same for

Re: Excel generator

2002-07-23 Thread Sven Kuenzler
> Is there an Excel Generator, which creates *from* an Excel (xls) file > some XML? Or what approach would you take to convert existing Excel > documents into some useful XML? I think the previous responses missed the *from* (my emphasis) :-) So, read Andy's answer on the dev list. In short: No,

Re: Excel generator

2002-07-23 Thread Andrew C. Oliver
Nicola Ken Barozzi wrote: > > Geoff Howard wrote: > >> I didn't think there was, but the POI site >> (http://jakarta.apache.org/poi/) >> claims that there is, so you may want to check more carefully in >> scratchpad. >> I assume you know about the transformers and serializers for Excel >> for

Re: Excel generator

2002-07-23 Thread Nicola Ken Barozzi
Geoff Howard wrote: > I didn't think there was, but the POI site (http://jakarta.apache.org/poi/) > claims that there is, so you may want to check more carefully in scratchpad. > I assume you know about the transformers and serializers for Excel format > using the POI/HSSF work from Apache Jakar

RE: Excel generator

2002-07-23 Thread Geoff Howard
I didn't think there was, but the POI site (http://jakarta.apache.org/poi/) claims that there is, so you may want to check more carefully in scratchpad. I assume you know about the transformers and serializers for Excel format using the POI/HSSF work from Apache Jakarta. Using their work, it sho

AW: parse generated xml and react in sitemap (Problem with AbstractSAXSource)

2002-07-23 Thread Tammo van Lessen
| Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] | | | Using action. Write your action which reads this fragment into | DOM/SAX, extracts , , and returns these | values in the Map to the sitemap. | | Then, pass these values to the regular reader. | | | Vadim | Hello Vadim, thanx for your ans

unknown font error

2002-07-23 Thread zhaiyun
Hi I am running cocoon-2.0.2 under tomcat-4.0.3 and fop-0.20.3. i used fop to generate PDF. useconfig file is specified in sitemap.xmap as following: following are defined in the userconfig.xml in fo i use mysimsun as following:

Re: troubles with map:select type="request-parameter"

2002-07-23 Thread Barbara Post
Thank you so much Elmar, it works now :-) In fact there are no brackets with "value". I don't know why I saw brackets in the documentation. Barbara - Original Message - From: Sternath Elmar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 23, 2002 11:51 AM Subject: AW: tro

AW: troubles with map:select type="request-parameter"

2002-07-23 Thread Sternath Elmar
Hi Barbara, try to use the selector like this: Good luck, Elmar -Ursprüngliche Nachricht- Von: Barbara Post [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 11:14 An: [EMAIL PROTECTED] Betreff: troubles with map:select type="request-parameter" Using C 2

Re: pulling content - reader vs. generator + serializer

2002-07-23 Thread Nicola Ken Barozzi
Michael Wechner wrote: > > > gv wrote: > >> I'm pulling some existing web page content into my >> Cocoon app by simply mapping a URI in Cocoon to an >> HTTP URI. I'm using a Reader with the mime-type set to >> "text/html"; works fine. I also tried a FileGenerator >> and Serializer, both type "

troubles with map:select type="request-parameter"

2002-07-23 Thread Barbara Post
Using C 2.0.3. I cannot get into the part although I checked, request parameter "platform" value is indeed "All". Thanks for any help. I suspect that my request parameter is at a deepest level because of the sunRise authentication act ? Barbara Pipeline : pl

unknown font error

2002-07-23 Thread zhaiyun
Hi I am running cocoon-2.0.2 under tomcat-4.0.3 and fop-0.20.3. i used fop to generate PDF. useconfig file is specified in sitemap.xmap as following: following are defined in the userconfig.xml in fo i use mysimsun as following: fo

session & wap device

2002-07-23 Thread zze-STIENNE Nicolas FTRD/DMI/CAE
Hi !! I want to know if the wap devices support the sessions used in Cocoons protected area sample. It seams to work bad... I can't validate a login... I am redireted to the login1 page with the wap (not with the conventionnal browser)[the * in the match pattern stands for wap or defaut-bro

Re: Esql and rollback

2002-07-23 Thread Christian Haul
On 23.Jul.2002 -- 09:25 AM, Leszek Gawron wrote: > I'm quite new to JDBC and ESQL. My question is: I have more that one database > inserts. Every one in different esql:execute tag. How can I rollback the > transaction if say the 3rd goes wrong? There is no such esql tag and I do not > know how to

unknown font

2002-07-23 Thread zhaiyun
Hi     I am running cocoon-2.0.2 under tomcat-4.0.3 and fop-0.20.3. i used fop to generate PDF.   useconfig file is specified in sitemap.xmap as following:         following are defined in the userconfig.xml         in fo i use mysimsun as following:     

InputModules, map:global-parameters

2002-07-23 Thread Barbara Post
Reading this : http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102499709113669&w=2 only with C 2.1 What is the workaround for C 2.0.3 since I need to use a release version ? :-/ Thanks a lot. Barbara - Please check that

RE: == I18N question ==

2002-07-23 Thread Piroumian Konstantin
I think that this discussion that happened at Forrest project will help you a little: http://marc.theaimsgroup.com/?t=10240438142&r=1&w=2 -- Konstantin Piroumian [EMAIL PROTECTED] > -Original Message- > From: JИrТme Iffrig [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002

RE: Strange SQLTransformer problem: Encoding bug in Cocoon 2?

2002-07-23 Thread Luca Morandini
> o.k.: I mean: there is an "official" docu for Cocoon 2 and the > SQLTransformer part is pretty long, and seems to be not too bad. but > this seems to be a VERY essential point and should be mentioned, dont > you think so. Well, I'd love doing that (no, what I'd really love would de solving this

Re: newbie: aggregation question

2002-07-23 Thread Leszek Gawron
On Tue, Jul 23, 2002 at 09:23:47AM +0200, Luca Morandini wrote: > Leszek, > > I presume this issue can't be solved like you suggested. > > Including a stylesheets (which is what Zach wants) is just a mean for separating >source code into different files, but the > transformation is happening at

Re: problem using input RequestParameterModule

2002-07-23 Thread Christian Haul
On 22.Jul.2002 -- 11:41 AM, Ramsés Morales wrote: > > > Sorry, sitemap integration is only available with the treeprocessor > > and only in 2.1. (Treeprocessor is available in 2.0.3, integration is > > not). > > Will upgrading to cocoon 2.1 will require major changes on my web-app? I don't thi

Esql and rollback

2002-07-23 Thread Leszek Gawron
I'm quite new to JDBC and ESQL. My question is: I have more that one database inserts. Every one in different esql:execute tag. How can I rollback the transaction if say the 3rd goes wrong? There is no such esql tag and I do not know how to obtain the appropriate jdbc session variable? or maybe I'

RE: newbie: aggregation question

2002-07-23 Thread Luca Morandini
Leszek, I presume this issue can't be solved like you suggested. Including a stylesheets (which is what Zach wants) is just a mean for separating source code into different files, but the transformation is happening at the same time. What you suggested is a serial bunch of transformations, whic