Cookies, Generators and Actions

2003-06-17 Thread Barnes, Gordon (ELSLON)
Hi, I am currently using Cocoon 2.0.4 within WebSphere Studio Application Developer 5.0.2. I am trying to determine whether a cookie is present on a system from within a generator. The cookie is being generated (this is determined by the browser asking permission for the cookie to be used on the

Re: Custom Generators - SAX 2

2003-06-17 Thread Brian Delahunty
t: Tuesday, June 17, 2003 10:25 AM Subject: RE: Custom Generators - SAX 2 > > > > From: Brian Delahunty [mailto:[EMAIL PROTECTED] > > > > Hi (again), > > > > I asked a question yesterday about custom generators ad I'd like to > ask a similar questi

RE: Custom Generators - SAX 2

2003-06-17 Thread Reinhard Pötz
> > From: Brian Delahunty [mailto:[EMAIL PROTECTED] > > Hi (again), > > I asked a question yesterday about custom generators ad I'd like to ask a similar question today. > > If I have a URL to an XML page and I need to "pass it back" from the

Custom Generators - SAX 2

2003-06-17 Thread Brian Delahunty
Hi (again),   I asked a question yesterday about custom generators ad I'd like to ask a similar question today.   If I have a URL to an XML page and I need to "pass it back" from the generator.     I'm using this code:   public class RSSGenerator extends AbstractGenerato

Re: Custom Generators - SAX

2003-06-16 Thread Holger Dewes
Brian Delahunty wrote: Hi, I'm not sure if this is where I should be asking this. I'm writing a custom generator that needs to just return an XML document that's contained within a String. Now in the past I have used code like this [Simple Hello-World]: * public* *class* SMSGenerator *extends

Custom Generators - SAX

2003-06-16 Thread Brian Delahunty
Hi,   I'm not sure if this is where I should be asking this.   I'm writing a custom generator that needs to just return an XML document that's contained within a String. Now in the past I have used code like this [Simple Hello-World]: public class SMSGenerator extends AbstractGenerator {  

Re: [Chaperon-users] help - about cocoon 2 generators

2003-06-04 Thread Stephan Michels
On Tue, 3 Jun 2003, severine wrote: > Hi, > > I'm a engineer student and I want to create a text generator on cocoon 2 for > transforming TXT documents into XML. > > So, I've read on your website that's the chaperon's project contains Text > Generator for Cocoon 2 Apache. > > I've downloaded cha

Re: xmlforms & bean generators

2003-04-02 Thread ivelin
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 4:18 PM Subject: xmlforms & bean generators > Hi ... > > the context: > > In the XMLForm Wizard, you(well the autor ... who is?) tells that the > binding mechanism > between the xpath expressions and t

xmlforms & bean generators

2003-04-02 Thread Dario Bahena
Hi ... the context: In the XMLForm Wizard, you(well the autor ... who is?) tells that the binding mechanism between the xpath expressions and the java bean components ... is jxpath. This seems to be cool, but what about program-generated-jbeans, I'm thinking in castor ... it saves you from cod

RE: Question on generators...

2003-03-03 Thread SriKumar Kareti
Geoff, Thanks. Got it working with minimal effort. Kumar. -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED] Sent: Friday, January 31, 2003 9:48 PM To: [EMAIL PROTECTED] Subject: RE: Question on generators... Then yes, you can reuse it - but you should be aware that it&#

RE: Generators and external applications...

2003-03-02 Thread Conal Tuohy
Alan Anderson wrote: > My question is how can I run an external program/script and > have the final output be what is sent to > the Transformer for display? I'm guessing I'm missing One option is to run your external executable as a CGI app. This may be easier than porting it to a Generator. The

Generators and external applications...

2003-02-24 Thread Alan Anderson
Hello, I have successfully configured and used Cocoon 2.0.3 on Linux to generate HTML and PDF files on the fly from XML source files. I've used primarily DocBook source, but I have a few other types of source files. Part of what I want to do is generate complex documents from multiple source

RE: Question on generators...

2003-01-31 Thread Geoff Howard
perfectly satisfied. The short answer about how is basically: 1) Make sure you read up on Generators, including the tutorial on CustomGenerators if you haven't already. Also read up on Avalon (the stuff at in the Cocoon docs should be enough). 2) Create a generator that imports your orig

RE: Question on generators...

2003-01-31 Thread SriKumar Kareti
Geoff, I was creating String... thx... -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 12:28 PM To: [EMAIL PROTECTED] Subject: RE: Question on generators... This all depends on what you were doing in your class. Were you creating xml

RE: Question on generators...

2003-01-31 Thread Geoff Howard
This all depends on what you were doing in your class. Were you creating xml? If so, DOM, SAX or String? Geoff > -Original Message- > From: SriKumar Kareti [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 10:21 AM > To: [EMAIL PROTECTED] > Subject: Questio

RE: Question on generators...

2003-01-31 Thread SriKumar Kareti
Thank you Lionel, I will try it out. -Original Message- From: Lionel Crine [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:42 AM To: [EMAIL PROTECTED] Subject: Re: Question on generators... Yes you can do a generator : Here is what I did, this is a main structure

Re: Question on generators...

2003-01-31 Thread Lionel Crine
Yes you can do a generator : Here is what I did, this is a main structure : import your_package; public class your_class extends ComposerGenerator (or absctractGenerator) { ... public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws Process

Question on generators...

2003-01-31 Thread SriKumar Kareti
Thanks for you help in advance... I am a new user to Cocoon. I have searched the site pretty well and could not answer this question. Could someone help... My goal is to move from current servlet based solution to Cocoon. The general flow of my current program is 1) Take the request, 2) Gener

FYI: JBuilder 7 + Generators == NullPointerException

2002-09-16 Thread MTiffany71
Hello All: Just an FYI about a potential pitfall for those using JBuilder7 to create Cocoon Generators... (C2.0.3). When extending org.apache.cocoon.generation.AbstractGenerator using the New Class function in JB7, JB7 will automatically import org.apache.cocoon.xml.*; into the class. This leads

RE: how do generators work in 2.1 ?

2002-09-04 Thread Carsten Ziegeler
of course in 2.1 as well. Carsten > -Original Message- > From: Barbara Post [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 9:08 AM > To: [EMAIL PROTECTED] > Subject: how do generators work in 2.1 ? > > > I removed cocoon's pipelines from main

how do generators work in 2.1 ?

2002-09-03 Thread Barbara Post
e' at jndi:/localhost/baepp/sitemap.xmap:459:41 What happened ? How do I use generators now in 2.1 version ? (from yesterday's cvs head). I use jdk 1.3.1. When I built and launched Cocoon I also had an error when browsing to welcome page (http://localhost:8080/cocoon), about generator and

RE: Join information from 2 generators?

2002-07-11 Thread Robert Bourdeau
gt; Subject: Re: Join information from 2 generators? > > > "Aggregate" is the word you should be looking for. > Don't know by heart its syntax anymore (that damned memory of mine), but > I'm almost sure there are some examples in the default sitemap of cocoon. &g

Re: Join information from 2 generators?

2002-07-11 Thread Tom Klaasen
"Aggregate" is the word you should be looking for. Don't know by heart its syntax anymore (that damned memory of mine), but I'm almost sure there are some examples in the default sitemap of cocoon. hth, tomK Spectron International, Inc. wrote: >I have made 2 generators

Join information from 2 generators?

2002-07-11 Thread Spectron International, Inc.
I have made 2 generators and I need to join the data from both.Is it possible to do something like this? If it is, what's the syntax, if it isn't is there other solution? Fawzib Rojas - Pl

RE: aggregation with different generators

2002-06-14 Thread Per Kreipke
> I would like to know if it's possible to use self-implemented > generators inside an aggregation, something like: > > >src="http://scw_de:[EMAIL PROTECTED]:/BOLServlet > /ProductService.uploadDocument"> > I've wanted to do the same t

aggregation with different generators

2002-06-14 Thread Sternath Elmar
Hi, I would like to know if it's possible to use self-implemented generators inside an aggregation, something like: http://scw_de:[EMAIL PROTECTED]:/BOLServlet/ProductService.uploadDocument";> R

SQL Generators and SQL Transformers

2002-05-20 Thread Hiloliddin Karimov
Hi All, I try retrieve data from DB (load some data from DB) before page show. How I understood, I can it by Generators and Transformers. If there is more, please tell me know ( if possible pls in detail ). 1. I try use the SQL Transformer, retrieve rows from DB and to show their in XML. It

RE: java.lang.NoSuchFieldError: generators

2002-04-22 Thread Vadim Gritsenko
itten, but not published): First rule of upgrader: Always remove working directory. Vadim > stack-trace > org.apache.cocoon.ProcessingException: Error compiling sitemap: > java.lang.NoSuchFieldError: generators > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) >

java.lang.NoSuchFieldError: generators

2002-04-22 Thread Gal Nitzan
Hi, I just finished installing Cocoon 2.0.2 with Tomcat 4.0.4 b2 on Win 2K server. When trying to access my test page I get the following error: stack-trace org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoSuchFieldError: generators at

RE: Migrating DOM based XML generators

2002-04-22 Thread Artur Bialecki
; To: [EMAIL PROTECTED] > Subject: Migrating DOM based XML generators > > > Hi > > Some of you may know (of) me, I'm the guy who wrote maybeupload. > > I'm looking at how to migrate a lot of my stuff to Cocoon. Currently my > DocumentGenerator interface generates a

Re: Migrating DOM based XML generators

2002-04-22 Thread Peter Royal
On Monday 22 April 2002 01:36 pm, Simon Brooke wrote: > I have a *lot* of classes which implement this interface.To plug them > into Cocoon I need to generate SAX events and currently I don't. > Obviously generating SAX events as the document is being built is going > to be quicker than building a

Migrating DOM based XML generators

2002-04-22 Thread Simon Brooke
Hi Some of you may know (of) me, I'm the guy who wrote maybeupload. I'm looking at how to migrate a lot of my stuff to Cocoon. Currently my DocumentGenerator interface generates a DOM2 Document (see http://www.weft.co.uk/library/jacquard/documentation/uk/co/weft/domutil/DocumentGenerator.html

Re: Dynamically transform a generators output

2002-04-05 Thread KOZLOV Roman
Hi Chris, Look at request selector usage in cocoon's default sitemap. Also, have a look at the very good tutorial http://www.cocooncenter.de/cc/documents/resources/request-params/requestselector.html Best regards Roman "Shaw, Chris" wrote: > Hi > > I have the following scenario... > > Th

Dynamically transform a generators output

2002-04-05 Thread Shaw, Chris
Hi I have the following scenario... The user choses, on an HTML Form, for which format they want the output (e.g. PDF, XML, HTML, etc)...and the parameter called 'format' gets set as to whatever they chose ...eg format=pdf. A generator is called which executes a database query and returns all t

RE: Turning XSPs into Generators (Why?)

2002-03-26 Thread Vadim Gritsenko
verpages generator overhead (which is not huge), and another is that the XSP pages are compiled into poolable generators, and pool is created with default values for minimum and maximum sizes. If you want to size pool for your particular XSP, you turn it into generator. > If so how much. Measur

RE: Turning XSPs into Generators (Why?)

2002-03-26 Thread Artur Bialecki
tsenko [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 2:11 PM > To: [EMAIL PROTECTED] > Subject: RE: Turning XSPs into Generators > > > > From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > > > Hi list, > > > > reading the Performance Gu

RE: Turning XSPs into Generators

2002-03-26 Thread Vadim Gritsenko
> From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > Hi list, > > reading the Performance Guide Draft, it sems to me that turning XSPs > into Generators is a good idea, is there some general way how to do > this? Any tips, templates? Once you run XSP once, Cocoon will c

Re: Turning XSPs into Generators

2002-03-26 Thread Nicola Ken Barozzi
From: "Michael Zehrer" <[EMAIL PROTECTED]> > reading the Performance Guide Draft, it sems to me that turning XSPs > into Generators is a good idea, is there some general way how to do > this? Any tips, templates? tip: use the .java file that results from the XSP; look

Turning XSPs into Generators

2002-03-26 Thread Michael Zehrer
Hi list, reading the Performance Guide Draft, it sems to me that turning XSPs into Generators is a good idea, is there some general way how to do this? Any tips, templates? Cheers, Michael - Please check that your question has

RE: Compiling new generators etc.

2002-03-15 Thread Vadim Gritsenko
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Dear cocoon-users, > > must new java classes (for my application) have to be compiled separately or > does Cocoon2 the compilation for me if I put the java files to the right > place (the "classes" subdirectory) ? Yes, No. > All my exper

Compiling new generators etc.

2002-03-15 Thread Volker Schneider
Dear cocoon-users, must new java classes (for my application) have to be compiled separately or does Cocoon2 the compilation for me if I put the java files to the right place (the "classes" subdirectory) ? All my experiments seem to confirm this assumption. If this is true, how can I integrate

AW: Using Generators outside Cocoon

2002-03-10 Thread Reinhard Potz
REinhard > -Ursprungliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Sonntag, 10. Marz 2002 08:03 > An: [EMAIL PROTECTED] > Betreff: Using Generators outside Cocoon > > > Is that possible to easily reuse the code for the gene

Using Generators outside Cocoon

2002-03-09 Thread odwl
Is that possible to easily reuse the code for the generators in order to create XML files. For instance, is that possible to use DirectoryGenerator outside cocoon (I mean without passing through the servlet engine) ? - Please

Re: Generators

2002-01-31 Thread Jozsa Kristof
On Thu, Jan 31, 2002 at 03:36:29PM -0300, Ivan Rubin Ayma wrote: > It would be useful for me to use more than one generator at the > beggining of a pipeline, as I have to generate pretty different things > (in logic) and use the sum of them at the transformations stage. use aggregating in the sit

Generators

2002-01-31 Thread Ivan Rubin Ayma
It would be useful for me to use more than one generator at the beggining of a pipeline, as I have to generate pretty different things (in logic) and use the sum of them at the transformations stage. There's a way to do it? Thanks, Ivan -

Re: Transformers vs. Generators

2001-11-16 Thread Jozsa Kristof
On Thu, Nov 15, 2001 at 03:31:09PM -0500, Peter Royal wrote: > On Thursday 15 November 2001 03:13 pm, you wrote: > > Peter, exactly where had you put your own Transformers? I've tried to put > > it in my own package (not in org.apache.cocoon.transformation), jar-ed it > > correctly, dropped the ja

Re: Transformers vs. Generators

2001-11-15 Thread David Rosenstrauch
Also make sure that you declare this new transformer in your sitemap. DR At 09:13 PM 11/15/01 +0100, you wrote: >Peter, exactly where had you put your own Transformers? I've tried to put it >in my own package (not in org.apache.cocoon.transformation), jar-ed it >correctly, dropped the jar into

Re: Help with Generators

2001-11-15 Thread David Rosenstrauch
At 06:50 AM 11/15/01 -0800, you wrote: >Hi, > >A couple of quick questions. > >When I include java files inside a >, where should I put the jar >files? I know that they are discovered if place them in ${TOMCAT_HOME}/lib, >but I am having problems with name collisions. Specifically, a 3rd party >

Re: Transformers vs. Generators

2001-11-15 Thread David Rosenstrauch
Tough call. I'd say it depends. If is going to be replaced with "John Brown, 40 Main St." then I'd say a transform. If is going to be replace with a large amount of other XML data (i.e., ) I might think about doing a generator. I don't love the concept of transformers reading XML from ano

SV: Transformers vs. Generators

2001-11-15 Thread Soren Neigaard
Sounds more like you need to put you jar in your ServletEngines classpath. -Oprindelig meddelelse- Fra: Jozsa Kristof [mailto:[EMAIL PROTECTED]] Sendt: 15. november 2001 12:14 Til: [EMAIL PROTECTED] Emne: Re: Transformers vs. Generators On Thu, Nov 15, 2001 at 12:28:30PM -0500, Peter

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 03:13 pm, you wrote: > Peter, exactly where had you put your own Transformers? I've tried to put > it in my own package (not in org.apache.cocoon.transformation), jar-ed it > correctly, dropped the jar into Cocoon's main WEB-INF/lib/, configured it > in the sitemap, an

Re: Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
On Thu, Nov 15, 2001 at 12:28:30PM -0500, Peter Royal wrote: > On Thursday 15 November 2001 11:50 am, you wrote: > > Okay, one piece of theoratical question. If I want to use xml data output > > from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a > > Transformer or a Generator for ge

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 12:58 pm, you wrote: > Can you handle situations using this approach where the data changes > meanwhile? Does the setup() runs only once at Cocoon initialization or it > runs once at every page request? setup() is called for each request. If you need to do stuff just

Re: Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
On Thu, Nov 15, 2001 at 12:28:30PM -0500, Peter Royal wrote: > On Thursday 15 November 2001 11:50 am, you wrote: > > Okay, one piece of theoratical question. If I want to use xml data output > > from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a > > Transformer or a Generator for ge

Re: Transformers vs. Generators

2001-11-15 Thread Peter Royal
On Thursday 15 November 2001 11:50 am, you wrote: > Okay, one piece of theoratical question. If I want to use xml data output > from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a > Transformer or a Generator for getting the data? > > I'd vote for Transformers, which looks for xml ta

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-15 Thread aaldridg
: 876-1300 "Piroumian, Konstantin" <[EMAIL PROTECTED]> on 14/11/2001 14:39:11 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Generators.. was: Re: SV: What is Cocoon good for??? This can be implemented as a logicsheet and you'll forget about

Transformers vs. Generators

2001-11-15 Thread Jozsa Kristof
Okay, one piece of theoratical question. If I want to use xml data output from a bunch of EJBs (JBoss+Cocoon stuff), shall I better write a Transformer or a Generator for getting the data? I'd vote for Transformers, which looks for xml tags in a source xml like , and replaces it with the business

Help with Generators

2001-11-15 Thread Mitchell Christensen
Hi, A couple of quick questions. When I include java files inside a , where should I put the jar files? I know that they are discovered if place them in ${TOMCAT_HOME}/lib, but I am having problems with name collisions. Specifically, a 3rd party app's API jar file I'm using includes DOM stuff

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Peter Royal
On Wednesday 14 November 2001 03:47 am, you wrote: > > For data from other sources, I've been moving towards making java objects > > that are XMLizable, and having a generator that just calls .toSAX on > > them. -pete > > Maybe a stupid question... but: why? Do you really gain in performance, or >

Re: Generators.. was: Re: What is Cocoon good for???

2001-11-14 Thread David Rosenstrauch
w which solution performs better? > >/Soren > >-Oprindelig meddelelse- >Fra: Karl Oie [mailto:[EMAIL PROTECTED]] >Sendt: 14. november 2001 06:07 >Til: [EMAIL PROTECTED] >Emne: RE: Generators.. was: Re: SV: What is Cocoon good for??? > > >thank you, very en

Re: Generators.. was: Re: What is Cocoon good for???

2001-11-14 Thread Soren Neigaard
know which solution performs better? /Soren -Oprindelig meddelelse- Fra: Karl Oie [mailto:[EMAIL PROTECTED]] Sendt: 14. november 2001 06:07 Til: [EMAIL PROTECTED] Emne: RE: Generators.. was: Re: SV: What is Cocoon good for??? thank you, very enlighting! :-D i think this is the answer to

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Piroumian, Konstantin
tts); > characters("" + screenClass); > end("jbxsp-screen"); > > start("jbxsp-trail", atts); > characters("" + trail.getTrailId()); > end("jbxsp-trail"); > > } catch(Exception e){ &

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Karl Oie
thank you, very enlighting! :-D i think this is the answer to Soren Neigards problems with SAX yesterday! mvh karl oie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 14. november 2001 15:00 To: [EMAIL PROTECTED] Subject: RE: Generators.. was: Re: SV: What

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread aaldridg
} instance.toSAX(handler); //System.out.println("Finished converting to DOM"); } Karl Oie <[EMAIL PROTECTED]> on 14/11/2001 12:57:36 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: Generators.. was: Re: SV: What is Cocoon good

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Karl Oie
>I'm happy to share some code with you if you need it. > >Regards, > >Anthony Aldridge >Lead Application developer please do, as i find working examples a great way to learn! :-) mvh karl oie - Please check that your question

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread aaldridg
AIL PROTECTED]> on 13/11/2001 20:04:37 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Generators.. was: Re: SV: What is Cocoon good for??? On Tuesday 13 November 2001 02:53 pm, you wrote: > having code within your XSP page that reads XML from some external so

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Tomas Espeleta
> On Tuesday 13 November 2001 02:53 pm, you wrote: > > having code within your XSP page that reads XML from some external source > > (outside the page) and outputting it > > > > > > Seems to me like that type of code is best done as a separate generator of > > its own. > > > > Others agree? disag

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Tomas Espeleta
> On Tuesday 13 November 2001 02:53 pm, you wrote: > > having code within your XSP page that reads XML from some external source > > (outside the page) and outputting it > > > > > > Seems to me like that type of code is best done as a separate generator of > > its own. > > > > Others agree? disag

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread Peter Royal
On Tuesday 13 November 2001 02:53 pm, you wrote: > having code within your XSP page that reads XML from some external source > (outside the page) and outputting it > > > Seems to me like that type of code is best done as a separate generator of > its own. > > Others agree? disagree? I agree. I o

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread David Rosenstrauch
At 11:36 AM 11/13/01 -0800, you wrote: >I think I need some clarity here. Don't XSP pages compile into generators? >What can be done from a hand coded Generator that can't be done >(dynamically) from XSP? I have been thinking about hand code generaters as >'special

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread David Rosenstrauch
/01 +0100, you wrote: >On Tue, Nov 13, 2001 at 03:51:55PM -0800, Soren Neigaard wrote: > > Theres no doubt that you are right, and I could easily see that I was using > > Cocoon in a way it wasn't intended to used in, but I couldn't see what I > > should do :) I will

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread Mitchell Christensen
I think I need some clarity here. Don't XSP pages compile into generators? What can be done from a hand coded Generator that can't be done (dynamically) from XSP? I have been thinking about hand code generaters as 'special case' generators that don't change very ofte

Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread Jozsa Kristof
On Tue, Nov 13, 2001 at 03:51:55PM -0800, Soren Neigaard wrote: > Theres no doubt that you are right, and I could easily see that I was using > Cocoon in a way it wasn't intended to used in, but I couldn't see what I > should do :) I will look into Generators right away! Hmmm

Generators and DTD/Schemas

2001-09-24 Thread Karl Øie
I tried to write a DOM generator using the DOMStreamer that takes a in memory DOM as a source for an cocoon2 generator, it all works fine except a strange problem with further transformation. The problem is: ID declared elements in the DTD is no longer accessible as ID elements in the XSLT transf

EJB generators ?

2001-09-19 Thread Aurelien
I am currently in the process of parsing the cocoon docs, and I'm wondering wether an EJB generator would be necessary in my case. I get the XML from a J2EE app indeed, and looking at the different existing generators, I thought that the most approriate would probably be the Stream gene

C2:Xpath and generators...

2001-08-15 Thread Karl Øie
i know this is some really newbie questions, but is it possible to: - filter a generator through xpath? - create a custom serializer that can access session variables? in advance thanks! mvh karl - Please check that your quest

RE: Debugging Custom Generators & Transformers

2001-08-08 Thread Kaufman, Noah
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 7:26 PM To: [EMAIL PROTECTED] Subject: RE: Debugging Custom Generators & Transformers I've had this same problem before. It has to do with the wrong jar files in the wrong di

RE: Debugging Custom Generators & Transformers

2001-08-07 Thread forge
I've had this same problem before. It has to do with the wrong jar files in the wrong directories. I believe it's in the FAQ. rename xerces/xalan to 1xerces/1xalan, remove jaxp.jar and one more jar, but I can't remember which one :) On Tue, 7 Aug 2001, Kaufman, Noah wrote: > Folks: > >

RE: Debugging Custom Generators & Transformers

2001-08-07 Thread Kaufman, Noah
Folks: Actually, I guess I spoke too quickly before. Although we have gotten the latest build of Tomcat to run under Visual Age for Java, we are not able to make Beta 2 of Cocoon 2 work in this configuration. The cocoon.log file has a lot of information in it, but the error can

Debugging Custom Generators & Transformers

2001-08-07 Thread Kaufman, Noah
Folks: For an application that we're developing under Cocoon 2 using IBM's Visual Age for Java v3.5.3, we are developing a couple of custom generators and transformers. Although we can use println to write out debugging information, what we would really like to do is to be a