[Zope] need help
Alexander
aleksandrmailbox at yahoo.com
Thu Jan 22 16:49:22 EST 2004
Hi All,
I have all pages in root folder and script in scripts
folder. how can I call this script?
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: scripts.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: scripts.validateForm1() and
tal:content="python: here.scripts.validateForm1()-
doesnt work . I think I've tried all possible
combinations, but no luck.
if pages and script in the same folder
-tal:content="python: here.validateForm1()- works.
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