Re: [Zope-dev] Simple Question

2001-05-23 Thread jawad haider

How come no one is answering to my mail below. Is it too trivial or too complex or the people in the list is too busy ? Please respond if you have any clue/suggetion.

From: "jawad haider" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] 
Subject: [Zope-dev] Simple Question 
Date: Wed, 23 May 2001 10:35:46 
 

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Hi:
I have recently started exploring zope and I want to develop this simple thing:
A search form and whensomebody presses the submit button afterspecifying  the search criteria, I want 
search results to be displayed on the same page below the the search criteria.

Following is the piece of code,

dtml-var standard_html_headerform action= "dtFindCustomer"tabletrth align="left"Name/thtdinput type="text"name="name"/td/trtrth align="left"emAge/em/thtdinput type="text"name="age"size="3"/td/tr/tableinput type="submit"value="Search Customer"/form


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.

Regards
Jawad

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Simple Question

2001-05-23 Thread jawad haider

Hi:
Thanks for your response. 
I wanted to make a search form in which search criteria and search result will appear on the same page e.g.search criteria on the top and when the submit button is pressed the list of search results should be displayed in the bottom of the page.
But when I try to accomplish this using the following code the search results are displayed on a separate page. 
Following is the piece of code,

dtml-var standard_html_headerform action= "dtFindCustomer"tabletrth align="left"Name/thtdinput type="text"name="name"/td/trtrth align="left"emAge/em/thtdinput type="text"name="age"size="3"/td/tr/tableinput type="submit"value="Search Customer"/form


Here dtFindCustomer is a DTML method which in turn call z sql method which performs actual search in the MY SQL DB. The control is transfered to the next page when the form action method is called. 

HOW CAN i redirect the control on the same page and get the results returned to the same page  and displayed on this same page ?

Hope I am able to explain my question this time.

Regards
Jawad



From: "Andreas Jung" <[EMAIL PROTECTED]>
To: "jawad haider" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: [Zope-dev] Simple Question 
Date: Wed, 23 May 2001 15:00:44 -0400 
 
After reading your description I don't know yet what your real 
problem or question is ?! 
 
Andreas 
 
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )