Sid Wunn

Greenhorn
+ Follow
since Dec 03, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sid Wunn

Hi, my situation pretty much mirror's Francis'. Any suggestions would be greatly appreciated.
TIA, Sid
Yes it was very helpful, thank you!
19 years ago
JSP
Thank you for your reply,
This is my problem. I've been tasked to create a template jsp page that other developers can use. The functionality that I'm working on presently is to dynamically create a combo box comprised of links to anchors in the page. The names located in the combo box will be comprised using the "name" attribute of the <a> tag. These anchors may appear on a developer's JSP page in a number of ways, including:
1) harcoding in specific places.
2) when using a custom jsp "Heading" tag that writes an html anchor
3) in a conditional loop, for example if 50 records are returned an anchor will be placed every 10 records.

Please let me know if this is enough information, I'm at a loss on how to accomplish it and I'm on a tight deadline.
Thanks,
Sid
19 years ago
JSP
Hi,
I'm new to JSP, although I do have some backend Java experience. The goal use a custom anchor tag, and then the JSP will automatically build a combo box using the values. Users can then select from the combo box and skip down to the respective anchor. Everything must be done on the client side using JSP and javascript. I'm assuming that I would create two custom JSP tags, a combobox and an anchor tag. The custom combobox would take the values from the 1-n number of anchor tags and build the list when the page loads. The custom anchor would replace the html code:
<a name="anchor1">
Therefore I would create a custom tag, e.g., AnchorTag.java, and place it on the page as follows to replace the above html code:
<myTags:anchor value="anchor1>"
Am I approaching this in the correct manner? How do I get the combobox tag to communicate with the anchor tag? Where does JavaScript fit into all this? Any help would be greatly appreciated, thanks,
Sid
19 years ago
JSP