somehow you have to make a http call to get the data. If it is not through
an applet, the other two options are through an activeX control or multiple
frames.

but again, preloading hundreds of records will cause the browser to timeout
or the
user will simply click back or refresh button. In the case of frames or
applets
you can display a message to tell the user to wait.

One example can be seen in the hotmail registration form. The state list is
loaded
based on the country selected. In this case, the entire page is refreshed.

Ultimately it comes down to two issues

1. Simple to code and understand
2. User friendly

comments are welcome.

Thanks,
Nagaraj.

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Godbey, David
Sent: Wednesday, November 29, 2000 4:39 PM
To: [EMAIL PROTECTED]
Subject: Re: Strategies for dependent multiple selectors on a single
page


Do you mean that you would make round trips to the server (and database) to
populate the different frames based on selections made to the higher order
frames?

Some folks here contend that round trips to the server should always be
avoided if possible. I'm not sure that is always necessary - do you?
Thanks,
Dave

-----Original Message-----
From: G.Nagarajan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 10:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Strategies for dependent multiple selectors on a single
page


maybe four frames with a select box in each. Through javascript you can
reset the location of each frame sending the conditions with the href.

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Godbey, David
Sent: Wednesday, November 29, 2000 4:03 PM
To: [EMAIL PROTECTED]
Subject: Strategies for dependent multiple selectors on a single page


Situation:
Single web page. User is presented with a select box, and based on the
selection made there, a second box is populated, and then possibly a third.

I have some code from a previous project where the servlet runs three select
statements, and constructs JavaScript with the data organized in
multidimensional JS arrays. This gives the user the ability to run cascading
"queries" client side.

This works, but is kind of ugly. Does anyone have a better way outside of
applets?
Thanks,
Dave

----------------------------------------------------------------------
Dave Godbey
Senior Developer
SAIC
Phone: (410) 671-6925

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to