[Zope] Still Chipping Away At Formulator/ZPT Interface
beno
zope@thewebsons.com
Mon, 04 Nov 2002 13:40:03 -0400
Hi;
Okay, I *am* going to write a How-To on this when I get it all figured out
with your help. This needs to be done.
In DTML, we do this to render the fields:
<dtml-in "form.get_fields()">
<dtml-let field=sequence-item>
<tr>
<td><dtml-var "field.get_value('title')"></td>
<td><dtml-var "field.render()"></td>
etc. How do I do this same thing in Python? Here's the start of the code:
mailhost=getattr(context, context.superValues('Mail Host')[0].id)
This much works. Now, I need to be able to call the values of the
Formulator form (named *email_us_formulator*). An example of a value is
*YourEmail*. How would I access this value with Python?
TIA,
beno