[Zope-DB] Zope page template question

Dario Lopez-Kästen dario at ita.chalmers.se
Thu Aug 26 01:53:30 EDT 2004

Laura McCord wrote:

> Here is my code to call the refresh feature:
> <a tal:attributes="href python: 'pc_form2?SystemNetName=' +
> str(SystemNetName); python here/refreshTables">refresh</a>

hm... are you sure you should not be doing this with normal forms 
instead? Ie (wildly guessing, sorry for any ZPT mistakes):

<form action="pc_form2" method="POST>
<input name="SystemNetName" value="valuegoeshere">

and then in your pc_form2 script  you call


which is yet another script that does all the updating of your tables, 
using ZSQL methods.


PS: have you read the Zope Book?

> I am thinking that because of tal:attributes the frontpage will execute
> because it calls the same link as the above example. So, how do I get
> the second page to only execute the code.
> Thanks,
>  Laura 
> _______________________________________________
> Zope-DB mailing list
> Zope-DB at zope.org
> http://mail.zope.org/mailman/listinfo/zope-db

-- -------------------------------------------------------------------
Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech.

More information about the Zope-DB mailing list