RE: RE: how to marshal objects within xsp

2002-04-11 Thread a000
Hello, ad 1: Vadim, as you suggested it finally works with this expression - thanks!: util:include-exprutil:exprxsp:exprmm.marshal(mm.getSimpleItems())/xsp:expr/util:expr/util:include-expr ad 2: The contentHandler used in 2 b) is a TraxTransformer instance. Is it possible that in this case

RE: how to marshal objects within xsp

2002-04-11 Thread Piroumian Konstantin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 2. Use Castor's marshalling capabilities: some-items anAttr=aVal xsp:logic model.marshal(this.contentHandler); /xsp:logic /some-items This

RE: RE: how to marshal objects within xsp

2002-04-11 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Hello, ad 1: Vadim, as you suggested it finally works with this expression - thanks!: util:include- exprutil:exprxsp:exprmm.marshal(mm.getSimpleItems())/xsp:expr/ut il:exp r/util:include-expr ad 2: The contentHandler used in 2

how to marshal objects within xsp

2002-04-10 Thread a000
Whats the best way to perform marshalling from Objects to XML within XSP's? The Object is a result from a Castor OQL-Query. Here's an example what I'd like to intend: some-items anAttr=aVal xsp:logic marshalObjToXml(model.getAnItem()); /xsp:logic /some-items

RE: how to marshal objects within xsp

2002-04-10 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Whats the best way to perform marshalling from Objects to XML within XSP's? Take a look at the XMLizable interface. These objects could be included as easy as (IIRC): xsp:exprmyXMLizable/xsp:expr The Object is a result from a Castor

RE: how to marshal objects within xsp

2002-04-10 Thread Konstantin Piroumian
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] skipped/ 2. Use Castor's marshalling capabilities: some-items anAttr=aVal xsp:logic model.marshal(this.contentHandler); /xsp:logic /some-items

RE:RE: how to marshal objects within xsp

2002-04-10 Thread a000
1. Include Object as String: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:cinclude=http://apache.org/cocoon/include/1.0; xmlns:util=http://apache.org/xsp/util/2.0; some-items anAttr=aVal

RE: RE: how to marshal objects within xsp

2002-04-10 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 1. Include Object as String: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:cinclude=http://apache.org/cocoon/include/1.0; xmlns:util=http://apache.org/xsp/util/2.0;

RE: how to marshal objects within xsp

2002-04-10 Thread a000
2. Use Castor's marshalling capabilities: some-items anAttr=aVal xsp:logic model.marshal(this.contentHandler); /xsp:logic /some-items This sounds perfect. You can use CastorTransformer from Cocoon scratchpad instead. It looks something like this: