Hello

I have an architectural / design with Forms, JSP, and dependencies between
HTML Form Elements.

Can JSP help me with a spec rquirement?

I have a HTML Screen with two pulldowns <select>...</select>
Let's call the first pulldown "country" and fill it with

     { united kindom, france }

Let's call the second one "city" and fill with either

     `{ london, manchester, glasgow, cardiff, belfast }
or
     `{ paris, nice, lyon, marseille, bordeaux, grenoble, st etienne }
or
     whatever the selected item the first pulldown has.

See the problem ? Second pulldown depends on the first.

It is easy to write this as a static HTML web page if the data is static
and bind it with a little JavaScript.

But what if the values for the HTML Option element all come from a database.
I think you write some sort of OptionPulldownBean. But how do get these
beans depended on one another?
How would you write this requirement in JSP ( and the MVC pattern (sic) )?

Any ideas appreciated.

--
Peter Pilgrim
G.O.A.T
                    "The Greatest of All Time"



--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

___________________________________________________________________________
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