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. Thank you! :) Regards Steven Meyer
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 )
[Mayer, Steven]> 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.
<dtml-var "REQUEST.id_doc"> does the trick. Cheers, Tom P
participants (3)
-
bak -
Mayer, Steven -
Thomas B. Passin