[Zope] dtml-var expr="REQUEST.......

bak (kedai) kedai@kedai.com.my
Tue, 22 Jan 2002 18:10:00 +0800


On Tuesday 22 January 2002 05:04 pm, Mayer, Steven wrote:
> Hi,
> I have a programmer problem!
> With the command : <dtml-var expr="REQUEST.form['id_doc']" newline_to_br>
> I get the name of the variable "id_doc" a DTML-Document but is there a
> method that I get the content of the variable, displayed in a form? I need
> it for a edit-form.
try:

<dtml-var expr="_.getitem(REQUEST.form['id_doc'])" newline_to_br>
except:
pass
 ;P

>
> Thank you! :)
>
> Regards
> Steven Meyer
>
>
> _______________________________________________
> 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 )