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 jar into
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
customer-data/, and replaces it
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 tags
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 getting
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 1x
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, and
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
Tough call. I'd say it depends. If customer-data/ is going to be replaced with
John Brown, 40 Main St. then I'd say a transform. If customer-data/ is going to
be replace with a large amount of other XML data (i.e., recordsrecordfield
.../field ...//recordrecordfield .../field
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