how to put form and display its result(data from database) on the same window?
timr at probo.com
Sat Dec 10 09:11:25 CET 2005
Peter Hansen <peter at engcorp.com> wrote:
>lli at sos.state.tx.us wrote:
>> I have designed a web application. In its one window I put a form. User
>> can click submit button of this form to run a pathon script to get data
>> from database. Then User get a new window which display the result. Now
>> I want to put the form and display data on the same window. How I can
>> do this?
>The most modern approach to this, and one which appears to be evolving
>into a defacto standard, is AJAX (see http://en.wikipedia.org/wiki/AJAX
>It's a non-trivial solution to your problem, however, at least in terms
>of the learning curve involved.
It's also a serious case of overkill for the rather simple problem he
presented. All he needs is one function to create the form, and one
function to create the results, and do:
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list