[Zope-dev] Simple Question
jawad haider
jawadh@hotmail.com
Wed, 23 May 2001 10:35:46
<html><DIV>Hi:</DIV>
<DIV>I have recently started exploring zope and I want to develop this simple thing:</DIV>
<DIV>A search form and when somebody presses the submit button after specifying the search criteria, I want </DIV>
<DIV>search results to be displayed on the same page below the the search criteria.</DIV>
<DIV> </DIV>
<DIV>Following is the piece of code,</DIV>
<DIV> </DIV>
<DIV><dtml-var standard_html_header><BR><form action= "dtFindCustomer"><BR><table><BR><tr><BR><th align="left">Name</th><BR><td><input type="text"name="name"></td><BR></tr><BR><tr><BR><th align="left"><em>Age</em></th><BR><td><input type="text"name="age"size="3"></td><BR></tr><BR></table><BR><input type="submit"value="Search Customer"><BR></form><BR></DIV>
<DIV> </DIV>
<DIV>
<DIV>Here dtFindCustomer is a DTML method which in turns call z sql method which performs actual search in the MY SQL DB. Any suggetions, links or references to acomplish this are welcome.</DIV></DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Jawad</DIV>
<DIV> </DIV>
<DIV> </DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html>