On Apr 16, 2007, at 16:02 , Oliver Lietz wrote:

Am Montag, 16. April 2007 schrieb Grégory Joseph:
I think freemarker doesn't in general make a distinction between
foo.baz and
foo['baz'].  Either should return the same value.  ie the property
or child
named 'baz'.  In our case either a wrapped NodeData or a wrapped
Content.

Then how to deal with nodes which have a child called "bar" AND a
property with the same name? One of them will have priority, but the
other one should still be available to the template, how to deal with
this?

This is even more tricky:

Multiple Values Status
<...>

I'm pretty sure this can be handled fine, once the above detail is sorted out, esp. since the freemarker wrappers we write could just call something like property.getDefinition().isMultiple() and behave accordingly.

But let's solve the first problems/questions first.


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

Reply via email to