[Zope] Loading an object
Matthias Hörtzsch
m_hoertzsch@yahoo.de
Fri, 24 Jan 2003 16:57:38 +0100
Am Freitag, 24. Januar 2003 16:27 schrieb Jochen Frühauf:
> Hallo,
>
> on a page named index_html I am using the following code to get the
> object shown referenced in profile. It doesnt work. Only the name of th=
e
> object is printed. Whats wrong?
>
> -------------------------------------------------
> <dtml-if profile>
> <dtml-var profile>
You should use <dtml-var "_.getitem(profile)"> to see the content of the
referenced object.
> <dtml-else>
>
> <ul>
> <dtml-in "profile_script(suche='profile')" skip_unauthorized="1" =
reverse>
> <li><a href="index_html?profile=<dtml-var id>"><dtml-var title></=
a></li>
> </dtml-in>
> </ul>
>
> </dtml-if>
> --------------------------------------------------
>
>
> Thanks
> Jochen
>
>
Matthias
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de