cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject RE: NEWBIE: Using request-scope XML doc as generator source?
Date Tue, 02 Sep 2003 15:14:51 GMT
Sure. Two files are attached, the BeanGenerator and a PropertiesComponent to
allow a properties object to be passed to the constructor for the class that
will build your bean.
 
Please feel free to find bugs or make improvements and pass them back to me.
If someone wants to include this in Cocoon somewhere that's OK too.
 
Ralph
 
 
-----Original Message-----
From: David Benoff [mailto:dbenoff@covad.net]
Sent: Tuesday, September 02, 2003 6:52 AM
To: users@cocoon.apache.org
Cc: Ralph Goers
Subject: RE: NEWBIE: Using request-scope XML doc as generator source?


Hi Ralph,
I’m using Hibernate for persistence.  The objects follow a bean pattern
(getters/setters and are serializable).  Using Betwixt sounds like a very
good solution.  I’d be very interested to see what you’ve got.
 
Thanks,
David
 
-----Original Message-----
From: Ralph Goers [mailto:Ralph.Goers@digitalinsight.com] 
Sent: Monday, September 01, 2003 10:52 PM
To: 'users@cocoon.apache.org'
Subject: RE: NEWBIE: Using request-scope XML doc as generator source?
 
What are you starting from?
 
In my case we are using EJBs that return Transfer Objects.  I have written a
generic BeanGenerator that uses Betwixt to convert the Transfer Objects
directly into SAX events.
 
Ralph
-----Original Message-----
From: David Benoff [mailto:dbenoff@covad.net]
Sent: Monday, September 01, 2003 6:23 PM
To: users@cocoon.apache.org
Subject: NEWBIE: Using request-scope XML doc as generator source?
Hi all,
I have a Tomcat/Struts web app using JSP that I’m trying to convert to
Cocoon.  I have it working with the action classes writing temp XML files to
disk and Cocoon’s file generator using the temp files for the XSLT
transform, clearly not a very scalable setup.  Is it possible to configure
Cocoon to use a JDOM document stored as a request or session attribute as
the generator XML source?  Or perhaps some other alternative?
 
Thanks very much for any hints!
 
David Benoff
 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003


Mime
View raw message