Re: [Zope] pop back namespace from stack ?

2000-10-10 Thread Daniel Rusch

 In fact I need the id from the dtml-method I'm was called from

Try dtml-var HTTP_REFERER

Dan

Beuserie Frédéric (stbrice dsi) wrote:
 
 hi,
 
 How can I pop back one namespace from the stack ?. In fact I need the id
 from the
 dtml-method I'm was called from.
 
 thanks a lot.
 
 -
 Beuserie Frederic
 DSI / Système et Exploitation - 3 Suisses Belgique
 
 Tel: +3269/882485 / Fax: +3269/882491
 Email: [EMAIL PROTECTED]
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] pop back namespace from stack ?

2000-10-10 Thread Dieter Maurer

Beuserie =?ISO-8859-1?Q?Fr=E9d=E9ric?= (stbrice dsi) writes:
  How can I pop back one namespace from the stack ?. In fact I need the id
  from the
  dtml-method I'm was called from.
You can not (from DTML).

The caller must help you, e.g. by:

  calling method:

dtml-let caller_id= document_id
  dtml-var called_method
/dtml-let
.

  called method:
...
dtml-var caller_id
...

Dieter


___
Zope maillist  -  [EMAIL PROTECTED]
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 )