[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nuxeo-localizer] Tree-Tag with LocalContent object
From: |
Juan David Ibáñez Palomar |
Subject: |
Re: [Nuxeo-localizer] Tree-Tag with LocalContent object |
Date: |
Wed, 10 Jul 2002 11:24:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020610 Debian/1.0.0-1 |
Hi Alexander,
Do you mean that you have put that DTML code within a LocalContent
object?
Well, local properties aren't interpreted in any way, they aren't
DTML, they aren't ZPT, they're just text.
The dtml code should be in a DTML Method, local content objects
only should be used to store data, not logic.
Regards,
Alexander Gräfe wrote:
Hi again.
I wanted to add a dtml-tree navigation to our website, but I found out
that the dtml-tree tag does not play well with LocalContent objects
The following code results in a tree that consists of zero items when
called from a LocalContent object, but the desired tree when called from
a DTML Document.
---snip---
<dtml-tree branches="publicObjects" skip_unauthorized="1" single="1">
<a href="&dtml-absolute_url;"><dtml-var title_or_id></a>
</dtml-tree>
---snip---
I presume that it has something to do with Acquisition and that I have
to do some DTML voodoo to get this to work, but I am stumped as to how
to actually do it.
Regards,
Alexander Graefe
_______________________________________________
Nuxeo-localizer mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/nuxeo-localizer
--
J. David Ibáñez, http://www.j-david.net
Software Engineer / Ingénieur Logiciel / Ingeniero de Software