[Zope] computing id and using it to display text from a DTML method
Howard Clinton Shaw III
shawh@sths.org
Sat, 22 May 1999 08:04:32 -0500
On Fri, 21 May 1999, Craig Allen wrote:
> This one has me baffled. I'm creating a "matched set", one DTML document and
> one DTML method, based on values from a form. Let's say the id of the doc is
> D22 and the id of the method is M23. How can I symbolically represent the id of
> the method in the body of the document?
>
> I'm not sure this is clear. The result should be that Zope render the document
> *as if* it said:
> <!--#var M23 fmt="structured-text"-->
> Alternatively, how could I create the text within the doc to actually *say*
> 'M23'?
>
> Anyone understand what I'm asking?
> - Craig
<!--#var _[somevarwhichjusthappenstoequalM23] fmt="structured-text"-->
Untested, YMMV
It may need to be
<!--#var "_[somevarwhichjusthappenstoequalM23]" fmt="structured-text"-->
and of course, it could be more complex
<!--#var _[thisvar + thatvar + 'sometext'] fmt="structured-text"-->
Hope this helps... and hope I understood what you are asking!
> --
> Craig Allen - Managing Partner - Mutual Alchemy
> Information Architecture - http://alchemy.nu
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
--
Howard Clinton Shaw III - Grum
St. Thomas High School
#include "disclaimer.h"