So I spent a little while this morning screwing around with making jxv and
betwixt views. JXV contains DOMSource and SAXSource objects (not the exact
names, but close enough) that should be able to passed to TransformSteps
though step.go(source). Unfortunately, both break in different ways.
Betwixt has a SAXBeanWriter object that is created from a SAX
ContentHandler, so theoretically we should be able to use it in maverick as
so:
TransformStep next = vctx.getNextStep();
SAXBeanWriter sbw = new SAXBeanWriter(next.getSAXHandler());
try {
sbw.write(vctx.getModel());
} catch (SAXException ex) {
throw new ServletException(ex);
} catch (IntrospectionException ex) {
throw new ServletException(ex);
}
next.done();
Unfortunately this too blows up with some pretty cryptic errors.
The problem with both packages does not seem to be with Maverick but rather
with jxv and betwixt themselves. Neither has release versions available (I
had to build both from cvs) and I think for now they are still too unstable
to be useful.
On the upside though, once they are stable, it shouldn't take too long to
write maverick views for them (it took me about 30 minutes total to write
both views, basing them on opt-domify).
--jim
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/