20 May
2002
20 May
'02
8:39 p.m.
Hi all, I swear I must be braindead. Having trouble passing the value stored in an Input/text control to a python function used in a dtml-in statement. The text box "asset_type_id" contains the value I wish to pass to the function "f_list_get_asset_type_cfg". The zope error is: "global name 'asset_type_id' is not defined" Following is the code I am currently using. <input name="asset_type_id" type="hidden" value="1"> <p> Asset Column Associations for the Selected Type of Asset<br> <TABLE border=1 id=Table1 name="Table1"> <dtml-in prefix="asset_type_cols" expr="f_list_get_asset_type_cfg(asset_type_id)"> <TR> <TD> <P><dtml-var col_name></P> <TD> <P><dtml-var column_name></P> </dtml-in> </TABLE> </p> Thanks!