<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
On Wed, 2004-03-24 at 14:21, Chris Withers wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#40a3c5"><I>FLORAC Thierry wrote:

&gt; Concerned objects are custom classes instances, inherited from
&gt; SimpleItem or ObjectManager (for which the &quot;absolute_url&quot; is never
&gt; defined).

Yeah, but be DAMN sure your class returns an id get .getID() is called ;-)</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
Do you mean &quot;getId&quot; or &quot;getID&quot; ??<BR>
The &quot;getId&quot; method is never redefined and the &quot;id&quot; property is always set...<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#40a3c5"><I>&gt; I can use several methods :
&gt;  - &lt;dtml-let MYINSTANCE=&quot;otherObject.callMethod()&quot;&gt; (which retrieves an
&gt; object)
&gt;  - &lt;dtml-call &quot;REQUEST.set('MYINSTANCE', otherObject.callMethod())&quot;&gt;
&gt; (which is used mainly when the result can be used in several scripts)
&gt;  - &lt;dtml-in ... prefix=&quot;sequence&quot;&gt;
&gt;      &lt;dtml-let MYINSTANCE=sequence_item&gt;

Ewww... DTML :'(</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
I know that DTML doesn't seems to be the best way to define pages templates, but my application which is quite old now il heavily based on DTML and I can't modify all my templates to use ZPT...<BR>
<BR>
<BR>
&nbsp; Thierry<BR>
<BR>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>-- 
  Linux every day, keeps Dr Watson away...
  http://gpc.sourceforge.net -- http://www.ulthar.net</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>