Ok so I just commited a first short at this.

No, the paragraph renderer won't work just yet, since I implemented it IOC-style, so the current Magnolia is not yet able to instantiate it.

However, the point was to get the interested parties to have a look at info.magnolia.module.templating.freemarker.FreemarkerContentRendererTest . Chris, I think a couple of your questions are answered there. (eventhough you're the one who gave me the answers in the first place;))

So this code is mostly a contribution from Chris (props!) plus the result of some chatting we've had this afternoon.

To me, the biggest remaining questions is how to handle uuid/path and other node properties.
Other open points:
* how to handle binary "properties" (since in Magnolia these are actually jcr nodes, but exposed in a NodeData instance)
 * how to handle references
 * do we need/want to handle PropertyType.PATH and PropertyType.NAME ?
 * handling of multi-valued properties (please provide testcase)

Feel free to commit or provide more patches, especially for the tests. These will drive how the wrappers/models are implemented.
(since we're in a domain where everything is testable, let's abuse it!)

Cheers

g


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to