[Mav-user] passing self-built XML documents

2002-06-14 Thread Barrie Selack
In pre 2.0 there was a model() method to pass a document that the application built. In 2.0 I can't quite figure how it get's passed. I've tried the setModel() and setting model in the HttpRequest. the former has the effect of taking 100% of the cpu, the latter seems to have no effect. So how

RE: [Mav-user] passing self-built XML documents

2002-06-14 Thread Jeff Schnitzer
ControllerContext.setModel() is indeed how you are supposed to do it. You're setting an org.w3c.dom.Document instance? What view type are you using? Actually, nevermind, I see the problem. You're using domify, and you're trying to adapt something that is already a Node. If you want an instant

RE: [Mav-user] passing self-built XML documents

2002-06-14 Thread Jeff Schnitzer
Ok, I made an opt-domify 2.0.1 release with this fix. For anyone using domify, unless you are trying to domify a Node (in which case you might as well use the trivial view type), the 2.0 version should be just fine. This was the only change. Jeff Schnitzer [EMAIL PROTECTED] -Original