[Zope] need help

Alexander Busorgin aleksandrmailbox at yahoo.com
Thu Jan 22 15:15:51 EST 2004


Hi All,
my site's map:
root
   |
   |-----scripts
   |           |
   |           |----validateForm
   |
   |
test2.html page:
============
<span metal:use-macro="container/main/macros/body">
<span metal:fill-slot="bodyplace">
<span
metal:use-macro="container/main/macros/searchform"></span>
</span>
</span>

searchform macro:
============
<table width=100% metal:define-macro="searchform">
<tr>
<td tal:content="python: here.validateForm1()" > </td>
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^???
</tr>
<tr><td>
<form action=test2.html method=post>
<input type=text name=searchstring>
<input type=submit>
</form>
</td></tr>
</table>

how can I call validateForm script from scripts
folder?
tal:content="python: here.scripts.validateForm1() -
doesnt work . I think I've tried all possible
combinations, but no luck.

thanks.




__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/



More information about the Zope mailing list