[Tutor] List Box for Web

2008-02-26 Thread Dinesh B Vadhia
I know this isn't the right forum to ask but I'll try as someone might know.

For my web application, I need a list box with a search capability.  An example 
is the Python documentation (hit the F1 key under Windows from IDLE) and 
specifically the Index list ie. context-sensitive search through a list of 
phrases, but for use on a web page. 

Does anyone know if there are any open source UI widgets for such a capability?

Any help/pointers appreciated. 

Dinesh___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] List Box for Web

2008-02-26 Thread Luciano Ramalho
On Wed, Feb 27, 2008 at 2:21 AM, Dinesh B Vadhia
[EMAIL PROTECTED] wrote:
 For my web application, I need a list box with a search capability.  An
 example is the Python documentation (hit the F1 key under Windows from IDLE)
 and specifically the Index list ie. context-sensitive search through a list
 of phrases, but for use on a web page.

 Does anyone know if there are any open source UI widgets for such a
 capability?

On the web, such functionality goes way beyond a mere widget, as it
requires communication between the client browser and a web server.
The server side of this is straightforward. It's the client that may
be complicated in case you want to give users immediate feedback as
they type. If that is so, you'd need to use AJAX.

Anyhow, because Python does not run in browsers, you will not find a
solution to this using only Python. I suggest you study how web apps
work and start playing with Python modules and frameworks for
server-side web programming. I'd start with the cgi module to make
sure you understand the basics before progressing to more
sophisticated and magical frameworks.

Cheers,

Luciano
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor