Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Using Form APIs to update one drop down box.
Pavan
I have one Option Box (Drop down list) which displays a list of 'Topics'.
I have another Option Box (Drop down list) which displays a list of 'SubTopics'.
When the user selects one Topic, I want to invoke a Java program which will connects to database, retrieves a list of Sub Topics for that Topic and populates the 'SubTopics' drop down list.
What approach should I follow for this problem?
Any suggestions will be highly appreciated. Any code samples will also be highly appreciated.
Thanks in advance !!
Pavan
Find more posts tagged with
Comments
Migrateduser
You might want to look at the userscript examples that come with TS5.5.2. The userscript/locations example does pretty much what you want to do. The only difference is that you would need to write your cgi as a java servlet or some other mechanism that runs on the server side (I don't think you can do what you are looking at with an applet in a dct).
In particular you are going to need to look at the callServer method provided (which the locations example uses):
http://TSSERVERNAME/iw/help/tst/formapi/formapi_21.html#SEC21
Edited by nacks on 11/19/02 07:41 AM (server time).