<P>
hi,<BR>
i have set up plone &amp; zope in linux.<BR>
All these days i have used formulator + DTML(to design forms )&amp; dtml talks to openflow &amp; that works fine.<BR>
As i was not able to make dtml call zpt( as my dtml is currently talking to openflow--didn't want to change the sequence), i had to go with zpt talking to openflow.<BR>
is that possible , plz help me, how do i do this.<BR>
Below mentioned is what i have done.<BR>
this is my macros in zpt.here this form action points to dtml script.<BR>
-----------------------------------------------------------------<BR>
&lt;tr tal:define=&quot;startdate request/startdate|nothing&quot;&gt;<BR>
&nbsp;  &lt;th align=&quot;left&quot;&gt;<BR>
&nbsp; &nbsp; &lt;font size=5&gt;&lt;font face=&quot;verdana&quot;&gt;&lt;b&gt;<BR>
&nbsp; &nbsp;  Start Date:<BR>
&nbsp; &nbsp; &lt;/b&gt;&lt;/font&gt;&lt;/font&gt;<BR>
&nbsp;  &lt;/th&gt;<BR>
&nbsp;  &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;startdate&quot;<BR>
&nbsp; &nbsp; &nbsp;  tal:replace=&quot;structure python:form.startdate.render(startdate)&quot; /&gt;<BR>
&nbsp;  &lt;/td&gt;<BR>
 &lt;/tr&gt;<BR>
-----------------------------------------------------------------<BR>
<BR>
this is my dtml script(talks to openflow) that tries to call zpt<BR>
----------------------------------------------------------<BR>
&lt;dtml-var standard_html_header&gt;<BR>
&lt;h2&gt;&lt;dtml-var document_title&gt;&lt;/h2&gt;<BR>
&lt;p&gt; <BR>
&lt;dtml-let instance=&quot;workflow.addInstance('request',<BR>
&nbsp;  AUTHENTICATED_USER.getUserName(),<BR>
&nbsp; 'no comment',<BR>
&nbsp; 'Request for Grant by ' +&nbsp; AUTHENTICATED_USER.getUserName(),<BR>
&nbsp;  activation=0)&quot; instobj=&quot;_.getattr(workflow,instance)&quot;&gt;<BR>
&lt;dtml-call &quot;instobj.manage_addProperty('startdate', startdate, 'string')&quot;&gt;<BR>
&lt;dtml-call &quot;workflow.startInstance(instance)&quot;&gt;<BR>
&lt;/dtml-let&gt;<BR>
&lt;/p&gt;<BR>
&lt;p&gt;<BR>
&lt;a href=&quot;index_html&quot;&gt;To frontpage&lt;/a&gt;<BR>
&lt;/p&gt;<BR>
&lt;dtml-var standard_html_footer&gt;<BR>
------------------------------------------------------------------------<BR>
it always gives an error like <BR>
Error Type <BR>
NameError<BR>
Error Value <BR>
name 'startdate' is not defined<BR>
<BR>
what is the problem<BR>
Thanks<BR>
Prasad
</P>
<br><br>
<a href="http://www.herohonda.com/karizma?rediffmail" target="_blank"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/inbox.htm@Bottom" border=0></a>