<P>
hi,<BR>
i have set up plone & zope in linux.<BR>
All these days i have used formulator + DTML(to design forms )& dtml talks to openflow & 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>
<tr tal:define="startdate request/startdate|nothing"><BR>
<th align="left"><BR>
<font size=5><font face="verdana"><b><BR>
Start Date:<BR>
</b></font></font><BR>
</th><BR>
<td><input type="text" name="startdate"<BR>
tal:replace="structure python:form.startdate.render(startdate)" /><BR>
</td><BR>
</tr><BR>
-----------------------------------------------------------------<BR>
<BR>
this is my dtml script(talks to openflow) that tries to call zpt<BR>
----------------------------------------------------------<BR>
<dtml-var standard_html_header><BR>
<h2><dtml-var document_title></h2><BR>
<p> <BR>
<dtml-let instance="workflow.addInstance('request',<BR>
AUTHENTICATED_USER.getUserName(),<BR>
'no comment',<BR>
'Request for Grant by ' + AUTHENTICATED_USER.getUserName(),<BR>
activation=0)" instobj="_.getattr(workflow,instance)"><BR>
<dtml-call "instobj.manage_addProperty('startdate', startdate, 'string')"><BR>
<dtml-call "workflow.startInstance(instance)"><BR>
</dtml-let><BR>
</p><BR>
<p><BR>
<a href="index_html">To frontpage</a><BR>
</p><BR>
<dtml-var standard_html_footer><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>