Re: BeansWrapper and w3c XML Element?
Jeremy Chone <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Ok, the DEFAULT_WRAPPER do the job correctly. Not sure why I used BEANS_WRAPPER before. What the difference between DEFAULT and BEANS wrapper On Wed, Apr 8, 2009 at 8:44 PM, Jeremy Chone <[email protected]> wrote: > I have an object that has one of its getters that return an Xml > Element (w3c). When I put the object in the datamodel and access the > XML property in a template, the Xml Element does not get wrapped as a > freemarker.ext.dom.NodeModel, preventing me to use all the cool > freemarker XML support. > > Am I missing something? > > I am using conf.setObjectWrapper(BeansWrapper.BEANS_WRAPPER); > > Any help greatly appreciated. > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com