Re: Was the JDom support removed/deprecated?
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Wednesday, January 28, 2009, 12:25:15 AM, Jeremy Chone wrote: > Tx a lot, I will use the W3C Dom to make sure that I use a supported one. > > BTW, if I have a bean that return a W3C Element, would it be > wrapped appropriately (allowing me to use the '.' notation to navigate the tree)? You should not wrap them. As your bean meant to be FreeMarker-unaware (I suppose), it shouldn't use any FreeMarker specific classes. That way the ObjectWrapper has full control (centralized control) over how to present objects to the templates. The default wrapper will wrap W3C Element-s so that you can use '.' notation. -- Best regards, Daniel Dekany ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword